public Optional<Output<TypedLocalObjectReferenceArgs>> resource() {
        return Optional.ofNullable(this.resource);
    }
@return Resource is an ObjectRef to another Kubernetes resource in the namespace of the Ingress object. If resource is specified, serviceName and servicePort must not be specified.
sdk/java/src/main/java/com/pulumi/kubernetes/networking/v1beta1/inputs/IngressBackendArgs.java