Class LocalVolumeSource
- java.lang.Object
-
- com.marcnuri.yakc.model.io.k8s.api.core.v1.LocalVolumeSource
-
- All Implemented Interfaces:
com.marcnuri.yakc.model.Model
public class LocalVolumeSource extends java.lang.Object implements com.marcnuri.yakc.model.Model
Local represents directly-attached storage with node affinity (Beta feature)
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
LocalVolumeSource.Builder
-
Constructor Summary
Constructors Constructor Description LocalVolumeSource()
LocalVolumeSource(java.lang.String fsType, @NonNull java.lang.String path)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static LocalVolumeSource.Builder
builder()
protected boolean
canEqual(java.lang.Object other)
boolean
equals(java.lang.Object o)
java.lang.String
getFsType()
Filesystem type to mount.@NonNull java.lang.String
getPath()
The full path to the volume on the node.int
hashCode()
void
setFsType(java.lang.String fsType)
Filesystem type to mount.void
setPath(@NonNull java.lang.String path)
The full path to the volume on the node.LocalVolumeSource.Builder
toBuilder()
java.lang.String
toString()
-
-
-
Method Detail
-
builder
public static LocalVolumeSource.Builder builder()
-
toBuilder
public LocalVolumeSource.Builder toBuilder()
-
getFsType
public java.lang.String getFsType()
Filesystem type to mount. It applies only when the Path is a block device. Must be a filesystem type supported by the host operating system. Ex. "ext4", "xfs", "ntfs". The default value is to auto-select a fileystem if unspecified.
-
getPath
@NonNull public @NonNull java.lang.String getPath()
The full path to the volume on the node. It can be either a directory or block device (disk, partition, ...).
-
setFsType
public void setFsType(java.lang.String fsType)
Filesystem type to mount. It applies only when the Path is a block device. Must be a filesystem type supported by the host operating system. Ex. "ext4", "xfs", "ntfs". The default value is to auto-select a fileystem if unspecified.
-
setPath
public void setPath(@NonNull @NonNull java.lang.String path)
The full path to the volume on the node. It can be either a directory or block device (disk, partition, ...).
-
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
-
-