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