Class VolumeAttachmentStatus

  • All Implemented Interfaces:
    com.marcnuri.yakc.model.Model

    public class VolumeAttachmentStatus
    extends java.lang.Object
    implements com.marcnuri.yakc.model.Model
    VolumeAttachmentStatus is the status of a VolumeAttachment request.
    • Constructor Detail

      • VolumeAttachmentStatus

        public VolumeAttachmentStatus​(VolumeError attachError,
                                      @NonNull
                                      @NonNull java.lang.Boolean attached,
                                      java.util.Map<java.lang.String,​java.lang.String> attachmentMetadata,
                                      VolumeError detachError)
      • VolumeAttachmentStatus

        public VolumeAttachmentStatus()
    • Method Detail

      • getAttached

        @NonNull
        public @NonNull java.lang.Boolean getAttached()
        Indicates the volume is successfully attached. This field must only be set by the entity completing the attach operation, i.e. the external-attacher.
      • getAttachmentMetadata

        public java.util.Map<java.lang.String,​java.lang.String> getAttachmentMetadata()
        Upon successful attach, this field is populated with any information returned by the attach operation that must be passed into subsequent WaitForAttach or Mount calls. This field must only be set by the entity completing the attach operation, i.e. the external-attacher.
      • setAttachError

        public void setAttachError​(VolumeError attachError)
      • setAttached

        public void setAttached​(@NonNull
                                @NonNull java.lang.Boolean attached)
        Indicates the volume is successfully attached. This field must only be set by the entity completing the attach operation, i.e. the external-attacher.
      • setAttachmentMetadata

        public void setAttachmentMetadata​(java.util.Map<java.lang.String,​java.lang.String> attachmentMetadata)
        Upon successful attach, this field is populated with any information returned by the attach operation that must be passed into subsequent WaitForAttach or Mount calls. This field must only be set by the entity completing the attach operation, i.e. the external-attacher.
      • setDetachError

        public void setDetachError​(VolumeError detachError)
      • equals

        public boolean equals​(java.lang.Object o)
        Overrides:
        equals in class java.lang.Object
      • canEqual

        protected boolean canEqual​(java.lang.Object other)
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object