public class V1ConfigMapVolumeSource extends Object
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.
|
int |
hashCode() |
Boolean |
isOptional()
Specify whether the ConfigMap or it's keys must be defined
|
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 V1ConfigMapVolumeSource defaultMode(Integer defaultMode)
public Integer getDefaultMode()
public void setDefaultMode(Integer defaultMode)
public V1ConfigMapVolumeSource items(List<V1KeyToPath> items)
public V1ConfigMapVolumeSource addItemsItem(V1KeyToPath itemsItem)
public List<V1KeyToPath> getItems()
public void setItems(List<V1KeyToPath> items)
public V1ConfigMapVolumeSource name(String name)
public String getName()
public void setName(String name)
public V1ConfigMapVolumeSource optional(Boolean optional)
public Boolean isOptional()
public void setOptional(Boolean optional)
Copyright © 2018. All rights reserved.