Package io.fabric8.kubernetes.api.model
Class ScaleIOPersistentVolumeSource
- java.lang.Object
-
- io.fabric8.kubernetes.api.model.ScaleIOPersistentVolumeSource
-
- All Implemented Interfaces:
io.fabric8.kubernetes.api.builder.Editable<ScaleIOPersistentVolumeSourceBuilder>
,KubernetesResource
,Serializable
@Generated("io.fabric8.kubernetes.schema.generator.model.ModelGenerator") public class ScaleIOPersistentVolumeSource extends Object implements io.fabric8.kubernetes.api.builder.Editable<ScaleIOPersistentVolumeSourceBuilder>, KubernetesResource
ScaleIOPersistentVolumeSource represents a persistent ScaleIO volume- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ScaleIOPersistentVolumeSource()
No args constructor for use in serializationScaleIOPersistentVolumeSource(String fsType, String gateway, String protectionDomain, Boolean readOnly, SecretReference secretRef, Boolean sslEnabled, String storageMode, String storagePool, String system, String volumeName)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ScaleIOPersistentVolumeSourceBuilder
edit()
Map<String,Object>
getAdditionalProperties()
String
getFsType()
fsType is the filesystem type to mount.String
getGateway()
gateway is the host address of the ScaleIO API Gateway.String
getProtectionDomain()
protectionDomain is the name of the ScaleIO Protection Domain for the configured storage.Boolean
getReadOnly()
readOnly defaults to false (read/write).SecretReference
getSecretRef()
ScaleIOPersistentVolumeSource represents a persistent ScaleIO volumeBoolean
getSslEnabled()
sslEnabled is the flag to enable/disable SSL communication with Gateway, default falseString
getStorageMode()
storageMode indicates whether the storage for a volume should be ThickProvisioned or ThinProvisioned.String
getStoragePool()
storagePool is the ScaleIO Storage Pool associated with the protection domain.String
getSystem()
system is the name of the storage system as configured in ScaleIO.String
getVolumeName()
volumeName is the name of a volume already created in the ScaleIO system that is associated with this volume source.void
setAdditionalProperties(Map<String,Object> additionalProperties)
void
setAdditionalProperty(String name, Object value)
void
setFsType(String fsType)
fsType is the filesystem type to mount.void
setGateway(String gateway)
gateway is the host address of the ScaleIO API Gateway.void
setProtectionDomain(String protectionDomain)
protectionDomain is the name of the ScaleIO Protection Domain for the configured storage.void
setReadOnly(Boolean readOnly)
readOnly defaults to false (read/write).void
setSecretRef(SecretReference secretRef)
ScaleIOPersistentVolumeSource represents a persistent ScaleIO volumevoid
setSslEnabled(Boolean sslEnabled)
sslEnabled is the flag to enable/disable SSL communication with Gateway, default falsevoid
setStorageMode(String storageMode)
storageMode indicates whether the storage for a volume should be ThickProvisioned or ThinProvisioned.void
setStoragePool(String storagePool)
storagePool is the ScaleIO Storage Pool associated with the protection domain.void
setSystem(String system)
system is the name of the storage system as configured in ScaleIO.void
setVolumeName(String volumeName)
volumeName is the name of a volume already created in the ScaleIO system that is associated with this volume source.ScaleIOPersistentVolumeSourceBuilder
toBuilder()
-
-
-
Method Detail
-
getFsType
public String 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"
-
setFsType
public void setFsType(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"
-
getGateway
public String getGateway()
gateway is the host address of the ScaleIO API Gateway.
-
setGateway
public void setGateway(String gateway)
gateway is the host address of the ScaleIO API Gateway.
-
getProtectionDomain
public String getProtectionDomain()
protectionDomain is the name of the ScaleIO Protection Domain for the configured storage.
-
setProtectionDomain
public void setProtectionDomain(String protectionDomain)
protectionDomain is the name of the ScaleIO Protection Domain for the configured storage.
-
getReadOnly
public Boolean getReadOnly()
readOnly defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.
-
setReadOnly
public void setReadOnly(Boolean readOnly)
readOnly defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.
-
getSecretRef
public SecretReference getSecretRef()
ScaleIOPersistentVolumeSource represents a persistent ScaleIO volume
-
setSecretRef
public void setSecretRef(SecretReference secretRef)
ScaleIOPersistentVolumeSource represents a persistent ScaleIO volume
-
getSslEnabled
public Boolean getSslEnabled()
sslEnabled is the flag to enable/disable SSL communication with Gateway, default false
-
setSslEnabled
public void setSslEnabled(Boolean sslEnabled)
sslEnabled is the flag to enable/disable SSL communication with Gateway, default false
-
getStorageMode
public String getStorageMode()
storageMode indicates whether the storage for a volume should be ThickProvisioned or ThinProvisioned. Default is ThinProvisioned.
-
setStorageMode
public void setStorageMode(String storageMode)
storageMode indicates whether the storage for a volume should be ThickProvisioned or ThinProvisioned. Default is ThinProvisioned.
-
getStoragePool
public String getStoragePool()
storagePool is the ScaleIO Storage Pool associated with the protection domain.
-
setStoragePool
public void setStoragePool(String storagePool)
storagePool is the ScaleIO Storage Pool associated with the protection domain.
-
getSystem
public String getSystem()
system is the name of the storage system as configured in ScaleIO.
-
setSystem
public void setSystem(String system)
system is the name of the storage system as configured in ScaleIO.
-
getVolumeName
public String getVolumeName()
volumeName is the name of a volume already created in the ScaleIO system that is associated with this volume source.
-
setVolumeName
public void setVolumeName(String volumeName)
volumeName is the name of a volume already created in the ScaleIO system that is associated with this volume source.
-
edit
public ScaleIOPersistentVolumeSourceBuilder edit()
- Specified by:
edit
in interfaceio.fabric8.kubernetes.api.builder.Editable<ScaleIOPersistentVolumeSourceBuilder>
-
toBuilder
public ScaleIOPersistentVolumeSourceBuilder toBuilder()
-
-