Class VolumeAttachmentSpec
- java.lang.Object
-
- com.marcnuri.yakc.model.io.k8s.api.storage.v1alpha1.VolumeAttachmentSpec
-
- All Implemented Interfaces:
com.marcnuri.yakc.model.Model
public class VolumeAttachmentSpec extends java.lang.Object implements com.marcnuri.yakc.model.Model
VolumeAttachmentSpec is the specification of a VolumeAttachment request.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
VolumeAttachmentSpec.Builder
-
Constructor Summary
Constructors Constructor Description VolumeAttachmentSpec()
VolumeAttachmentSpec(@NonNull java.lang.String attacher, @NonNull java.lang.String nodeName, @NonNull VolumeAttachmentSource source)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static VolumeAttachmentSpec.Builder
builder()
protected boolean
canEqual(java.lang.Object other)
boolean
equals(java.lang.Object o)
@NonNull java.lang.String
getAttacher()
Attacher indicates the name of the volume driver that MUST handle this request.@NonNull java.lang.String
getNodeName()
The node that the volume should be attached to.@NonNull VolumeAttachmentSource
getSource()
int
hashCode()
void
setAttacher(@NonNull java.lang.String attacher)
Attacher indicates the name of the volume driver that MUST handle this request.void
setNodeName(@NonNull java.lang.String nodeName)
The node that the volume should be attached to.void
setSource(@NonNull VolumeAttachmentSource source)
VolumeAttachmentSpec.Builder
toBuilder()
java.lang.String
toString()
-
-
-
Constructor Detail
-
VolumeAttachmentSpec
public VolumeAttachmentSpec(@NonNull @NonNull java.lang.String attacher, @NonNull @NonNull java.lang.String nodeName, @NonNull @NonNull VolumeAttachmentSource source)
-
VolumeAttachmentSpec
public VolumeAttachmentSpec()
-
-
Method Detail
-
builder
public static VolumeAttachmentSpec.Builder builder()
-
toBuilder
public VolumeAttachmentSpec.Builder toBuilder()
-
getAttacher
@NonNull public @NonNull java.lang.String getAttacher()
Attacher indicates the name of the volume driver that MUST handle this request. This is the name returned by GetPluginName().
-
getNodeName
@NonNull public @NonNull java.lang.String getNodeName()
The node that the volume should be attached to.
-
getSource
@NonNull public @NonNull VolumeAttachmentSource getSource()
-
setAttacher
public void setAttacher(@NonNull @NonNull java.lang.String attacher)
Attacher indicates the name of the volume driver that MUST handle this request. This is the name returned by GetPluginName().
-
setNodeName
public void setNodeName(@NonNull @NonNull java.lang.String nodeName)
The node that the volume should be attached to.
-
setSource
public void setSource(@NonNull @NonNull VolumeAttachmentSource source)
-
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
-
-