Class V1CinderVolumeSource

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

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

    • 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
      Parameters:
      volumeID - property value to set
    • volumeID

      public V1CinderVolumeSource volumeID(String volumeID)
      Set volumeID in a chainable fashion.
      Returns:
      The same instance of V1CinderVolumeSource for chaining.
    • getFsType

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

      public void setFsType(String fsType)
      Set the fsType property value
      Parameters:
      fsType - property value to set
    • fsType

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

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

      public void setReadOnly(Boolean readOnly)
      Set the readOnly property value
      Parameters:
      readOnly - property value to set
    • readOnly

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

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

      public void setSecretRef(V1LocalObjectReference secretRef)
      Set the secretRef property value
      Parameters:
      secretRef - property value to set
    • secretRef

      public V1CinderVolumeSource secretRef(V1LocalObjectReference secretRef)
      Set secretRef in a chainable fashion.
      Returns:
      The same instance of V1CinderVolumeSource 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