public Optional<String> resource() {
        return Optional.ofNullable(this.resource);
    }
@return The name of the resource.
sdk/java/src/main/java/com/pulumi/kubernetes/storagemigration/v1alpha1/outputs/GroupVersionResourcePatch.java