Class V1CinderPersistentVolumeSource

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

@Generated("io.micronaut.openapi.generator.JavaMicronautClientCodegen") 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(String volumeID)
  • Method Details

    • getFsType

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

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

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

      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:
      the readOnly property value
    • setReadOnly

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

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

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

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

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

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

      public void setVolumeID(String volumeID)
      Set the volumeID property value
    • volumeID

      public V1CinderPersistentVolumeSource volumeID(String volumeID)
      Set volumeID in a chainable fashion.
      Returns:
      The same instance of V1CinderPersistentVolumeSource 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