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