Class V1ScaleIOVolumeSource
java.lang.Object
io.micronaut.kubernetes.client.openapi.model.V1ScaleIOVolumeSource
@Generated("io.micronaut.openapi.generator.JavaMicronautClientCodegen")
public class V1ScaleIOVolumeSource
extends Object
ScaleIOVolumeSource represents a persistent ScaleIO volume
-
Field Summary
-
Constructor Summary
ConstructorDescriptionV1ScaleIOVolumeSource
(String gateway, V1LocalObjectReference secretRef, String system) -
Method Summary
Modifier and TypeMethodDescriptionboolean
Set fsType in a chainable fashion.Set gateway in a chainable fashion.fsType is the filesystem type to mount.gateway is the host address of the ScaleIO API Gateway.protectionDomain is the name of the ScaleIO Protection Domain for the configured storage.readOnly Defaults to false (read/write).sslEnabled Flag enable/disable SSL communication with Gateway, default falsestorageMode indicates whether the storage for a volume should be ThickProvisioned or ThinProvisioned.storagePool is the ScaleIO Storage Pool associated with the protection domain.system is the name of the storage system as configured in ScaleIO.volumeName is the name of a volume already created in the ScaleIO system that is associated with this volume source.int
hashCode()
protectionDomain
(String protectionDomain) Set protectionDomain in a chainable fashion.Set readOnly in a chainable fashion.secretRef
(V1LocalObjectReference secretRef) Set secretRef in a chainable fashion.void
Set the fsType property valuevoid
setGateway
(String gateway) Set the gateway property valuevoid
setProtectionDomain
(String protectionDomain) Set the protectionDomain property valuevoid
setReadOnly
(Boolean readOnly) Set the readOnly property valuevoid
setSecretRef
(V1LocalObjectReference secretRef) Set the secretRef property valuevoid
setSslEnabled
(Boolean sslEnabled) Set the sslEnabled property valuevoid
setStorageMode
(String storageMode) Set the storageMode property valuevoid
setStoragePool
(String storagePool) Set the storagePool property valuevoid
Set the system property valuevoid
setVolumeName
(String volumeName) Set the volumeName property valuesslEnabled
(Boolean sslEnabled) Set sslEnabled in a chainable fashion.storageMode
(String storageMode) Set storageMode in a chainable fashion.storagePool
(String storagePool) Set storagePool in a chainable fashion.Set system in a chainable fashion.toString()
volumeName
(String volumeName) Set volumeName in a chainable fashion.
-
Field Details
-
JSON_PROPERTY_GATEWAY
- See Also:
-
JSON_PROPERTY_SECRET_REF
- See Also:
-
JSON_PROPERTY_SYSTEM
- See Also:
-
JSON_PROPERTY_FS_TYPE
- See Also:
-
JSON_PROPERTY_PROTECTION_DOMAIN
- See Also:
-
JSON_PROPERTY_READ_ONLY
- See Also:
-
JSON_PROPERTY_SSL_ENABLED
- See Also:
-
JSON_PROPERTY_STORAGE_MODE
- See Also:
-
JSON_PROPERTY_STORAGE_POOL
- See Also:
-
JSON_PROPERTY_VOLUME_NAME
- See Also:
-
-
Constructor Details
-
V1ScaleIOVolumeSource
-
-
Method Details
-
getGateway
gateway is the host address of the ScaleIO API Gateway.- Returns:
- the gateway property value
-
setGateway
Set the gateway property value- Parameters:
gateway
- property value to set
-
gateway
Set gateway in a chainable fashion.- Returns:
- The same instance of V1ScaleIOVolumeSource for chaining.
-
getSecretRef
- Returns:
- the secretRef property value
-
setSecretRef
Set the secretRef property value- Parameters:
secretRef
- property value to set
-
secretRef
Set secretRef in a chainable fashion.- Returns:
- The same instance of V1ScaleIOVolumeSource for chaining.
-
getSystem
system is the name of the storage system as configured in ScaleIO.- Returns:
- the system property value
-
setSystem
Set the system property value- Parameters:
system
- property value to set
-
system
Set system in a chainable fashion.- Returns:
- The same instance of V1ScaleIOVolumeSource for chaining.
-
getFsType
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:
- the fsType property value
-
setFsType
Set the fsType property value- Parameters:
fsType
- property value to set
-
fsType
Set fsType in a chainable fashion.- Returns:
- The same instance of V1ScaleIOVolumeSource for chaining.
-
getProtectionDomain
protectionDomain is the name of the ScaleIO Protection Domain for the configured storage.- Returns:
- the protectionDomain property value
-
setProtectionDomain
Set the protectionDomain property value- Parameters:
protectionDomain
- property value to set
-
protectionDomain
Set protectionDomain in a chainable fashion.- Returns:
- The same instance of V1ScaleIOVolumeSource for chaining.
-
getReadOnly
readOnly Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.- Returns:
- the readOnly property value
-
setReadOnly
Set the readOnly property value- Parameters:
readOnly
- property value to set
-
readOnly
Set readOnly in a chainable fashion.- Returns:
- The same instance of V1ScaleIOVolumeSource for chaining.
-
getSslEnabled
sslEnabled Flag enable/disable SSL communication with Gateway, default false- Returns:
- the sslEnabled property value
-
setSslEnabled
Set the sslEnabled property value- Parameters:
sslEnabled
- property value to set
-
sslEnabled
Set sslEnabled in a chainable fashion.- Returns:
- The same instance of V1ScaleIOVolumeSource for chaining.
-
getStorageMode
storageMode indicates whether the storage for a volume should be ThickProvisioned or ThinProvisioned. Default is ThinProvisioned.- Returns:
- the storageMode property value
-
setStorageMode
Set the storageMode property value- Parameters:
storageMode
- property value to set
-
storageMode
Set storageMode in a chainable fashion.- Returns:
- The same instance of V1ScaleIOVolumeSource for chaining.
-
getStoragePool
storagePool is the ScaleIO Storage Pool associated with the protection domain.- Returns:
- the storagePool property value
-
setStoragePool
Set the storagePool property value- Parameters:
storagePool
- property value to set
-
storagePool
Set storagePool in a chainable fashion.- Returns:
- The same instance of V1ScaleIOVolumeSource for chaining.
-
getVolumeName
volumeName is the name of a volume already created in the ScaleIO system that is associated with this volume source.- Returns:
- the volumeName property value
-
setVolumeName
Set the volumeName property value- Parameters:
volumeName
- property value to set
-
volumeName
Set volumeName in a chainable fashion.- Returns:
- The same instance of V1ScaleIOVolumeSource for chaining.
-
equals
-
hashCode
public int hashCode() -
toString
-