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