Class VolumeAttachmentStatus
- java.lang.Object
-
- com.marcnuri.yakc.model.io.k8s.api.storage.v1alpha1.VolumeAttachmentStatus
-
- All Implemented Interfaces:
com.marcnuri.yakc.model.Model
public class VolumeAttachmentStatus extends java.lang.Object implements com.marcnuri.yakc.model.Model
VolumeAttachmentStatus is the status of a VolumeAttachment request.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
VolumeAttachmentStatus.Builder
-
Constructor Summary
Constructors Constructor Description VolumeAttachmentStatus()
VolumeAttachmentStatus(VolumeError attachError, @NonNull java.lang.Boolean attached, java.util.Map<java.lang.String,java.lang.String> attachmentMetadata, VolumeError detachError)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static VolumeAttachmentStatus.Builder
builder()
protected boolean
canEqual(java.lang.Object other)
boolean
equals(java.lang.Object o)
@NonNull java.lang.Boolean
getAttached()
Indicates the volume is successfully attached.VolumeError
getAttachError()
java.util.Map<java.lang.String,java.lang.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.VolumeError
getDetachError()
int
hashCode()
void
setAttached(@NonNull java.lang.Boolean attached)
Indicates the volume is successfully attached.void
setAttachError(VolumeError attachError)
void
setAttachmentMetadata(java.util.Map<java.lang.String,java.lang.String> attachmentMetadata)
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.void
setDetachError(VolumeError detachError)
VolumeAttachmentStatus.Builder
toBuilder()
java.lang.String
toString()
-
-
-
Constructor Detail
-
VolumeAttachmentStatus
public VolumeAttachmentStatus(VolumeError attachError, @NonNull @NonNull java.lang.Boolean attached, java.util.Map<java.lang.String,java.lang.String> attachmentMetadata, VolumeError detachError)
-
VolumeAttachmentStatus
public VolumeAttachmentStatus()
-
-
Method Detail
-
builder
public static VolumeAttachmentStatus.Builder builder()
-
toBuilder
public VolumeAttachmentStatus.Builder toBuilder()
-
getAttachError
public VolumeError getAttachError()
-
getAttached
@NonNull public @NonNull java.lang.Boolean 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.
-
getAttachmentMetadata
public java.util.Map<java.lang.String,java.lang.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. This field must only be set by the entity completing the attach operation, i.e. the external-attacher.
-
getDetachError
public VolumeError getDetachError()
-
setAttachError
public void setAttachError(VolumeError attachError)
-
setAttached
public void setAttached(@NonNull @NonNull java.lang.Boolean 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.
-
setAttachmentMetadata
public void setAttachmentMetadata(java.util.Map<java.lang.String,java.lang.String> attachmentMetadata)
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.
-
setDetachError
public void setDetachError(VolumeError detachError)
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals
in classjava.lang.Object
-
canEqual
protected boolean canEqual(java.lang.Object other)
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-