public Builder spec(@Nullable Output<VolumeAttachmentSpecPatchArgs> spec) {
            $.spec = spec;
            return this;
        }
@param spec spec represents specification of the desired attach/detach volume behavior. Populated by the Kubernetes system.

@return builder
sdk/java/src/main/java/com/pulumi/kubernetes/storage/v1/VolumeAttachmentPatchArgs.java