Class FlexPersistentVolumeSource
- java.lang.Object
-
- com.marcnuri.yakc.model.io.k8s.api.core.v1.FlexPersistentVolumeSource
-
- All Implemented Interfaces:
com.marcnuri.yakc.model.Model
public class FlexPersistentVolumeSource extends java.lang.Object implements com.marcnuri.yakc.model.Model
FlexPersistentVolumeSource represents a generic persistent volume resource that is provisioned/attached using an exec based plugin.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
FlexPersistentVolumeSource.Builder
-
Constructor Summary
Constructors Constructor Description FlexPersistentVolumeSource()
FlexPersistentVolumeSource(@NonNull java.lang.String driver, java.lang.String fsType, java.util.Map<java.lang.String,java.lang.String> options, java.lang.Boolean readOnly, SecretReference secretRef)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static FlexPersistentVolumeSource.Builder
builder()
protected boolean
canEqual(java.lang.Object other)
boolean
equals(java.lang.Object o)
@NonNull java.lang.String
getDriver()
Driver is the name of the driver to use for this volume.java.lang.String
getFsType()
Filesystem type to mount.java.util.Map<java.lang.String,java.lang.String>
getOptions()
Optional: Extra command options if any.java.lang.Boolean
getReadOnly()
Optional: Defaults to false (read/write).SecretReference
getSecretRef()
int
hashCode()
void
setDriver(@NonNull java.lang.String driver)
Driver is the name of the driver to use for this volume.void
setFsType(java.lang.String fsType)
Filesystem type to mount.void
setOptions(java.util.Map<java.lang.String,java.lang.String> options)
Optional: Extra command options if any.void
setReadOnly(java.lang.Boolean readOnly)
Optional: Defaults to false (read/write).void
setSecretRef(SecretReference secretRef)
FlexPersistentVolumeSource.Builder
toBuilder()
java.lang.String
toString()
-
-
-
Constructor Detail
-
FlexPersistentVolumeSource
public FlexPersistentVolumeSource(@NonNull @NonNull java.lang.String driver, java.lang.String fsType, java.util.Map<java.lang.String,java.lang.String> options, java.lang.Boolean readOnly, SecretReference secretRef)
-
FlexPersistentVolumeSource
public FlexPersistentVolumeSource()
-
-
Method Detail
-
builder
public static FlexPersistentVolumeSource.Builder builder()
-
toBuilder
public FlexPersistentVolumeSource.Builder toBuilder()
-
getDriver
@NonNull public @NonNull java.lang.String getDriver()
Driver is the name of the driver to use for this volume.
-
getFsType
public java.lang.String getFsType()
Filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. "ext4", "xfs", "ntfs". The default filesystem depends on FlexVolume script.
-
getOptions
public java.util.Map<java.lang.String,java.lang.String> getOptions()
Optional: Extra command options if any.
-
getReadOnly
public java.lang.Boolean getReadOnly()
Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.
-
getSecretRef
public SecretReference getSecretRef()
-
setDriver
public void setDriver(@NonNull @NonNull java.lang.String driver)
Driver is the name of the driver to use for this volume.
-
setFsType
public void setFsType(java.lang.String fsType)
Filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. "ext4", "xfs", "ntfs". The default filesystem depends on FlexVolume script.
-
setOptions
public void setOptions(java.util.Map<java.lang.String,java.lang.String> options)
Optional: Extra command options if any.
-
setReadOnly
public void setReadOnly(java.lang.Boolean readOnly)
Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.
-
setSecretRef
public void setSecretRef(SecretReference secretRef)
-
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
-
-