public class PodListFluentImpl<A extends PodListFluent<A>> extends BaseFluent<A> implements PodListFluent<A>
Modifier and Type | Class and Description |
---|---|
class |
PodListFluentImpl.ItemsNestedImpl<N> |
class |
PodListFluentImpl.MetadataNestedImpl<N> |
PodListFluent.ItemsNested<N>, PodListFluent.MetadataNested<N>
_visitables
Constructor and Description |
---|
PodListFluentImpl() |
PodListFluentImpl(PodList instance) |
public PodListFluentImpl()
public PodListFluentImpl(PodList instance)
public String getApiVersion()
getApiVersion
in interface PodListFluent<A extends PodListFluent<A>>
public A withApiVersion(String apiVersion)
withApiVersion
in interface PodListFluent<A extends PodListFluent<A>>
public Boolean hasApiVersion()
hasApiVersion
in interface PodListFluent<A extends PodListFluent<A>>
public A addToItems(int index, Pod item)
addToItems
in interface PodListFluent<A extends PodListFluent<A>>
public A setToItems(int index, Pod item)
setToItems
in interface PodListFluent<A extends PodListFluent<A>>
public A addToItems(Pod... items)
addToItems
in interface PodListFluent<A extends PodListFluent<A>>
public A addAllToItems(Collection<Pod> items)
addAllToItems
in interface PodListFluent<A extends PodListFluent<A>>
public A removeFromItems(Pod... items)
removeFromItems
in interface PodListFluent<A extends PodListFluent<A>>
public A removeAllFromItems(Collection<Pod> items)
removeAllFromItems
in interface PodListFluent<A extends PodListFluent<A>>
@Deprecated public List<Pod> getItems()
getItems
in interface PodListFluent<A extends PodListFluent<A>>
public List<Pod> buildItems()
buildItems
in interface PodListFluent<A extends PodListFluent<A>>
public Pod buildItem(int index)
buildItem
in interface PodListFluent<A extends PodListFluent<A>>
public Pod buildFirstItem()
buildFirstItem
in interface PodListFluent<A extends PodListFluent<A>>
public Pod buildLastItem()
buildLastItem
in interface PodListFluent<A extends PodListFluent<A>>
public Pod buildMatchingItem(Predicate<PodBuilder> predicate)
buildMatchingItem
in interface PodListFluent<A extends PodListFluent<A>>
public A withItems(List<Pod> items)
withItems
in interface PodListFluent<A extends PodListFluent<A>>
public A withItems(Pod... items)
withItems
in interface PodListFluent<A extends PodListFluent<A>>
public Boolean hasItems()
hasItems
in interface PodListFluent<A extends PodListFluent<A>>
public PodListFluent.ItemsNested<A> addNewItem()
addNewItem
in interface PodListFluent<A extends PodListFluent<A>>
public PodListFluent.ItemsNested<A> addNewItemLike(Pod item)
addNewItemLike
in interface PodListFluent<A extends PodListFluent<A>>
public PodListFluent.ItemsNested<A> setNewItemLike(int index, Pod item)
setNewItemLike
in interface PodListFluent<A extends PodListFluent<A>>
public PodListFluent.ItemsNested<A> editItem(int index)
editItem
in interface PodListFluent<A extends PodListFluent<A>>
public PodListFluent.ItemsNested<A> editFirstItem()
editFirstItem
in interface PodListFluent<A extends PodListFluent<A>>
public PodListFluent.ItemsNested<A> editLastItem()
editLastItem
in interface PodListFluent<A extends PodListFluent<A>>
public PodListFluent.ItemsNested<A> editMatchingItem(Predicate<PodBuilder> predicate)
editMatchingItem
in interface PodListFluent<A extends PodListFluent<A>>
public String getKind()
getKind
in interface PodListFluent<A extends PodListFluent<A>>
public A withKind(String kind)
withKind
in interface PodListFluent<A extends PodListFluent<A>>
public Boolean hasKind()
hasKind
in interface PodListFluent<A extends PodListFluent<A>>
@Deprecated public ListMeta getMetadata()
getMetadata
in interface PodListFluent<A extends PodListFluent<A>>
public ListMeta buildMetadata()
buildMetadata
in interface PodListFluent<A extends PodListFluent<A>>
public A withMetadata(ListMeta metadata)
withMetadata
in interface PodListFluent<A extends PodListFluent<A>>
public Boolean hasMetadata()
hasMetadata
in interface PodListFluent<A extends PodListFluent<A>>
public PodListFluent.MetadataNested<A> withNewMetadata()
withNewMetadata
in interface PodListFluent<A extends PodListFluent<A>>
public PodListFluent.MetadataNested<A> withNewMetadataLike(ListMeta item)
withNewMetadataLike
in interface PodListFluent<A extends PodListFluent<A>>
public PodListFluent.MetadataNested<A> editMetadata()
editMetadata
in interface PodListFluent<A extends PodListFluent<A>>
public PodListFluent.MetadataNested<A> editOrNewMetadata()
editOrNewMetadata
in interface PodListFluent<A extends PodListFluent<A>>
public PodListFluent.MetadataNested<A> editOrNewMetadataLike(ListMeta item)
editOrNewMetadataLike
in interface PodListFluent<A extends PodListFluent<A>>
public A withNewMetadata(String resourceVersion, String selfLink)
withNewMetadata
in interface PodListFluent<A extends PodListFluent<A>>
Copyright © 2011–2017 Red Hat. All rights reserved.