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