Class V1ScaleIOPersistentVolumeSource

java.lang.Object
io.micronaut.kubernetes.client.openapi.model.V1ScaleIOPersistentVolumeSource

@Generated("io.micronaut.openapi.generator.JavaMicronautClientCodegen") public class V1ScaleIOPersistentVolumeSource extends Object
ScaleIOPersistentVolumeSource represents a persistent ScaleIO volume
  • Field Details

  • Constructor Details

  • Method Details

    • 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\"
      Returns:
      the fsType property value
    • setFsType

      public void setFsType(String fsType)
      Set the fsType property value
    • fsType

      public V1ScaleIOPersistentVolumeSource fsType(String fsType)
      Set fsType in a chainable fashion.
      Returns:
      The same instance of V1ScaleIOPersistentVolumeSource for chaining.
    • getGateway

      public String getGateway()
      gateway is the host address of the ScaleIO API Gateway.
      Returns:
      the gateway property value
    • setGateway

      public void setGateway(String gateway)
      Set the gateway property value
    • gateway

      public V1ScaleIOPersistentVolumeSource gateway(String gateway)
      Set gateway in a chainable fashion.
      Returns:
      The same instance of V1ScaleIOPersistentVolumeSource for chaining.
    • getProtectionDomain

      public String getProtectionDomain()
      protectionDomain is the name of the ScaleIO Protection Domain for the configured storage.
      Returns:
      the protectionDomain property value
    • setProtectionDomain

      public void setProtectionDomain(String protectionDomain)
      Set the protectionDomain property value
    • protectionDomain

      public V1ScaleIOPersistentVolumeSource protectionDomain(String protectionDomain)
      Set protectionDomain in a chainable fashion.
      Returns:
      The same instance of V1ScaleIOPersistentVolumeSource for chaining.
    • getReadOnly

      public Boolean getReadOnly()
      readOnly defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.
      Returns:
      the readOnly property value
    • setReadOnly

      public void setReadOnly(Boolean readOnly)
      Set the readOnly property value
    • readOnly

      public V1ScaleIOPersistentVolumeSource readOnly(Boolean readOnly)
      Set readOnly in a chainable fashion.
      Returns:
      The same instance of V1ScaleIOPersistentVolumeSource for chaining.
    • getSecretRef

      public V1SecretReference getSecretRef()
      Returns:
      the secretRef property value
    • setSecretRef

      public void setSecretRef(V1SecretReference secretRef)
      Set the secretRef property value
    • secretRef

      public V1ScaleIOPersistentVolumeSource secretRef(V1SecretReference secretRef)
      Set secretRef in a chainable fashion.
      Returns:
      The same instance of V1ScaleIOPersistentVolumeSource for chaining.
    • getSslEnabled

      public Boolean getSslEnabled()
      sslEnabled is the flag to enable/disable SSL communication with Gateway, default false
      Returns:
      the sslEnabled property value
    • setSslEnabled

      public void setSslEnabled(Boolean sslEnabled)
      Set the sslEnabled property value
    • sslEnabled

      public V1ScaleIOPersistentVolumeSource sslEnabled(Boolean sslEnabled)
      Set sslEnabled in a chainable fashion.
      Returns:
      The same instance of V1ScaleIOPersistentVolumeSource for chaining.
    • getStorageMode

      public String getStorageMode()
      storageMode indicates whether the storage for a volume should be ThickProvisioned or ThinProvisioned. Default is ThinProvisioned.
      Returns:
      the storageMode property value
    • setStorageMode

      public void setStorageMode(String storageMode)
      Set the storageMode property value
    • storageMode

      public V1ScaleIOPersistentVolumeSource storageMode(String storageMode)
      Set storageMode in a chainable fashion.
      Returns:
      The same instance of V1ScaleIOPersistentVolumeSource for chaining.
    • getStoragePool

      public String getStoragePool()
      storagePool is the ScaleIO Storage Pool associated with the protection domain.
      Returns:
      the storagePool property value
    • setStoragePool

      public void setStoragePool(String storagePool)
      Set the storagePool property value
    • storagePool

      public V1ScaleIOPersistentVolumeSource storagePool(String storagePool)
      Set storagePool in a chainable fashion.
      Returns:
      The same instance of V1ScaleIOPersistentVolumeSource for chaining.
    • getSystem

      public String getSystem()
      system is the name of the storage system as configured in ScaleIO.
      Returns:
      the system property value
    • setSystem

      public void setSystem(String system)
      Set the system property value
    • system

      public V1ScaleIOPersistentVolumeSource system(String system)
      Set system in a chainable fashion.
      Returns:
      The same instance of V1ScaleIOPersistentVolumeSource for chaining.
    • getVolumeName

      public String 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

      public void setVolumeName(String volumeName)
      Set the volumeName property value
    • volumeName

      public V1ScaleIOPersistentVolumeSource volumeName(String volumeName)
      Set volumeName in a chainable fashion.
      Returns:
      The same instance of V1ScaleIOPersistentVolumeSource for chaining.
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object