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