Class V1VolumeAttachmentStatus

java.lang.Object
io.kubernetes.client.openapi.models.V1VolumeAttachmentStatus

@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2022-12-05T08:14:34.919Z[Etc/UTC]") public class V1VolumeAttachmentStatus extends Object
VolumeAttachmentStatus is the status of a VolumeAttachment request.
  • Field Details

  • Constructor Details

    • V1VolumeAttachmentStatus

      public V1VolumeAttachmentStatus()
  • Method Details

    • attachError

      public V1VolumeAttachmentStatus attachError(V1VolumeError attachError)
    • getAttachError

      @Nullable public V1VolumeError getAttachError()
      Get attachError
      Returns:
      attachError
    • setAttachError

      public void setAttachError(V1VolumeError attachError)
    • attached

      public V1VolumeAttachmentStatus attached(Boolean attached)
    • getAttached

      public 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.
      Returns:
      attached
    • setAttached

      public void setAttached(Boolean attached)
    • attachmentMetadata

      public V1VolumeAttachmentStatus attachmentMetadata(Map<String,String> attachmentMetadata)
    • putAttachmentMetadataItem

      public V1VolumeAttachmentStatus putAttachmentMetadataItem(String key, String attachmentMetadataItem)
    • getAttachmentMetadata

      @Nullable public Map<String,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.
      Returns:
      attachmentMetadata
    • setAttachmentMetadata

      public void setAttachmentMetadata(Map<String,String> attachmentMetadata)
    • detachError

      public V1VolumeAttachmentStatus detachError(V1VolumeError detachError)
    • getDetachError

      @Nullable public V1VolumeError getDetachError()
      Get detachError
      Returns:
      detachError
    • setDetachError

      public void setDetachError(V1VolumeError detachError)
    • 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