Class V1ScaleIOPersistentVolumeSource
java.lang.Object
io.kubernetes.client.openapi.models.V1ScaleIOPersistentVolumeSource
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2024-04-23T13:45:09.091597Z[Etc/UTC]")
public class V1ScaleIOPersistentVolumeSource
extends Object
ScaleIOPersistentVolumeSource represents a persistent ScaleIO volume
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
Create an instance of V1ScaleIOPersistentVolumeSource given an JSON stringfsType 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).Get secretRefsslEnabled is the flag to 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) secretRef
(V1SecretReference secretRef) void
void
setGateway
(String gateway) void
setProtectionDomain
(String protectionDomain) void
setReadOnly
(Boolean readOnly) void
setSecretRef
(V1SecretReference secretRef) void
setSslEnabled
(Boolean sslEnabled) void
setStorageMode
(String storageMode) void
setStoragePool
(String storagePool) void
void
setVolumeName
(String volumeName) sslEnabled
(Boolean sslEnabled) storageMode
(String storageMode) storagePool
(String storagePool) toJson()
Convert an instance of V1ScaleIOPersistentVolumeSource to an JSON stringtoString()
static void
validateJsonObject
(com.google.gson.JsonObject jsonObj) Validates the JSON Object and throws an exception if issues foundvolumeName
(String volumeName)
-
Field Details
-
SERIALIZED_NAME_FS_TYPE
- See Also:
-
SERIALIZED_NAME_GATEWAY
- See Also:
-
SERIALIZED_NAME_PROTECTION_DOMAIN
- See Also:
-
SERIALIZED_NAME_READ_ONLY
- See Also:
-
SERIALIZED_NAME_SECRET_REF
- See Also:
-
SERIALIZED_NAME_SSL_ENABLED
- See Also:
-
SERIALIZED_NAME_STORAGE_MODE
- See Also:
-
SERIALIZED_NAME_STORAGE_POOL
- See Also:
-
SERIALIZED_NAME_SYSTEM
- See Also:
-
SERIALIZED_NAME_VOLUME_NAME
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
V1ScaleIOPersistentVolumeSource
public V1ScaleIOPersistentVolumeSource()
-
-
Method Details
-
fsType
-
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:
- fsType
-
setFsType
-
gateway
-
getGateway
gateway is the host address of the ScaleIO API Gateway.- Returns:
- gateway
-
setGateway
-
protectionDomain
-
getProtectionDomain
protectionDomain is the name of the ScaleIO Protection Domain for the configured storage.- Returns:
- protectionDomain
-
setProtectionDomain
-
readOnly
-
getReadOnly
readOnly defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.- Returns:
- readOnly
-
setReadOnly
-
secretRef
-
getSecretRef
Get secretRef- Returns:
- secretRef
-
setSecretRef
-
sslEnabled
-
getSslEnabled
sslEnabled is the flag to enable/disable SSL communication with Gateway, default false- Returns:
- sslEnabled
-
setSslEnabled
-
storageMode
-
getStorageMode
storageMode indicates whether the storage for a volume should be ThickProvisioned or ThinProvisioned. Default is ThinProvisioned.- Returns:
- storageMode
-
setStorageMode
-
storagePool
-
getStoragePool
storagePool is the ScaleIO Storage Pool associated with the protection domain.- Returns:
- storagePool
-
setStoragePool
-
system
-
getSystem
system is the name of the storage system as configured in ScaleIO.- Returns:
- system
-
setSystem
-
volumeName
-
getVolumeName
volumeName is the name of a volume already created in the ScaleIO system that is associated with this volume source.- Returns:
- volumeName
-
setVolumeName
-
equals
-
hashCode
public int hashCode() -
toString
-
validateJsonObject
Validates the JSON Object and throws an exception if issues found- Parameters:
jsonObj
- JSON Object- Throws:
IOException
- if the JSON Object is invalid with respect to V1ScaleIOPersistentVolumeSource
-
fromJson
Create an instance of V1ScaleIOPersistentVolumeSource given an JSON string- Parameters:
jsonString
- JSON string- Returns:
- An instance of V1ScaleIOPersistentVolumeSource
- Throws:
IOException
- if the JSON string is invalid with respect to V1ScaleIOPersistentVolumeSource
-
toJson
Convert an instance of V1ScaleIOPersistentVolumeSource to an JSON string- Returns:
- JSON string
-