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 ScaleIOPersistentVolumeSourceBuilderedit()Map<String,Object>getAdditionalProperties()StringgetFsType()fsType is the filesystem type to mount.StringgetGateway()gateway is the host address of the ScaleIO API Gateway.StringgetProtectionDomain()protectionDomain is the name of the ScaleIO Protection Domain for the configured storage.BooleangetReadOnly()readOnly defaults to false (read/write).SecretReferencegetSecretRef()ScaleIOPersistentVolumeSource represents a persistent ScaleIO volumeBooleangetSslEnabled()sslEnabled is the flag to enable/disable SSL communication with Gateway, default falseStringgetStorageMode()storageMode indicates whether the storage for a volume should be ThickProvisioned or ThinProvisioned.StringgetStoragePool()storagePool is the ScaleIO Storage Pool associated with the protection domain.StringgetSystem()system is the name of the storage system as configured in ScaleIO.StringgetVolumeName()volumeName is the name of a volume already created in the ScaleIO system that is associated with this volume source.voidsetAdditionalProperties(Map<String,Object> additionalProperties)voidsetAdditionalProperty(String name, Object value)voidsetFsType(String fsType)fsType is the filesystem type to mount.voidsetGateway(String gateway)gateway is the host address of the ScaleIO API Gateway.voidsetProtectionDomain(String protectionDomain)protectionDomain is the name of the ScaleIO Protection Domain for the configured storage.voidsetReadOnly(Boolean readOnly)readOnly defaults to false (read/write).voidsetSecretRef(SecretReference secretRef)ScaleIOPersistentVolumeSource represents a persistent ScaleIO volumevoidsetSslEnabled(Boolean sslEnabled)sslEnabled is the flag to enable/disable SSL communication with Gateway, default falsevoidsetStorageMode(String storageMode)storageMode indicates whether the storage for a volume should be ThickProvisioned or ThinProvisioned.voidsetStoragePool(String storagePool)storagePool is the ScaleIO Storage Pool associated with the protection domain.voidsetSystem(String system)system is the name of the storage system as configured in ScaleIO.voidsetVolumeName(String volumeName)volumeName is the name of a volume already created in the ScaleIO system that is associated with this volume source.ScaleIOPersistentVolumeSourceBuildertoBuilder()
-
-
-
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:
editin interfaceio.fabric8.kubernetes.api.builder.Editable<ScaleIOPersistentVolumeSourceBuilder>
-
toBuilder
public ScaleIOPersistentVolumeSourceBuilder toBuilder()
-
-