@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2020-11-06T08:58:17.566Z[Etc/UTC]") public class V1PersistentVolumeClaimSpec extends Object
Modifier and Type | Field and Description |
---|---|
static String |
SERIALIZED_NAME_ACCESS_MODES |
static String |
SERIALIZED_NAME_DATA_SOURCE |
static String |
SERIALIZED_NAME_RESOURCES |
static String |
SERIALIZED_NAME_SELECTOR |
static String |
SERIALIZED_NAME_STORAGE_CLASS_NAME |
static String |
SERIALIZED_NAME_VOLUME_MODE |
static String |
SERIALIZED_NAME_VOLUME_NAME |
Constructor and Description |
---|
V1PersistentVolumeClaimSpec() |
public static final String SERIALIZED_NAME_ACCESS_MODES
public static final String SERIALIZED_NAME_DATA_SOURCE
public static final String SERIALIZED_NAME_RESOURCES
public static final String SERIALIZED_NAME_SELECTOR
public static final String SERIALIZED_NAME_STORAGE_CLASS_NAME
public static final String SERIALIZED_NAME_VOLUME_MODE
public static final String SERIALIZED_NAME_VOLUME_NAME
public V1PersistentVolumeClaimSpec accessModes(List<String> accessModes)
public V1PersistentVolumeClaimSpec addAccessModesItem(String accessModesItem)
@Nullable public List<String> getAccessModes()
public V1PersistentVolumeClaimSpec dataSource(V1TypedLocalObjectReference dataSource)
@Nullable public V1TypedLocalObjectReference getDataSource()
public void setDataSource(V1TypedLocalObjectReference dataSource)
public V1PersistentVolumeClaimSpec resources(V1ResourceRequirements resources)
@Nullable public V1ResourceRequirements getResources()
public void setResources(V1ResourceRequirements resources)
public V1PersistentVolumeClaimSpec selector(V1LabelSelector selector)
@Nullable public V1LabelSelector getSelector()
public void setSelector(V1LabelSelector selector)
public V1PersistentVolumeClaimSpec storageClassName(String storageClassName)
@Nullable public String getStorageClassName()
public void setStorageClassName(String storageClassName)
public V1PersistentVolumeClaimSpec volumeMode(String volumeMode)
@Nullable public String getVolumeMode()
public void setVolumeMode(String volumeMode)
public V1PersistentVolumeClaimSpec volumeName(String volumeName)
@Nullable public String getVolumeName()
public void setVolumeName(String volumeName)
Copyright © 2020. All rights reserved.