Class V1VolumeAttachmentStatus
java.lang.Object
io.kubernetes.client.openapi.models.V1VolumeAttachmentStatus
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2024-02-02T21:37:40.170033Z[Etc/UTC]")
public class V1VolumeAttachmentStatus
extends Object
VolumeAttachmentStatus is the status of a VolumeAttachment request.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionattachError
(V1VolumeError attachError) attachmentMetadata
(Map<String, String> attachmentMetadata) detachError
(V1VolumeError detachError) boolean
attached indicates the volume is successfully attached.Get attachErrorattachmentMetadata is populated with any information returned by the attach operation, upon successful attach, that must be passed into subsequent WaitForAttach or Mount calls.Get detachErrorint
hashCode()
putAttachmentMetadataItem
(String key, String attachmentMetadataItem) void
setAttached
(Boolean attached) void
setAttachError
(V1VolumeError attachError) void
setAttachmentMetadata
(Map<String, String> attachmentMetadata) void
setDetachError
(V1VolumeError detachError) toString()
-
Field Details
-
SERIALIZED_NAME_ATTACH_ERROR
- See Also:
-
SERIALIZED_NAME_ATTACHED
- See Also:
-
SERIALIZED_NAME_ATTACHMENT_METADATA
- See Also:
-
SERIALIZED_NAME_DETACH_ERROR
- See Also:
-
-
Constructor Details
-
V1VolumeAttachmentStatus
public V1VolumeAttachmentStatus()
-
-
Method Details
-
attachError
-
getAttachError
Get attachError- Returns:
- attachError
-
setAttachError
-
attached
-
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:
- attached
-
setAttached
-
attachmentMetadata
-
putAttachmentMetadataItem
public V1VolumeAttachmentStatus putAttachmentMetadataItem(String key, String attachmentMetadataItem) -
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:
- attachmentMetadata
-
setAttachmentMetadata
-
detachError
-
getDetachError
Get detachError- Returns:
- detachError
-
setDetachError
-
equals
-
hashCode
public int hashCode() -
toString
-