@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2020-07-29T18:17:00.375Z[Etc/UTC]") public class V1VolumeAttachmentStatus extends Object
Modifier and Type | Field and Description |
---|---|
static String |
SERIALIZED_NAME_ATTACH_ERROR |
static String |
SERIALIZED_NAME_ATTACHED |
static String |
SERIALIZED_NAME_ATTACHMENT_METADATA |
static String |
SERIALIZED_NAME_DETACH_ERROR |
Constructor and Description |
---|
V1VolumeAttachmentStatus() |
Modifier and Type | Method and Description |
---|---|
V1VolumeAttachmentStatus |
attached(Boolean attached) |
V1VolumeAttachmentStatus |
attachError(V1VolumeError attachError) |
V1VolumeAttachmentStatus |
attachmentMetadata(Map<String,String> attachmentMetadata) |
V1VolumeAttachmentStatus |
detachError(V1VolumeError detachError) |
boolean |
equals(Object o) |
Boolean |
getAttached()
Indicates the volume is successfully attached.
|
V1VolumeError |
getAttachError()
Get attachError
|
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.
|
V1VolumeError |
getDetachError()
Get detachError
|
int |
hashCode() |
V1VolumeAttachmentStatus |
putAttachmentMetadataItem(String key,
String attachmentMetadataItem) |
void |
setAttached(Boolean attached) |
void |
setAttachError(V1VolumeError attachError) |
void |
setAttachmentMetadata(Map<String,String> attachmentMetadata) |
void |
setDetachError(V1VolumeError detachError) |
String |
toString() |
public static final String SERIALIZED_NAME_ATTACH_ERROR
public static final String SERIALIZED_NAME_ATTACHED
public static final String SERIALIZED_NAME_ATTACHMENT_METADATA
public static final String SERIALIZED_NAME_DETACH_ERROR
public V1VolumeAttachmentStatus attachError(V1VolumeError attachError)
@Nullable public V1VolumeError getAttachError()
public void setAttachError(V1VolumeError attachError)
public V1VolumeAttachmentStatus attached(Boolean attached)
public Boolean getAttached()
public void setAttached(Boolean attached)
public V1VolumeAttachmentStatus attachmentMetadata(Map<String,String> attachmentMetadata)
public V1VolumeAttachmentStatus putAttachmentMetadataItem(String key, String attachmentMetadataItem)
@Nullable public Map<String,String> getAttachmentMetadata()
public V1VolumeAttachmentStatus detachError(V1VolumeError detachError)
@Nullable public V1VolumeError getDetachError()
public void setDetachError(V1VolumeError detachError)
Copyright © 2020. All rights reserved.