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