public class ConfigMapVolumeSourceFluentImpl<A extends ConfigMapVolumeSourceFluent<A>> extends BaseFluent<A> implements ConfigMapVolumeSourceFluent<A>
Modifier and Type | Class and Description |
---|---|
class |
ConfigMapVolumeSourceFluentImpl.ItemsNestedImpl<N> |
ConfigMapVolumeSourceFluent.ItemsNested<N>
_visitables
Constructor and Description |
---|
ConfigMapVolumeSourceFluentImpl() |
ConfigMapVolumeSourceFluentImpl(ConfigMapVolumeSource instance) |
public ConfigMapVolumeSourceFluentImpl()
public ConfigMapVolumeSourceFluentImpl(ConfigMapVolumeSource instance)
public Integer getDefaultMode()
getDefaultMode
in interface ConfigMapVolumeSourceFluent<A extends ConfigMapVolumeSourceFluent<A>>
public A withDefaultMode(Integer defaultMode)
withDefaultMode
in interface ConfigMapVolumeSourceFluent<A extends ConfigMapVolumeSourceFluent<A>>
public Boolean hasDefaultMode()
hasDefaultMode
in interface ConfigMapVolumeSourceFluent<A extends ConfigMapVolumeSourceFluent<A>>
public A addToItems(int index, KeyToPath item)
addToItems
in interface ConfigMapVolumeSourceFluent<A extends ConfigMapVolumeSourceFluent<A>>
public A setToItems(int index, KeyToPath item)
setToItems
in interface ConfigMapVolumeSourceFluent<A extends ConfigMapVolumeSourceFluent<A>>
public A addToItems(KeyToPath... items)
addToItems
in interface ConfigMapVolumeSourceFluent<A extends ConfigMapVolumeSourceFluent<A>>
public A addAllToItems(Collection<KeyToPath> items)
addAllToItems
in interface ConfigMapVolumeSourceFluent<A extends ConfigMapVolumeSourceFluent<A>>
public A removeFromItems(KeyToPath... items)
removeFromItems
in interface ConfigMapVolumeSourceFluent<A extends ConfigMapVolumeSourceFluent<A>>
public A removeAllFromItems(Collection<KeyToPath> items)
removeAllFromItems
in interface ConfigMapVolumeSourceFluent<A extends ConfigMapVolumeSourceFluent<A>>
@Deprecated public List<KeyToPath> getItems()
getItems
in interface ConfigMapVolumeSourceFluent<A extends ConfigMapVolumeSourceFluent<A>>
public List<KeyToPath> buildItems()
buildItems
in interface ConfigMapVolumeSourceFluent<A extends ConfigMapVolumeSourceFluent<A>>
public KeyToPath buildItem(int index)
buildItem
in interface ConfigMapVolumeSourceFluent<A extends ConfigMapVolumeSourceFluent<A>>
public KeyToPath buildFirstItem()
buildFirstItem
in interface ConfigMapVolumeSourceFluent<A extends ConfigMapVolumeSourceFluent<A>>
public KeyToPath buildLastItem()
buildLastItem
in interface ConfigMapVolumeSourceFluent<A extends ConfigMapVolumeSourceFluent<A>>
public KeyToPath buildMatchingItem(Predicate<KeyToPathBuilder> predicate)
buildMatchingItem
in interface ConfigMapVolumeSourceFluent<A extends ConfigMapVolumeSourceFluent<A>>
public Boolean hasMatchingItem(Predicate<KeyToPathBuilder> predicate)
hasMatchingItem
in interface ConfigMapVolumeSourceFluent<A extends ConfigMapVolumeSourceFluent<A>>
public A withItems(List<KeyToPath> items)
withItems
in interface ConfigMapVolumeSourceFluent<A extends ConfigMapVolumeSourceFluent<A>>
public A withItems(KeyToPath... items)
withItems
in interface ConfigMapVolumeSourceFluent<A extends ConfigMapVolumeSourceFluent<A>>
public Boolean hasItems()
hasItems
in interface ConfigMapVolumeSourceFluent<A extends ConfigMapVolumeSourceFluent<A>>
public A addNewItem(String key, Integer mode, String path)
addNewItem
in interface ConfigMapVolumeSourceFluent<A extends ConfigMapVolumeSourceFluent<A>>
public ConfigMapVolumeSourceFluent.ItemsNested<A> addNewItem()
addNewItem
in interface ConfigMapVolumeSourceFluent<A extends ConfigMapVolumeSourceFluent<A>>
public ConfigMapVolumeSourceFluent.ItemsNested<A> addNewItemLike(KeyToPath item)
addNewItemLike
in interface ConfigMapVolumeSourceFluent<A extends ConfigMapVolumeSourceFluent<A>>
public ConfigMapVolumeSourceFluent.ItemsNested<A> setNewItemLike(int index, KeyToPath item)
setNewItemLike
in interface ConfigMapVolumeSourceFluent<A extends ConfigMapVolumeSourceFluent<A>>
public ConfigMapVolumeSourceFluent.ItemsNested<A> editItem(int index)
editItem
in interface ConfigMapVolumeSourceFluent<A extends ConfigMapVolumeSourceFluent<A>>
public ConfigMapVolumeSourceFluent.ItemsNested<A> editFirstItem()
editFirstItem
in interface ConfigMapVolumeSourceFluent<A extends ConfigMapVolumeSourceFluent<A>>
public ConfigMapVolumeSourceFluent.ItemsNested<A> editLastItem()
editLastItem
in interface ConfigMapVolumeSourceFluent<A extends ConfigMapVolumeSourceFluent<A>>
public ConfigMapVolumeSourceFluent.ItemsNested<A> editMatchingItem(Predicate<KeyToPathBuilder> predicate)
editMatchingItem
in interface ConfigMapVolumeSourceFluent<A extends ConfigMapVolumeSourceFluent<A>>
public String getName()
getName
in interface ConfigMapVolumeSourceFluent<A extends ConfigMapVolumeSourceFluent<A>>
public A withName(String name)
withName
in interface ConfigMapVolumeSourceFluent<A extends ConfigMapVolumeSourceFluent<A>>
public Boolean hasName()
hasName
in interface ConfigMapVolumeSourceFluent<A extends ConfigMapVolumeSourceFluent<A>>
public A withNewName(String arg1)
withNewName
in interface ConfigMapVolumeSourceFluent<A extends ConfigMapVolumeSourceFluent<A>>
public A withNewName(StringBuilder arg1)
withNewName
in interface ConfigMapVolumeSourceFluent<A extends ConfigMapVolumeSourceFluent<A>>
public A withNewName(StringBuffer arg1)
withNewName
in interface ConfigMapVolumeSourceFluent<A extends ConfigMapVolumeSourceFluent<A>>
public Boolean isOptional()
isOptional
in interface ConfigMapVolumeSourceFluent<A extends ConfigMapVolumeSourceFluent<A>>
public A withOptional(Boolean optional)
withOptional
in interface ConfigMapVolumeSourceFluent<A extends ConfigMapVolumeSourceFluent<A>>
public Boolean hasOptional()
hasOptional
in interface ConfigMapVolumeSourceFluent<A extends ConfigMapVolumeSourceFluent<A>>
public A withNewOptional(String arg1)
withNewOptional
in interface ConfigMapVolumeSourceFluent<A extends ConfigMapVolumeSourceFluent<A>>
public A withNewOptional(boolean arg1)
withNewOptional
in interface ConfigMapVolumeSourceFluent<A extends ConfigMapVolumeSourceFluent<A>>
Copyright © 2015–2019 Red Hat. All rights reserved.