Class ScaleIOVolumeSource.Builder
- java.lang.Object
-
- com.marcnuri.yakc.model.io.k8s.api.core.v1.ScaleIOVolumeSource.Builder
-
- Enclosing class:
- ScaleIOVolumeSource
public static class ScaleIOVolumeSource.Builder extends java.lang.Object
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ScaleIOVolumeSource
build()
ScaleIOVolumeSource.Builder
fsType(java.lang.String fsType)
fsType is the filesystem type to mount.ScaleIOVolumeSource.Builder
gateway(@NonNull java.lang.String gateway)
gateway is the host address of the ScaleIO API Gateway.ScaleIOVolumeSource.Builder
protectionDomain(java.lang.String protectionDomain)
protectionDomain is the name of the ScaleIO Protection Domain for the configured storage.ScaleIOVolumeSource.Builder
readOnly(java.lang.Boolean readOnly)
readOnly Defaults to false (read/write).ScaleIOVolumeSource.Builder
secretRef(@NonNull LocalObjectReference secretRef)
ScaleIOVolumeSource.Builder
sslEnabled(java.lang.Boolean sslEnabled)
sslEnabled Flag enable/disable SSL communication with Gateway, default falseScaleIOVolumeSource.Builder
storageMode(java.lang.String storageMode)
storageMode indicates whether the storage for a volume should be ThickProvisioned or ThinProvisioned.ScaleIOVolumeSource.Builder
storagePool(java.lang.String storagePool)
storagePool is the ScaleIO Storage Pool associated with the protection domain.ScaleIOVolumeSource.Builder
system(@NonNull java.lang.String system)
system is the name of the storage system as configured in ScaleIO.java.lang.String
toString()
ScaleIOVolumeSource.Builder
volumeName(java.lang.String volumeName)
volumeName is the name of a volume already created in the ScaleIO system that is associated with this volume source.
-
-
-
Method Detail
-
fsType
public ScaleIOVolumeSource.Builder fsType(java.lang.String fsType)
fsType is the filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. "ext4", "xfs", "ntfs". Default is "xfs".- Returns:
this
.
-
gateway
public ScaleIOVolumeSource.Builder gateway(@NonNull @NonNull java.lang.String gateway)
gateway is the host address of the ScaleIO API Gateway.- Returns:
this
.
-
protectionDomain
public ScaleIOVolumeSource.Builder protectionDomain(java.lang.String protectionDomain)
protectionDomain is the name of the ScaleIO Protection Domain for the configured storage.- Returns:
this
.
-
readOnly
public ScaleIOVolumeSource.Builder readOnly(java.lang.Boolean readOnly)
readOnly Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.- Returns:
this
.
-
secretRef
public ScaleIOVolumeSource.Builder secretRef(@NonNull @NonNull LocalObjectReference secretRef)
- Returns:
this
.
-
sslEnabled
public ScaleIOVolumeSource.Builder sslEnabled(java.lang.Boolean sslEnabled)
sslEnabled Flag enable/disable SSL communication with Gateway, default false- Returns:
this
.
-
storageMode
public ScaleIOVolumeSource.Builder storageMode(java.lang.String storageMode)
storageMode indicates whether the storage for a volume should be ThickProvisioned or ThinProvisioned. Default is ThinProvisioned.- Returns:
this
.
-
storagePool
public ScaleIOVolumeSource.Builder storagePool(java.lang.String storagePool)
storagePool is the ScaleIO Storage Pool associated with the protection domain.- Returns:
this
.
-
system
public ScaleIOVolumeSource.Builder system(@NonNull @NonNull java.lang.String system)
system is the name of the storage system as configured in ScaleIO.- Returns:
this
.
-
volumeName
public ScaleIOVolumeSource.Builder volumeName(java.lang.String volumeName)
volumeName is the name of a volume already created in the ScaleIO system that is associated with this volume source.- Returns:
this
.
-
build
public ScaleIOVolumeSource build()
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-