Package net.stickycode.kuuty.model.v18
Class IoK8sApiCoreV1CSIPersistentVolumeSource
- java.lang.Object
-
- net.stickycode.kuuty.model.v18.IoK8sApiCoreV1CSIPersistentVolumeSource
-
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2020-11-26T11:01:11.402583+13:00[Pacific/Auckland]") public class IoK8sApiCoreV1CSIPersistentVolumeSource extends Object
Represents storage that is managed by an external CSI volume driver (Beta feature)
-
-
Field Summary
Fields Modifier and Type Field Description static StringJSON_PROPERTY_CONTROLLER_EXPAND_SECRET_REFstatic StringJSON_PROPERTY_CONTROLLER_PUBLISH_SECRET_REFstatic StringJSON_PROPERTY_DRIVERstatic StringJSON_PROPERTY_FS_TYPEstatic StringJSON_PROPERTY_NODE_PUBLISH_SECRET_REFstatic StringJSON_PROPERTY_NODE_STAGE_SECRET_REFstatic StringJSON_PROPERTY_READ_ONLYstatic StringJSON_PROPERTY_VOLUME_ATTRIBUTESstatic StringJSON_PROPERTY_VOLUME_HANDLE
-
Constructor Summary
Constructors Constructor Description IoK8sApiCoreV1CSIPersistentVolumeSource()
-
Method Summary
-
-
-
Field Detail
-
JSON_PROPERTY_CONTROLLER_EXPAND_SECRET_REF
public static final String JSON_PROPERTY_CONTROLLER_EXPAND_SECRET_REF
- See Also:
- Constant Field Values
-
JSON_PROPERTY_CONTROLLER_PUBLISH_SECRET_REF
public static final String JSON_PROPERTY_CONTROLLER_PUBLISH_SECRET_REF
- See Also:
- Constant Field Values
-
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_NODE_PUBLISH_SECRET_REF
public static final String JSON_PROPERTY_NODE_PUBLISH_SECRET_REF
- See Also:
- Constant Field Values
-
JSON_PROPERTY_NODE_STAGE_SECRET_REF
public static final String JSON_PROPERTY_NODE_STAGE_SECRET_REF
- See Also:
- Constant Field Values
-
JSON_PROPERTY_READ_ONLY
public static final String JSON_PROPERTY_READ_ONLY
- See Also:
- Constant Field Values
-
JSON_PROPERTY_VOLUME_ATTRIBUTES
public static final String JSON_PROPERTY_VOLUME_ATTRIBUTES
- See Also:
- Constant Field Values
-
JSON_PROPERTY_VOLUME_HANDLE
public static final String JSON_PROPERTY_VOLUME_HANDLE
- See Also:
- Constant Field Values
-
-
Method Detail
-
controllerExpandSecretRef
public IoK8sApiCoreV1CSIPersistentVolumeSource controllerExpandSecretRef(IoK8sApiCoreV1SecretReference controllerExpandSecretRef)
-
getControllerExpandSecretRef
@Nullable public IoK8sApiCoreV1SecretReference getControllerExpandSecretRef()
Get controllerExpandSecretRef- Returns:
- controllerExpandSecretRef
-
setControllerExpandSecretRef
public void setControllerExpandSecretRef(IoK8sApiCoreV1SecretReference controllerExpandSecretRef)
-
controllerPublishSecretRef
public IoK8sApiCoreV1CSIPersistentVolumeSource controllerPublishSecretRef(IoK8sApiCoreV1SecretReference controllerPublishSecretRef)
-
getControllerPublishSecretRef
@Nullable public IoK8sApiCoreV1SecretReference getControllerPublishSecretRef()
Get controllerPublishSecretRef- Returns:
- controllerPublishSecretRef
-
setControllerPublishSecretRef
public void setControllerPublishSecretRef(IoK8sApiCoreV1SecretReference controllerPublishSecretRef)
-
driver
public IoK8sApiCoreV1CSIPersistentVolumeSource driver(String driver)
-
getDriver
public String getDriver()
Driver is the name of the driver to use for this volume. Required.- Returns:
- driver
-
setDriver
public void setDriver(String driver)
-
fsType
public IoK8sApiCoreV1CSIPersistentVolumeSource 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\".- Returns:
- fsType
-
setFsType
public void setFsType(String fsType)
-
nodePublishSecretRef
public IoK8sApiCoreV1CSIPersistentVolumeSource nodePublishSecretRef(IoK8sApiCoreV1SecretReference nodePublishSecretRef)
-
getNodePublishSecretRef
@Nullable public IoK8sApiCoreV1SecretReference getNodePublishSecretRef()
Get nodePublishSecretRef- Returns:
- nodePublishSecretRef
-
setNodePublishSecretRef
public void setNodePublishSecretRef(IoK8sApiCoreV1SecretReference nodePublishSecretRef)
-
nodeStageSecretRef
public IoK8sApiCoreV1CSIPersistentVolumeSource nodeStageSecretRef(IoK8sApiCoreV1SecretReference nodeStageSecretRef)
-
getNodeStageSecretRef
@Nullable public IoK8sApiCoreV1SecretReference getNodeStageSecretRef()
Get nodeStageSecretRef- Returns:
- nodeStageSecretRef
-
setNodeStageSecretRef
public void setNodeStageSecretRef(IoK8sApiCoreV1SecretReference nodeStageSecretRef)
-
readOnly
public IoK8sApiCoreV1CSIPersistentVolumeSource readOnly(Boolean readOnly)
-
getReadOnly
@Nullable public Boolean getReadOnly()
Optional: The value to pass to ControllerPublishVolumeRequest. Defaults to false (read/write).- Returns:
- readOnly
-
setReadOnly
public void setReadOnly(Boolean readOnly)
-
volumeAttributes
public IoK8sApiCoreV1CSIPersistentVolumeSource volumeAttributes(Map<String,String> volumeAttributes)
-
putVolumeAttributesItem
public IoK8sApiCoreV1CSIPersistentVolumeSource putVolumeAttributesItem(String key, String volumeAttributesItem)
-
getVolumeAttributes
@Nullable public Map<String,String> getVolumeAttributes()
Attributes of the volume to publish.- Returns:
- volumeAttributes
-
volumeHandle
public IoK8sApiCoreV1CSIPersistentVolumeSource volumeHandle(String volumeHandle)
-
getVolumeHandle
public String getVolumeHandle()
VolumeHandle is the unique volume name returned by the CSI volume plugin’s CreateVolume to refer to the volume on all subsequent calls. Required.- Returns:
- volumeHandle
-
setVolumeHandle
public void setVolumeHandle(String volumeHandle)
-
-