Package io.fabric8.kubernetes.api.model
Class DownwardAPIProjectionFluentImpl<A extends DownwardAPIProjectionFluent<A>>
- java.lang.Object
-
- io.fabric8.kubernetes.api.builder.BaseFluent<A>
-
- io.fabric8.kubernetes.api.model.DownwardAPIProjectionFluentImpl<A>
-
- All Implemented Interfaces:
Fluent<A>
,Visitable<A>
,DownwardAPIProjectionFluent<A>
- Direct Known Subclasses:
DownwardAPIProjectionBuilder
,VolumeProjectionFluentImpl.DownwardAPINestedImpl
,WatchEventFluentImpl.DownwardAPIProjectionObjectNestedImpl
public class DownwardAPIProjectionFluentImpl<A extends DownwardAPIProjectionFluent<A>> extends BaseFluent<A> implements DownwardAPIProjectionFluent<A>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description class
DownwardAPIProjectionFluentImpl.ItemsNestedImpl<N>
-
Nested classes/interfaces inherited from interface io.fabric8.kubernetes.api.model.DownwardAPIProjectionFluent
DownwardAPIProjectionFluent.ItemsNested<N>
-
-
Field Summary
-
Fields inherited from class io.fabric8.kubernetes.api.builder.BaseFluent
_visitables
-
-
Constructor Summary
Constructors Constructor Description DownwardAPIProjectionFluentImpl()
DownwardAPIProjectionFluentImpl(DownwardAPIProjection instance)
-
Method Summary
-
-
-
Constructor Detail
-
DownwardAPIProjectionFluentImpl
public DownwardAPIProjectionFluentImpl()
-
DownwardAPIProjectionFluentImpl
public DownwardAPIProjectionFluentImpl(DownwardAPIProjection instance)
-
-
Method Detail
-
addToItems
public A addToItems(int index, DownwardAPIVolumeFile item)
- Specified by:
addToItems
in interfaceDownwardAPIProjectionFluent<A extends DownwardAPIProjectionFluent<A>>
-
setToItems
public A setToItems(int index, DownwardAPIVolumeFile item)
- Specified by:
setToItems
in interfaceDownwardAPIProjectionFluent<A extends DownwardAPIProjectionFluent<A>>
-
addToItems
public A addToItems(DownwardAPIVolumeFile... items)
- Specified by:
addToItems
in interfaceDownwardAPIProjectionFluent<A extends DownwardAPIProjectionFluent<A>>
-
addAllToItems
public A addAllToItems(Collection<DownwardAPIVolumeFile> items)
- Specified by:
addAllToItems
in interfaceDownwardAPIProjectionFluent<A extends DownwardAPIProjectionFluent<A>>
-
removeFromItems
public A removeFromItems(DownwardAPIVolumeFile... items)
- Specified by:
removeFromItems
in interfaceDownwardAPIProjectionFluent<A extends DownwardAPIProjectionFluent<A>>
-
removeAllFromItems
public A removeAllFromItems(Collection<DownwardAPIVolumeFile> items)
- Specified by:
removeAllFromItems
in interfaceDownwardAPIProjectionFluent<A extends DownwardAPIProjectionFluent<A>>
-
removeMatchingFromItems
public A removeMatchingFromItems(Predicate<DownwardAPIVolumeFileBuilder> predicate)
- Specified by:
removeMatchingFromItems
in interfaceDownwardAPIProjectionFluent<A extends DownwardAPIProjectionFluent<A>>
-
getItems
@Deprecated public List<DownwardAPIVolumeFile> getItems()
Deprecated.This method has been deprecated, please use method buildItems instead.- Specified by:
getItems
in interfaceDownwardAPIProjectionFluent<A extends DownwardAPIProjectionFluent<A>>
- Returns:
- The buildable object.
-
buildItems
public List<DownwardAPIVolumeFile> buildItems()
- Specified by:
buildItems
in interfaceDownwardAPIProjectionFluent<A extends DownwardAPIProjectionFluent<A>>
-
buildItem
public DownwardAPIVolumeFile buildItem(int index)
- Specified by:
buildItem
in interfaceDownwardAPIProjectionFluent<A extends DownwardAPIProjectionFluent<A>>
-
buildFirstItem
public DownwardAPIVolumeFile buildFirstItem()
- Specified by:
buildFirstItem
in interfaceDownwardAPIProjectionFluent<A extends DownwardAPIProjectionFluent<A>>
-
buildLastItem
public DownwardAPIVolumeFile buildLastItem()
- Specified by:
buildLastItem
in interfaceDownwardAPIProjectionFluent<A extends DownwardAPIProjectionFluent<A>>
-
buildMatchingItem
public DownwardAPIVolumeFile buildMatchingItem(Predicate<DownwardAPIVolumeFileBuilder> predicate)
- Specified by:
buildMatchingItem
in interfaceDownwardAPIProjectionFluent<A extends DownwardAPIProjectionFluent<A>>
-
hasMatchingItem
public Boolean hasMatchingItem(Predicate<DownwardAPIVolumeFileBuilder> predicate)
- Specified by:
hasMatchingItem
in interfaceDownwardAPIProjectionFluent<A extends DownwardAPIProjectionFluent<A>>
-
withItems
public A withItems(List<DownwardAPIVolumeFile> items)
- Specified by:
withItems
in interfaceDownwardAPIProjectionFluent<A extends DownwardAPIProjectionFluent<A>>
-
withItems
public A withItems(DownwardAPIVolumeFile... items)
- Specified by:
withItems
in interfaceDownwardAPIProjectionFluent<A extends DownwardAPIProjectionFluent<A>>
-
hasItems
public Boolean hasItems()
- Specified by:
hasItems
in interfaceDownwardAPIProjectionFluent<A extends DownwardAPIProjectionFluent<A>>
-
addNewItem
public DownwardAPIProjectionFluent.ItemsNested<A> addNewItem()
- Specified by:
addNewItem
in interfaceDownwardAPIProjectionFluent<A extends DownwardAPIProjectionFluent<A>>
-
addNewItemLike
public DownwardAPIProjectionFluent.ItemsNested<A> addNewItemLike(DownwardAPIVolumeFile item)
- Specified by:
addNewItemLike
in interfaceDownwardAPIProjectionFluent<A extends DownwardAPIProjectionFluent<A>>
-
setNewItemLike
public DownwardAPIProjectionFluent.ItemsNested<A> setNewItemLike(int index, DownwardAPIVolumeFile item)
- Specified by:
setNewItemLike
in interfaceDownwardAPIProjectionFluent<A extends DownwardAPIProjectionFluent<A>>
-
editItem
public DownwardAPIProjectionFluent.ItemsNested<A> editItem(int index)
- Specified by:
editItem
in interfaceDownwardAPIProjectionFluent<A extends DownwardAPIProjectionFluent<A>>
-
editFirstItem
public DownwardAPIProjectionFluent.ItemsNested<A> editFirstItem()
- Specified by:
editFirstItem
in interfaceDownwardAPIProjectionFluent<A extends DownwardAPIProjectionFluent<A>>
-
editLastItem
public DownwardAPIProjectionFluent.ItemsNested<A> editLastItem()
- Specified by:
editLastItem
in interfaceDownwardAPIProjectionFluent<A extends DownwardAPIProjectionFluent<A>>
-
editMatchingItem
public DownwardAPIProjectionFluent.ItemsNested<A> editMatchingItem(Predicate<DownwardAPIVolumeFileBuilder> predicate)
- Specified by:
editMatchingItem
in interfaceDownwardAPIProjectionFluent<A extends DownwardAPIProjectionFluent<A>>
-
-