public Optional<Output<VolumeErrorArgs>> attachError() {
        return Optional.ofNullable(this.attachError);
    }
@return The last error encountered during attach operation, if any. This field must only be set by the entity completing the attach operation, i.e. the external-attacher.
sdk/java/src/main/java/com/pulumi/kubernetes/storage/v1alpha1/inputs/VolumeAttachmentStatusArgs.java