@CustomType.Setter
        public Builder resource(GroupVersionResource resource) {
            if (resource == null) {
              throw new MissingRequiredPropertyException("StorageVersionMigrationSpec", "resource");
            }
            this.resource = resource;
            return this;
        }
@return The resource that is being migrated. The migrator sends requests to the endpoint serving the resource. Immutable.
sdk/java/src/main/java/com/pulumi/kubernetes/storagemigration/v1alpha1/outputs/StorageVersionMigrationSpec.java