Class AttachedVolume
- java.lang.Object
-
- com.marcnuri.yakc.model.io.k8s.api.core.v1.AttachedVolume
-
- All Implemented Interfaces:
com.marcnuri.yakc.model.Model
public class AttachedVolume extends java.lang.Object implements com.marcnuri.yakc.model.Model
AttachedVolume describes a volume attached to a node
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
AttachedVolume.Builder
-
Constructor Summary
Constructors Constructor Description AttachedVolume()
AttachedVolume(@NonNull java.lang.String devicePath, @NonNull java.lang.String name)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static AttachedVolume.Builder
builder()
protected boolean
canEqual(java.lang.Object other)
boolean
equals(java.lang.Object o)
@NonNull java.lang.String
getDevicePath()
DevicePath represents the device path where the volume should be available@NonNull java.lang.String
getName()
Name of the attached volumeint
hashCode()
void
setDevicePath(@NonNull java.lang.String devicePath)
DevicePath represents the device path where the volume should be availablevoid
setName(@NonNull java.lang.String name)
Name of the attached volumeAttachedVolume.Builder
toBuilder()
java.lang.String
toString()
-
-
-
Method Detail
-
builder
public static AttachedVolume.Builder builder()
-
toBuilder
public AttachedVolume.Builder toBuilder()
-
getDevicePath
@NonNull public @NonNull java.lang.String getDevicePath()
DevicePath represents the device path where the volume should be available
-
getName
@NonNull public @NonNull java.lang.String getName()
Name of the attached volume
-
setDevicePath
public void setDevicePath(@NonNull @NonNull java.lang.String devicePath)
DevicePath represents the device path where the volume should be available
-
setName
public void setName(@NonNull @NonNull java.lang.String name)
Name of the attached volume
-
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
-
-