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
  • Field Details

  • Constructor Details

    • V1ScaleIOPersistentVolumeSource

      public V1ScaleIOPersistentVolumeSource()
  • Method Details

    • fsType

      public V1ScaleIOPersistentVolumeSource fsType(String fsType)
    • getFsType

      @Nullable 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:
      fsType
    • setFsType

      public void setFsType(String fsType)
    • gateway

      public V1ScaleIOPersistentVolumeSource gateway(String gateway)
    • getGateway

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

      public void setGateway(String gateway)
    • protectionDomain

      public V1ScaleIOPersistentVolumeSource protectionDomain(String protectionDomain)
    • getProtectionDomain

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

      public void setProtectionDomain(String protectionDomain)
    • readOnly

      public V1ScaleIOPersistentVolumeSource readOnly(Boolean readOnly)
    • getReadOnly

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

      public void setReadOnly(Boolean readOnly)
    • secretRef

      public V1ScaleIOPersistentVolumeSource secretRef(V1SecretReference secretRef)
    • getSecretRef

      @Nonnull public V1SecretReference getSecretRef()
      Get secretRef
      Returns:
      secretRef
    • setSecretRef

      public void setSecretRef(V1SecretReference secretRef)
    • sslEnabled

      public V1ScaleIOPersistentVolumeSource sslEnabled(Boolean sslEnabled)
    • getSslEnabled

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

      public void setSslEnabled(Boolean sslEnabled)
    • storageMode

      public V1ScaleIOPersistentVolumeSource storageMode(String storageMode)
    • getStorageMode

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

      public void setStorageMode(String storageMode)
    • storagePool

      public V1ScaleIOPersistentVolumeSource storagePool(String storagePool)
    • getStoragePool

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

      public void setStoragePool(String storagePool)
    • system

      public V1ScaleIOPersistentVolumeSource system(String system)
    • getSystem

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

      public void setSystem(String system)
    • volumeName

      public V1ScaleIOPersistentVolumeSource volumeName(String volumeName)
    • getVolumeName

      @Nullable public String getVolumeName()
      volumeName is the name of a volume already created in the ScaleIO system that is associated with this volume source.
      Returns:
      volumeName
    • setVolumeName

      public void setVolumeName(String volumeName)
    • 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
    • validateJsonObject

      public static void validateJsonObject(com.google.gson.JsonObject jsonObj) throws IOException
      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

      public static V1ScaleIOPersistentVolumeSource fromJson(String jsonString) throws IOException
      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

      public String toJson()
      Convert an instance of V1ScaleIOPersistentVolumeSource to an JSON string
      Returns:
      JSON string