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 Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
Set fsType in a chainable fashion.fsType Filesystem type to mount.readOnly is Optional: Defaults to false (read/write).volumeID used to identify the volume in cinder.int
hashCode()
Set readOnly in a chainable fashion.secretRef
(V1SecretReference secretRef) Set secretRef in a chainable fashion.void
Set the fsType property valuevoid
setReadOnly
(Boolean readOnly) Set the readOnly property valuevoid
setSecretRef
(V1SecretReference secretRef) Set the secretRef property valuevoid
setVolumeID
(String volumeID) Set the volumeID property valuetoString()
Set volumeID in a chainable fashion.
-
Field Details
-
JSON_PROPERTY_VOLUME_I_D
- See Also:
-
JSON_PROPERTY_FS_TYPE
- See Also:
-
JSON_PROPERTY_READ_ONLY
- See Also:
-
JSON_PROPERTY_SECRET_REF
- See Also:
-
-
Constructor Details
-
V1CinderPersistentVolumeSource
-
-
Method Details
-
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
Set the volumeID property value- Parameters:
volumeID
- property value to set
-
volumeID
Set volumeID in a chainable fashion.- Returns:
- The same instance of V1CinderPersistentVolumeSource for chaining.
-
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
Set the fsType property value- Parameters:
fsType
- property value to set
-
fsType
Set fsType in a chainable fashion.- Returns:
- The same instance of V1CinderPersistentVolumeSource for chaining.
-
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
Set the readOnly property value- Parameters:
readOnly
- property value to set
-
readOnly
Set readOnly in a chainable fashion.- Returns:
- The same instance of V1CinderPersistentVolumeSource for chaining.
-
getSecretRef
- Returns:
- the secretRef property value
-
setSecretRef
Set the secretRef property value- Parameters:
secretRef
- property value to set
-
secretRef
Set secretRef in a chainable fashion.- Returns:
- The same instance of V1CinderPersistentVolumeSource for chaining.
-
equals
-
hashCode
public int hashCode() -
toString
-