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