@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2020-11-06T08:58:17.566Z[Etc/UTC]") public class V1CSIVolumeSource extends Object
Modifier and Type | Field and Description |
---|---|
static String |
SERIALIZED_NAME_DRIVER |
static String |
SERIALIZED_NAME_FS_TYPE |
static String |
SERIALIZED_NAME_NODE_PUBLISH_SECRET_REF |
static String |
SERIALIZED_NAME_READ_ONLY |
static String |
SERIALIZED_NAME_VOLUME_ATTRIBUTES |
Constructor and Description |
---|
V1CSIVolumeSource() |
Modifier and Type | Method and Description |
---|---|
V1CSIVolumeSource |
driver(String driver) |
boolean |
equals(Object o) |
V1CSIVolumeSource |
fsType(String fsType) |
String |
getDriver()
Driver is the name of the CSI driver that handles this volume.
|
String |
getFsType()
Filesystem type to mount.
|
V1LocalObjectReference |
getNodePublishSecretRef()
Get nodePublishSecretRef
|
Boolean |
getReadOnly()
Specifies a read-only configuration for the volume.
|
Map<String,String> |
getVolumeAttributes()
VolumeAttributes stores driver-specific properties that are passed to the CSI driver.
|
int |
hashCode() |
V1CSIVolumeSource |
nodePublishSecretRef(V1LocalObjectReference nodePublishSecretRef) |
V1CSIVolumeSource |
putVolumeAttributesItem(String key,
String volumeAttributesItem) |
V1CSIVolumeSource |
readOnly(Boolean readOnly) |
void |
setDriver(String driver) |
void |
setFsType(String fsType) |
void |
setNodePublishSecretRef(V1LocalObjectReference nodePublishSecretRef) |
void |
setReadOnly(Boolean readOnly) |
void |
setVolumeAttributes(Map<String,String> volumeAttributes) |
String |
toString() |
V1CSIVolumeSource |
volumeAttributes(Map<String,String> volumeAttributes) |
public static final String SERIALIZED_NAME_DRIVER
public static final String SERIALIZED_NAME_FS_TYPE
public static final String SERIALIZED_NAME_NODE_PUBLISH_SECRET_REF
public static final String SERIALIZED_NAME_READ_ONLY
public static final String SERIALIZED_NAME_VOLUME_ATTRIBUTES
public V1CSIVolumeSource driver(String driver)
public String getDriver()
public void setDriver(String driver)
public V1CSIVolumeSource fsType(String fsType)
@Nullable public String getFsType()
public void setFsType(String fsType)
public V1CSIVolumeSource nodePublishSecretRef(V1LocalObjectReference nodePublishSecretRef)
@Nullable public V1LocalObjectReference getNodePublishSecretRef()
public void setNodePublishSecretRef(V1LocalObjectReference nodePublishSecretRef)
public V1CSIVolumeSource readOnly(Boolean readOnly)
@Nullable public Boolean getReadOnly()
public void setReadOnly(Boolean readOnly)
public V1CSIVolumeSource volumeAttributes(Map<String,String> volumeAttributes)
public V1CSIVolumeSource putVolumeAttributesItem(String key, String volumeAttributesItem)
@Nullable public Map<String,String> getVolumeAttributes()
Copyright © 2020. All rights reserved.