Package net.stickycode.kuuty.model.v18
Class IoK8sApiCoreV1CinderPersistentVolumeSource
- java.lang.Object
-
- net.stickycode.kuuty.model.v18.IoK8sApiCoreV1CinderPersistentVolumeSource
-
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2020-11-26T11:01:11.402583+13:00[Pacific/Auckland]") public class IoK8sApiCoreV1CinderPersistentVolumeSource 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 Modifier and Type Field Description static StringJSON_PROPERTY_FS_TYPEstatic StringJSON_PROPERTY_READ_ONLYstatic StringJSON_PROPERTY_SECRET_REFstatic StringJSON_PROPERTY_VOLUME_I_D
-
Constructor Summary
Constructors Constructor Description IoK8sApiCoreV1CinderPersistentVolumeSource()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)IoK8sApiCoreV1CinderPersistentVolumeSourcefsType(String fsType)StringgetFsType()Filesystem type to mount.BooleangetReadOnly()Optional: Defaults to false (read/write).IoK8sApiCoreV1SecretReferencegetSecretRef()Get secretRefStringgetVolumeID()volume id used to identify the volume in cinder.inthashCode()IoK8sApiCoreV1CinderPersistentVolumeSourcereadOnly(Boolean readOnly)IoK8sApiCoreV1CinderPersistentVolumeSourcesecretRef(IoK8sApiCoreV1SecretReference secretRef)voidsetFsType(String fsType)voidsetReadOnly(Boolean readOnly)voidsetSecretRef(IoK8sApiCoreV1SecretReference secretRef)voidsetVolumeID(String volumeID)StringtoString()IoK8sApiCoreV1CinderPersistentVolumeSourcevolumeID(String volumeID)
-
-
-
Field Detail
-
JSON_PROPERTY_FS_TYPE
public static final String JSON_PROPERTY_FS_TYPE
- See Also:
- Constant Field Values
-
JSON_PROPERTY_READ_ONLY
public static final String JSON_PROPERTY_READ_ONLY
- See Also:
- Constant Field Values
-
JSON_PROPERTY_SECRET_REF
public static final String JSON_PROPERTY_SECRET_REF
- See Also:
- Constant Field Values
-
JSON_PROPERTY_VOLUME_I_D
public static final String JSON_PROPERTY_VOLUME_I_D
- See Also:
- Constant Field Values
-
-
Method Detail
-
fsType
public IoK8sApiCoreV1CinderPersistentVolumeSource fsType(String fsType)
-
getFsType
@Nullable public String getFsType()
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:
- fsType
-
setFsType
public void setFsType(String fsType)
-
readOnly
public IoK8sApiCoreV1CinderPersistentVolumeSource readOnly(Boolean readOnly)
-
getReadOnly
@Nullable public Boolean getReadOnly()
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:
- readOnly
-
setReadOnly
public void setReadOnly(Boolean readOnly)
-
secretRef
public IoK8sApiCoreV1CinderPersistentVolumeSource secretRef(IoK8sApiCoreV1SecretReference secretRef)
-
getSecretRef
@Nullable public IoK8sApiCoreV1SecretReference getSecretRef()
Get secretRef- Returns:
- secretRef
-
setSecretRef
public void setSecretRef(IoK8sApiCoreV1SecretReference secretRef)
-
volumeID
public IoK8sApiCoreV1CinderPersistentVolumeSource volumeID(String volumeID)
-
getVolumeID
public String getVolumeID()
volume id used to identify the volume in cinder. More info: https://examples.k8s.io/mysql-cinder-pd/README.md- Returns:
- volumeID
-
setVolumeID
public void setVolumeID(String volumeID)
-
-