public Builder spec(@Nullable Output<ResourceSliceSpecPatchArgs> spec) {
            $.spec = spec;
            return this;
        }
@param spec Contains the information published by the driver.

Changing the spec automatically increments the metadata.generation number.

@return builder
sdk/java/src/main/java/com/pulumi/kubernetes/resource/v1beta2/ResourceSlicePatchArgs.java