Class V1CinderPersistentVolumeSource

java.lang.Object
io.kubernetes.client.openapi.models.V1CinderPersistentVolumeSource

@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2022-12-05T08:14:34.919Z[Etc/UTC]") public class V1CinderPersistentVolumeSource extends Object
Represents a cinder volume resource in Openstack. A Cinder volume must exist before mounting to a container. The volume must also be in the same region as the kubelet. Cinder volumes support ownership management and SELinux relabeling.
  • Field Details

  • Constructor Details

    • V1CinderPersistentVolumeSource

      public V1CinderPersistentVolumeSource()
  • Method Details

    • fsType

      public V1CinderPersistentVolumeSource fsType(String fsType)
    • getFsType

      @Nullable public String getFsType()
      fsType Filesystem type to mount. Must be a filesystem type supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://examples.k8s.io/mysql-cinder-pd/README.md
      Returns:
      fsType
    • setFsType

      public void setFsType(String fsType)
    • readOnly

      public V1CinderPersistentVolumeSource readOnly(Boolean readOnly)
    • getReadOnly

      @Nullable public Boolean getReadOnly()
      readOnly is Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://examples.k8s.io/mysql-cinder-pd/README.md
      Returns:
      readOnly
    • setReadOnly

      public void setReadOnly(Boolean readOnly)
    • secretRef

      public V1CinderPersistentVolumeSource secretRef(V1SecretReference secretRef)
    • getSecretRef

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

      public void setSecretRef(V1SecretReference secretRef)
    • volumeID

      public V1CinderPersistentVolumeSource volumeID(String volumeID)
    • getVolumeID

      public String getVolumeID()
      volumeID used to identify the volume in cinder. More info: https://examples.k8s.io/mysql-cinder-pd/README.md
      Returns:
      volumeID
    • setVolumeID

      public void setVolumeID(String volumeID)
    • 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