@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2020-06-19T10:47:33.387Z[Etc/UTC]") public class V1ConfigMapVolumeSource extends Object
Modifier and Type | Field and Description |
---|---|
static String |
SERIALIZED_NAME_DEFAULT_MODE |
static String |
SERIALIZED_NAME_ITEMS |
static String |
SERIALIZED_NAME_NAME |
static String |
SERIALIZED_NAME_OPTIONAL |
Constructor and Description |
---|
V1ConfigMapVolumeSource() |
Modifier and Type | Method and Description |
---|---|
V1ConfigMapVolumeSource |
addItemsItem(V1KeyToPath itemsItem) |
V1ConfigMapVolumeSource |
defaultMode(Integer defaultMode) |
boolean |
equals(Object o) |
Integer |
getDefaultMode()
Optional: mode bits to use on created files by default.
|
List<V1KeyToPath> |
getItems()
If unspecified, each key-value pair in the Data field of the referenced ConfigMap will be
projected into the volume as a file whose name is the key and content is the value.
|
String |
getName()
Name of the referent.
|
Boolean |
getOptional()
Specify whether the ConfigMap or its keys must be defined
|
int |
hashCode() |
V1ConfigMapVolumeSource |
items(List<V1KeyToPath> items) |
V1ConfigMapVolumeSource |
name(String name) |
V1ConfigMapVolumeSource |
optional(Boolean optional) |
void |
setDefaultMode(Integer defaultMode) |
void |
setItems(List<V1KeyToPath> items) |
void |
setName(String name) |
void |
setOptional(Boolean optional) |
String |
toString() |
public static final String SERIALIZED_NAME_DEFAULT_MODE
public static final String SERIALIZED_NAME_ITEMS
public static final String SERIALIZED_NAME_NAME
public static final String SERIALIZED_NAME_OPTIONAL
public V1ConfigMapVolumeSource defaultMode(Integer defaultMode)
@Nullable public Integer getDefaultMode()
public void setDefaultMode(Integer defaultMode)
public V1ConfigMapVolumeSource items(List<V1KeyToPath> items)
public V1ConfigMapVolumeSource addItemsItem(V1KeyToPath itemsItem)
@Nullable public List<V1KeyToPath> getItems()
public void setItems(List<V1KeyToPath> items)
public V1ConfigMapVolumeSource name(String name)
@Nullable public String getName()
public void setName(String name)
public V1ConfigMapVolumeSource optional(Boolean optional)
@Nullable public Boolean getOptional()
public void setOptional(Boolean optional)
Copyright © 2020. All rights reserved.