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