Class V1CinderVolumeSource

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

@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2024-02-02T21:37:40.170033Z[Etc/UTC]") public class V1CinderVolumeSource 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

    • V1CinderVolumeSource

      public V1CinderVolumeSource()
  • Method Details

    • fsType

      public V1CinderVolumeSource 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. 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 V1CinderVolumeSource readOnly(Boolean readOnly)
    • getReadOnly

      @Nullable public Boolean getReadOnly()
      readOnly 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 V1CinderVolumeSource secretRef(V1LocalObjectReference secretRef)
    • getSecretRef

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

      public void setSecretRef(V1LocalObjectReference secretRef)
    • volumeID

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