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