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