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 Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionattachError
(V1VolumeError attachError) attachmentMetadata
(Map<String, String> attachmentMetadata) detachError
(V1VolumeError detachError) boolean
Indicates the volume is successfully attached.Get attachErrorUpon successful attach, this field is populated with any information returned by the attach operation 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
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
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
-
detachError
-
getDetachError
Get detachError- Returns:
- detachError
-
setDetachError
-
equals
-
hashCode
public int hashCode() -
toString
-