public VolumeAttachmentArgs build() {
            $.apiVersion = Codegen.stringProp("apiVersion").output().arg($.apiVersion).getNullable();
            $.kind = Codegen.stringProp("kind").output().arg($.kind).getNullable();
            if ($.spec == null) {
                throw new MissingRequiredPropertyException("VolumeAttachmentArgs", "spec");
            }
            return $;
        }
@param status Status of the VolumeAttachment request. Populated by the entity completing the attach or detach operation, i.e. the external-attacher.

@return builder
sdk/java/src/main/java/com/pulumi/kubernetes/storage/v1beta1/inputs/VolumeAttachmentArgs.java