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