Class V1VolumeAttachmentStatus
java.lang.Object
io.kubernetes.client.openapi.models.V1VolumeAttachmentStatus
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2025-02-12T21:15:49.397498Z[Etc/UTC]",
comments="Generator version: 7.6.0")
public class V1VolumeAttachmentStatus
extends Object
VolumeAttachmentStatus is the status of a VolumeAttachment request.
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionattachError
(V1VolumeError attachError) attachmentMetadata
(Map<String, String> attachmentMetadata) detachError
(V1VolumeError detachError) boolean
static V1VolumeAttachmentStatus
Create an instance of V1VolumeAttachmentStatus given an JSON stringattached 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) toJson()
Convert an instance of V1VolumeAttachmentStatus to an JSON stringtoString()
static void
validateJsonElement
(com.google.gson.JsonElement jsonElement) Validates the JSON Element and throws an exception if issues found
-
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:
-
openapiFields
-
openapiRequiredFields
-
-
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
-
validateJsonElement
Validates the JSON Element and throws an exception if issues found- Parameters:
jsonElement
- JSON Element- Throws:
IOException
- if the JSON Element is invalid with respect to V1VolumeAttachmentStatus
-
fromJson
Create an instance of V1VolumeAttachmentStatus given an JSON string- Parameters:
jsonString
- JSON string- Returns:
- An instance of V1VolumeAttachmentStatus
- Throws:
IOException
- if the JSON string is invalid with respect to V1VolumeAttachmentStatus
-
toJson
Convert an instance of V1VolumeAttachmentStatus to an JSON string- Returns:
- JSON string
-