Package io.fabric8.kubernetes.api.model
Class EndpointsListFluentImpl<A extends EndpointsListFluent<A>>
- java.lang.Object
-
- io.fabric8.kubernetes.api.builder.BaseFluent<A>
-
- io.fabric8.kubernetes.api.model.EndpointsListFluentImpl<A>
-
- All Implemented Interfaces:
Fluent<A>,Visitable<A>,EndpointsListFluent<A>
- Direct Known Subclasses:
EndpointsListBuilder,KubeSchemaFluentImpl.EndpointsListNestedImpl,WatchEventFluentImpl.EndpointsListObjectNestedImpl
public class EndpointsListFluentImpl<A extends EndpointsListFluent<A>> extends BaseFluent<A> implements EndpointsListFluent<A>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description classEndpointsListFluentImpl.ItemsNestedImpl<N>classEndpointsListFluentImpl.MetadataNestedImpl<N>-
Nested classes/interfaces inherited from interface io.fabric8.kubernetes.api.model.EndpointsListFluent
EndpointsListFluent.ItemsNested<N>, EndpointsListFluent.MetadataNested<N>
-
-
Field Summary
-
Fields inherited from class io.fabric8.kubernetes.api.builder.BaseFluent
_visitables
-
-
Constructor Summary
Constructors Constructor Description EndpointsListFluentImpl()EndpointsListFluentImpl(EndpointsList instance)
-
Method Summary
-
-
-
Constructor Detail
-
EndpointsListFluentImpl
public EndpointsListFluentImpl()
-
EndpointsListFluentImpl
public EndpointsListFluentImpl(EndpointsList instance)
-
-
Method Detail
-
getApiVersion
public String getApiVersion()
- Specified by:
getApiVersionin interfaceEndpointsListFluent<A extends EndpointsListFluent<A>>
-
withApiVersion
public A withApiVersion(String apiVersion)
- Specified by:
withApiVersionin interfaceEndpointsListFluent<A extends EndpointsListFluent<A>>
-
hasApiVersion
public Boolean hasApiVersion()
- Specified by:
hasApiVersionin interfaceEndpointsListFluent<A extends EndpointsListFluent<A>>
-
withNewApiVersion
public A withNewApiVersion(String arg1)
- Specified by:
withNewApiVersionin interfaceEndpointsListFluent<A extends EndpointsListFluent<A>>
-
withNewApiVersion
public A withNewApiVersion(StringBuilder arg1)
- Specified by:
withNewApiVersionin interfaceEndpointsListFluent<A extends EndpointsListFluent<A>>
-
withNewApiVersion
public A withNewApiVersion(StringBuffer arg1)
- Specified by:
withNewApiVersionin interfaceEndpointsListFluent<A extends EndpointsListFluent<A>>
-
addToItems
public A addToItems(int index, Endpoints item)
- Specified by:
addToItemsin interfaceEndpointsListFluent<A extends EndpointsListFluent<A>>
-
setToItems
public A setToItems(int index, Endpoints item)
- Specified by:
setToItemsin interfaceEndpointsListFluent<A extends EndpointsListFluent<A>>
-
addToItems
public A addToItems(Endpoints... items)
- Specified by:
addToItemsin interfaceEndpointsListFluent<A extends EndpointsListFluent<A>>
-
addAllToItems
public A addAllToItems(Collection<Endpoints> items)
- Specified by:
addAllToItemsin interfaceEndpointsListFluent<A extends EndpointsListFluent<A>>
-
removeFromItems
public A removeFromItems(Endpoints... items)
- Specified by:
removeFromItemsin interfaceEndpointsListFluent<A extends EndpointsListFluent<A>>
-
removeAllFromItems
public A removeAllFromItems(Collection<Endpoints> items)
- Specified by:
removeAllFromItemsin interfaceEndpointsListFluent<A extends EndpointsListFluent<A>>
-
removeMatchingFromItems
public A removeMatchingFromItems(Predicate<EndpointsBuilder> predicate)
- Specified by:
removeMatchingFromItemsin interfaceEndpointsListFluent<A extends EndpointsListFluent<A>>
-
getItems
@Deprecated public List<Endpoints> getItems()
Deprecated.This method has been deprecated, please use method buildItems instead.- Specified by:
getItemsin interfaceEndpointsListFluent<A extends EndpointsListFluent<A>>- Returns:
- The buildable object.
-
buildItems
public List<Endpoints> buildItems()
- Specified by:
buildItemsin interfaceEndpointsListFluent<A extends EndpointsListFluent<A>>
-
buildItem
public Endpoints buildItem(int index)
- Specified by:
buildItemin interfaceEndpointsListFluent<A extends EndpointsListFluent<A>>
-
buildFirstItem
public Endpoints buildFirstItem()
- Specified by:
buildFirstItemin interfaceEndpointsListFluent<A extends EndpointsListFluent<A>>
-
buildLastItem
public Endpoints buildLastItem()
- Specified by:
buildLastItemin interfaceEndpointsListFluent<A extends EndpointsListFluent<A>>
-
buildMatchingItem
public Endpoints buildMatchingItem(Predicate<EndpointsBuilder> predicate)
- Specified by:
buildMatchingItemin interfaceEndpointsListFluent<A extends EndpointsListFluent<A>>
-
hasMatchingItem
public Boolean hasMatchingItem(Predicate<EndpointsBuilder> predicate)
- Specified by:
hasMatchingItemin interfaceEndpointsListFluent<A extends EndpointsListFluent<A>>
-
withItems
public A withItems(List<Endpoints> items)
- Specified by:
withItemsin interfaceEndpointsListFluent<A extends EndpointsListFluent<A>>
-
withItems
public A withItems(Endpoints... items)
- Specified by:
withItemsin interfaceEndpointsListFluent<A extends EndpointsListFluent<A>>
-
hasItems
public Boolean hasItems()
- Specified by:
hasItemsin interfaceEndpointsListFluent<A extends EndpointsListFluent<A>>
-
addNewItem
public EndpointsListFluent.ItemsNested<A> addNewItem()
- Specified by:
addNewItemin interfaceEndpointsListFluent<A extends EndpointsListFluent<A>>
-
addNewItemLike
public EndpointsListFluent.ItemsNested<A> addNewItemLike(Endpoints item)
- Specified by:
addNewItemLikein interfaceEndpointsListFluent<A extends EndpointsListFluent<A>>
-
setNewItemLike
public EndpointsListFluent.ItemsNested<A> setNewItemLike(int index, Endpoints item)
- Specified by:
setNewItemLikein interfaceEndpointsListFluent<A extends EndpointsListFluent<A>>
-
editItem
public EndpointsListFluent.ItemsNested<A> editItem(int index)
- Specified by:
editItemin interfaceEndpointsListFluent<A extends EndpointsListFluent<A>>
-
editFirstItem
public EndpointsListFluent.ItemsNested<A> editFirstItem()
- Specified by:
editFirstItemin interfaceEndpointsListFluent<A extends EndpointsListFluent<A>>
-
editLastItem
public EndpointsListFluent.ItemsNested<A> editLastItem()
- Specified by:
editLastItemin interfaceEndpointsListFluent<A extends EndpointsListFluent<A>>
-
editMatchingItem
public EndpointsListFluent.ItemsNested<A> editMatchingItem(Predicate<EndpointsBuilder> predicate)
- Specified by:
editMatchingItemin interfaceEndpointsListFluent<A extends EndpointsListFluent<A>>
-
getKind
public String getKind()
- Specified by:
getKindin interfaceEndpointsListFluent<A extends EndpointsListFluent<A>>
-
withKind
public A withKind(String kind)
- Specified by:
withKindin interfaceEndpointsListFluent<A extends EndpointsListFluent<A>>
-
hasKind
public Boolean hasKind()
- Specified by:
hasKindin interfaceEndpointsListFluent<A extends EndpointsListFluent<A>>
-
withNewKind
public A withNewKind(String arg1)
- Specified by:
withNewKindin interfaceEndpointsListFluent<A extends EndpointsListFluent<A>>
-
withNewKind
public A withNewKind(StringBuilder arg1)
- Specified by:
withNewKindin interfaceEndpointsListFluent<A extends EndpointsListFluent<A>>
-
withNewKind
public A withNewKind(StringBuffer arg1)
- Specified by:
withNewKindin interfaceEndpointsListFluent<A extends EndpointsListFluent<A>>
-
getMetadata
@Deprecated public ListMeta getMetadata()
Deprecated.This method has been deprecated, please use method buildMetadata instead.- Specified by:
getMetadatain interfaceEndpointsListFluent<A extends EndpointsListFluent<A>>- Returns:
- The buildable object.
-
buildMetadata
public ListMeta buildMetadata()
- Specified by:
buildMetadatain interfaceEndpointsListFluent<A extends EndpointsListFluent<A>>
-
withMetadata
public A withMetadata(ListMeta metadata)
- Specified by:
withMetadatain interfaceEndpointsListFluent<A extends EndpointsListFluent<A>>
-
hasMetadata
public Boolean hasMetadata()
- Specified by:
hasMetadatain interfaceEndpointsListFluent<A extends EndpointsListFluent<A>>
-
withNewMetadata
public A withNewMetadata(String _continue, Long remainingItemCount, String resourceVersion, String selfLink)
- Specified by:
withNewMetadatain interfaceEndpointsListFluent<A extends EndpointsListFluent<A>>
-
withNewMetadata
public EndpointsListFluent.MetadataNested<A> withNewMetadata()
- Specified by:
withNewMetadatain interfaceEndpointsListFluent<A extends EndpointsListFluent<A>>
-
withNewMetadataLike
public EndpointsListFluent.MetadataNested<A> withNewMetadataLike(ListMeta item)
- Specified by:
withNewMetadataLikein interfaceEndpointsListFluent<A extends EndpointsListFluent<A>>
-
editMetadata
public EndpointsListFluent.MetadataNested<A> editMetadata()
- Specified by:
editMetadatain interfaceEndpointsListFluent<A extends EndpointsListFluent<A>>
-
editOrNewMetadata
public EndpointsListFluent.MetadataNested<A> editOrNewMetadata()
- Specified by:
editOrNewMetadatain interfaceEndpointsListFluent<A extends EndpointsListFluent<A>>
-
editOrNewMetadataLike
public EndpointsListFluent.MetadataNested<A> editOrNewMetadataLike(ListMeta item)
- Specified by:
editOrNewMetadataLikein interfaceEndpointsListFluent<A extends EndpointsListFluent<A>>
-
-