@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2020-07-29T18:17:00.375Z[Etc/UTC]") public class V1CSIDriverSpec extends Object
Modifier and Type | Field and Description |
---|---|
static String |
SERIALIZED_NAME_ATTACH_REQUIRED |
static String |
SERIALIZED_NAME_POD_INFO_ON_MOUNT |
static String |
SERIALIZED_NAME_VOLUME_LIFECYCLE_MODES |
Constructor and Description |
---|
V1CSIDriverSpec() |
Modifier and Type | Method and Description |
---|---|
V1CSIDriverSpec |
addVolumeLifecycleModesItem(String volumeLifecycleModesItem) |
V1CSIDriverSpec |
attachRequired(Boolean attachRequired) |
boolean |
equals(Object o) |
Boolean |
getAttachRequired()
attachRequired indicates this CSI volume driver requires an attach operation (because it
implements the CSI ControllerPublishVolume() method), and that the Kubernetes attach detach
controller should call the attach volume interface which checks the volumeattachment status and
waits until the volume is attached before proceeding to mounting.
|
Boolean |
getPodInfoOnMount()
If set to true, podInfoOnMount indicates this CSI volume driver requires additional pod
information (like podName, podUID, etc.) during mount operations.
|
List<String> |
getVolumeLifecycleModes()
volumeLifecycleModes defines what kind of volumes this CSI volume driver supports.
|
int |
hashCode() |
V1CSIDriverSpec |
podInfoOnMount(Boolean podInfoOnMount) |
void |
setAttachRequired(Boolean attachRequired) |
void |
setPodInfoOnMount(Boolean podInfoOnMount) |
void |
setVolumeLifecycleModes(List<String> volumeLifecycleModes) |
String |
toString() |
V1CSIDriverSpec |
volumeLifecycleModes(List<String> volumeLifecycleModes) |
public static final String SERIALIZED_NAME_ATTACH_REQUIRED
public static final String SERIALIZED_NAME_POD_INFO_ON_MOUNT
public static final String SERIALIZED_NAME_VOLUME_LIFECYCLE_MODES
public V1CSIDriverSpec attachRequired(Boolean attachRequired)
@Nullable public Boolean getAttachRequired()
public void setAttachRequired(Boolean attachRequired)
public V1CSIDriverSpec podInfoOnMount(Boolean podInfoOnMount)
@Nullable public Boolean getPodInfoOnMount()
public void setPodInfoOnMount(Boolean podInfoOnMount)
public V1CSIDriverSpec volumeLifecycleModes(List<String> volumeLifecycleModes)
public V1CSIDriverSpec addVolumeLifecycleModesItem(String volumeLifecycleModesItem)
@Nullable public List<String> getVolumeLifecycleModes()
Copyright © 2021. All rights reserved.