public VolumeAttachmentStatusArgs build() {
            if ($.attached == null) {
                throw new MissingRequiredPropertyException("VolumeAttachmentStatusArgs", "attached");
            }
            return $;
        }
@param detachError The last error encountered during detach operation, if any. This field must only be set by the entity completing the detach operation, i.e. the external-attacher.

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