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
Fields - 
Constructor Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescriptionbooleanSet 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.inthashCode()Set readOnly in a chainable fashion.secretRef(V1LocalObjectReference secretRef) Set secretRef in a chainable fashion.voidSet the fsType property valuevoidsetReadOnly(Boolean readOnly) Set the readOnly property valuevoidsetSecretRef(V1LocalObjectReference secretRef) Set the secretRef property valuevoidsetVolumeID(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
- 
V1CinderVolumeSource
 
 - 
 - 
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 V1CinderVolumeSource for chaining.
 
 - 
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- Parameters:
 fsType- property value to set
 - 
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- Parameters:
 readOnly- property value to set
 - 
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- Parameters:
 secretRef- property value to set
 - 
secretRef
Set secretRef in a chainable fashion.- Returns:
 - The same instance of V1CinderVolumeSource for chaining.
 
 - 
equals
 - 
hashCode
public int hashCode() - 
toString
 
 -