Package net.stickycode.kuuty.model.v18
Class IoK8sApiCoreV1FlexPersistentVolumeSource
- java.lang.Object
-
- net.stickycode.kuuty.model.v18.IoK8sApiCoreV1FlexPersistentVolumeSource
-
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2020-11-26T11:01:11.402583+13:00[Pacific/Auckland]") public class IoK8sApiCoreV1FlexPersistentVolumeSource extends Object
FlexPersistentVolumeSource represents a generic persistent volume resource that is provisioned/attached using an exec based plugin.
-
-
Field Summary
Fields Modifier and Type Field Description static StringJSON_PROPERTY_DRIVERstatic StringJSON_PROPERTY_FS_TYPEstatic StringJSON_PROPERTY_OPTIONSstatic StringJSON_PROPERTY_READ_ONLYstatic StringJSON_PROPERTY_SECRET_REF
-
Constructor Summary
Constructors Constructor Description IoK8sApiCoreV1FlexPersistentVolumeSource()
-
Method Summary
-
-
-
Field Detail
-
JSON_PROPERTY_DRIVER
public static final String JSON_PROPERTY_DRIVER
- See Also:
- Constant Field Values
-
JSON_PROPERTY_FS_TYPE
public static final String JSON_PROPERTY_FS_TYPE
- See Also:
- Constant Field Values
-
JSON_PROPERTY_OPTIONS
public static final String JSON_PROPERTY_OPTIONS
- 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
-
-
Method Detail
-
driver
public IoK8sApiCoreV1FlexPersistentVolumeSource driver(String driver)
-
getDriver
public String getDriver()
Driver is the name of the driver to use for this volume.- Returns:
- driver
-
setDriver
public void setDriver(String driver)
-
fsType
public IoK8sApiCoreV1FlexPersistentVolumeSource fsType(String fsType)
-
getFsType
@Nullable public String getFsType()
Filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. \"ext4\", \"xfs\", \"ntfs\". The default filesystem depends on FlexVolume script.- Returns:
- fsType
-
setFsType
public void setFsType(String fsType)
-
options
public IoK8sApiCoreV1FlexPersistentVolumeSource options(Map<String,String> options)
-
putOptionsItem
public IoK8sApiCoreV1FlexPersistentVolumeSource putOptionsItem(String key, String optionsItem)
-
getOptions
@Nullable public Map<String,String> getOptions()
Optional: Extra command options if any.- Returns:
- options
-
readOnly
public IoK8sApiCoreV1FlexPersistentVolumeSource readOnly(Boolean readOnly)
-
getReadOnly
@Nullable public Boolean getReadOnly()
Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.- Returns:
- readOnly
-
setReadOnly
public void setReadOnly(Boolean readOnly)
-
secretRef
public IoK8sApiCoreV1FlexPersistentVolumeSource secretRef(IoK8sApiCoreV1SecretReference secretRef)
-
getSecretRef
@Nullable public IoK8sApiCoreV1SecretReference getSecretRef()
Get secretRef- Returns:
- secretRef
-
setSecretRef
public void setSecretRef(IoK8sApiCoreV1SecretReference secretRef)
-
-