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