Class PortworxVolumeSource.Builder
- java.lang.Object
-
- com.marcnuri.yakc.model.io.k8s.api.core.v1.PortworxVolumeSource.Builder
-
- Enclosing class:
- PortworxVolumeSource
public static class PortworxVolumeSource.Builder extends java.lang.Object
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PortworxVolumeSource
build()
PortworxVolumeSource.Builder
fsType(java.lang.String fsType)
FSType represents the filesystem type to mount Must be a filesystem type supported by the host operating system.PortworxVolumeSource.Builder
readOnly(java.lang.Boolean readOnly)
Defaults to false (read/write).java.lang.String
toString()
PortworxVolumeSource.Builder
volumeID(@NonNull java.lang.String volumeID)
VolumeID uniquely identifies a Portworx volume
-
-
-
Method Detail
-
fsType
public PortworxVolumeSource.Builder fsType(java.lang.String fsType)
FSType represents the filesystem type to mount Must be a filesystem type supported by the host operating system. Ex. "ext4", "xfs". Implicitly inferred to be "ext4" if unspecified.- Returns:
this
.
-
readOnly
public PortworxVolumeSource.Builder readOnly(java.lang.Boolean readOnly)
Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.- Returns:
this
.
-
volumeID
public PortworxVolumeSource.Builder volumeID(@NonNull @NonNull java.lang.String volumeID)
VolumeID uniquely identifies a Portworx volume- Returns:
this
.
-
build
public PortworxVolumeSource build()
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-