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