public VolumeAttachmentStatus build() {
            final var _resultValue = new VolumeAttachmentStatus();
            _resultValue.attachError = attachError;
            _resultValue.attached = attached;
            _resultValue.attachmentMetadata = attachmentMetadata;
            _resultValue.detachError = detachError;
            return _resultValue;
        }
@return 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.
sdk/java/src/main/java/com/pulumi/kubernetes/storage/v1alpha1/outputs/VolumeAttachmentStatus.java