public Optional<String> resource() {
        return Optional.ofNullable(this.resource);
    }
@return Resource is the type of resource being referenced, for example &#34;pods&#34;.
sdk/java/src/main/java/com/pulumi/kubernetes/resource/v1alpha2/outputs/ResourceClaimConsumerReferencePatch.java