Class V1VolumeAttachmentStatus

java.lang.Object
io.micronaut.kubernetes.client.openapi.model.V1VolumeAttachmentStatus

@Generated("io.micronaut.openapi.generator.JavaMicronautClientCodegen") public class V1VolumeAttachmentStatus extends Object
VolumeAttachmentStatus is the status of a VolumeAttachment request.
  • Field Details

  • Constructor Details

    • V1VolumeAttachmentStatus

      public V1VolumeAttachmentStatus(Boolean attached)
  • Method Details

    • getAttachError

      public V1VolumeError getAttachError()
      Returns:
      the attachError property value
    • setAttachError

      public void setAttachError(V1VolumeError attachError)
      Set the attachError property value
    • attachError

      public V1VolumeAttachmentStatus attachError(V1VolumeError attachError)
      Set attachError in a chainable fashion.
      Returns:
      The same instance of V1VolumeAttachmentStatus for chaining.
    • getAttached

      public Boolean getAttached()
      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.
      Returns:
      the attached property value
    • setAttached

      public void setAttached(Boolean attached)
      Set the attached property value
    • attached

      public V1VolumeAttachmentStatus attached(Boolean attached)
      Set attached in a chainable fashion.
      Returns:
      The same instance of V1VolumeAttachmentStatus for chaining.
    • getAttachmentMetadata

      public Map<String,String> getAttachmentMetadata()
      attachmentMetadata is populated with any information returned by the attach operation, upon successful attach, 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.
      Returns:
      the attachmentMetadata property value
    • setAttachmentMetadata

      public void setAttachmentMetadata(Map<String,String> attachmentMetadata)
      Set the attachmentMetadata property value
    • attachmentMetadata

      public V1VolumeAttachmentStatus attachmentMetadata(Map<String,String> attachmentMetadata)
      Set attachmentMetadata in a chainable fashion.
      Returns:
      The same instance of V1VolumeAttachmentStatus for chaining.
    • putattachmentMetadataItem

      public V1VolumeAttachmentStatus putattachmentMetadataItem(String key, String attachmentMetadataItem)
      Set the value for the key for the attachmentMetadata map property in a chainable fashion.
      Returns:
      The same instance of V1VolumeAttachmentStatus for chaining.
    • getDetachError

      public V1VolumeError getDetachError()
      Returns:
      the detachError property value
    • setDetachError

      public void setDetachError(V1VolumeError detachError)
      Set the detachError property value
    • detachError

      public V1VolumeAttachmentStatus detachError(V1VolumeError detachError)
      Set detachError in a chainable fashion.
      Returns:
      The same instance of V1VolumeAttachmentStatus for chaining.
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

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

      public String toString()
      Overrides:
      toString in class Object