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