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 Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionSet attached in a chainable fashion.attachError
(V1VolumeError attachError) Set attachError in a chainable fashion.attachmentMetadata
(Map<String, @NotNull String> attachmentMetadata) Set attachmentMetadata in a chainable fashion.detachError
(V1VolumeError detachError) Set detachError in a chainable fashion.boolean
attached indicates the volume is successfully attached.attachmentMetadata is populated with any information returned by the attach operation, upon successful attach, that must be passed into subsequent WaitForAttach or Mount calls.int
hashCode()
putattachmentMetadataItem
(String key, String attachmentMetadataItem) Set the value for the key for the attachmentMetadata map property in a chainable fashion.void
setAttached
(Boolean attached) Set the attached property valuevoid
setAttachError
(V1VolumeError attachError) Set the attachError property valuevoid
setAttachmentMetadata
(Map<String, @NotNull String> attachmentMetadata) Set the attachmentMetadata property valuevoid
setDetachError
(V1VolumeError detachError) Set the detachError property valuetoString()
-
Field Details
-
JSON_PROPERTY_ATTACHED
- See Also:
-
JSON_PROPERTY_ATTACH_ERROR
- See Also:
-
JSON_PROPERTY_ATTACHMENT_METADATA
- See Also:
-
JSON_PROPERTY_DETACH_ERROR
- See Also:
-
-
Constructor Details
-
V1VolumeAttachmentStatus
-
-
Method Details
-
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
Set the attached property value- Parameters:
attached
- property value to set
-
attached
Set attached in a chainable fashion.- Returns:
- The same instance of V1VolumeAttachmentStatus for chaining.
-
getAttachError
- Returns:
- the attachError property value
-
setAttachError
Set the attachError property value- Parameters:
attachError
- property value to set
-
attachError
Set attachError in a chainable fashion.- Returns:
- The same instance of V1VolumeAttachmentStatus for chaining.
-
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
Set the attachmentMetadata property value- Parameters:
attachmentMetadata
- property value to set
-
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
- Returns:
- the detachError property value
-
setDetachError
Set the detachError property value- Parameters:
detachError
- property value to set
-
detachError
Set detachError in a chainable fashion.- Returns:
- The same instance of V1VolumeAttachmentStatus for chaining.
-
equals
-
hashCode
public int hashCode() -
toString
-