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