Package io.fabric8.kubernetes.api.model
Class NodeSelectorTermFluentImpl<A extends NodeSelectorTermFluent<A>>
- java.lang.Object
-
- io.fabric8.kubernetes.api.builder.BaseFluent<A>
-
- io.fabric8.kubernetes.api.model.NodeSelectorTermFluentImpl<A>
-
- All Implemented Interfaces:
Fluent<A>
,Visitable<A>
,NodeSelectorTermFluent<A>
- Direct Known Subclasses:
NodeSelectorFluentImpl.NodeSelectorTermsNestedImpl
,NodeSelectorTermBuilder
,PreferredSchedulingTermFluentImpl.PreferenceNestedImpl
,WatchEventFluentImpl.NodeSelectorTermObjectNestedImpl
public class NodeSelectorTermFluentImpl<A extends NodeSelectorTermFluent<A>> extends BaseFluent<A> implements NodeSelectorTermFluent<A>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description class
NodeSelectorTermFluentImpl.MatchExpressionsNestedImpl<N>
class
NodeSelectorTermFluentImpl.MatchFieldsNestedImpl<N>
-
Nested classes/interfaces inherited from interface io.fabric8.kubernetes.api.model.NodeSelectorTermFluent
NodeSelectorTermFluent.MatchExpressionsNested<N>, NodeSelectorTermFluent.MatchFieldsNested<N>
-
-
Field Summary
-
Fields inherited from class io.fabric8.kubernetes.api.builder.BaseFluent
_visitables
-
-
Constructor Summary
Constructors Constructor Description NodeSelectorTermFluentImpl()
NodeSelectorTermFluentImpl(NodeSelectorTerm instance)
-
Method Summary
-
-
-
Constructor Detail
-
NodeSelectorTermFluentImpl
public NodeSelectorTermFluentImpl()
-
NodeSelectorTermFluentImpl
public NodeSelectorTermFluentImpl(NodeSelectorTerm instance)
-
-
Method Detail
-
addToMatchExpressions
public A addToMatchExpressions(int index, NodeSelectorRequirement item)
- Specified by:
addToMatchExpressions
in interfaceNodeSelectorTermFluent<A extends NodeSelectorTermFluent<A>>
-
setToMatchExpressions
public A setToMatchExpressions(int index, NodeSelectorRequirement item)
- Specified by:
setToMatchExpressions
in interfaceNodeSelectorTermFluent<A extends NodeSelectorTermFluent<A>>
-
addToMatchExpressions
public A addToMatchExpressions(NodeSelectorRequirement... items)
- Specified by:
addToMatchExpressions
in interfaceNodeSelectorTermFluent<A extends NodeSelectorTermFluent<A>>
-
addAllToMatchExpressions
public A addAllToMatchExpressions(Collection<NodeSelectorRequirement> items)
- Specified by:
addAllToMatchExpressions
in interfaceNodeSelectorTermFluent<A extends NodeSelectorTermFluent<A>>
-
removeFromMatchExpressions
public A removeFromMatchExpressions(NodeSelectorRequirement... items)
- Specified by:
removeFromMatchExpressions
in interfaceNodeSelectorTermFluent<A extends NodeSelectorTermFluent<A>>
-
removeAllFromMatchExpressions
public A removeAllFromMatchExpressions(Collection<NodeSelectorRequirement> items)
- Specified by:
removeAllFromMatchExpressions
in interfaceNodeSelectorTermFluent<A extends NodeSelectorTermFluent<A>>
-
removeMatchingFromMatchExpressions
public A removeMatchingFromMatchExpressions(Predicate<NodeSelectorRequirementBuilder> predicate)
- Specified by:
removeMatchingFromMatchExpressions
in interfaceNodeSelectorTermFluent<A extends NodeSelectorTermFluent<A>>
-
getMatchExpressions
@Deprecated public List<NodeSelectorRequirement> getMatchExpressions()
Deprecated.This method has been deprecated, please use method buildMatchExpressions instead.- Specified by:
getMatchExpressions
in interfaceNodeSelectorTermFluent<A extends NodeSelectorTermFluent<A>>
- Returns:
- The buildable object.
-
buildMatchExpressions
public List<NodeSelectorRequirement> buildMatchExpressions()
- Specified by:
buildMatchExpressions
in interfaceNodeSelectorTermFluent<A extends NodeSelectorTermFluent<A>>
-
buildMatchExpression
public NodeSelectorRequirement buildMatchExpression(int index)
- Specified by:
buildMatchExpression
in interfaceNodeSelectorTermFluent<A extends NodeSelectorTermFluent<A>>
-
buildFirstMatchExpression
public NodeSelectorRequirement buildFirstMatchExpression()
- Specified by:
buildFirstMatchExpression
in interfaceNodeSelectorTermFluent<A extends NodeSelectorTermFluent<A>>
-
buildLastMatchExpression
public NodeSelectorRequirement buildLastMatchExpression()
- Specified by:
buildLastMatchExpression
in interfaceNodeSelectorTermFluent<A extends NodeSelectorTermFluent<A>>
-
buildMatchingMatchExpression
public NodeSelectorRequirement buildMatchingMatchExpression(Predicate<NodeSelectorRequirementBuilder> predicate)
- Specified by:
buildMatchingMatchExpression
in interfaceNodeSelectorTermFluent<A extends NodeSelectorTermFluent<A>>
-
hasMatchingMatchExpression
public Boolean hasMatchingMatchExpression(Predicate<NodeSelectorRequirementBuilder> predicate)
- Specified by:
hasMatchingMatchExpression
in interfaceNodeSelectorTermFluent<A extends NodeSelectorTermFluent<A>>
-
withMatchExpressions
public A withMatchExpressions(List<NodeSelectorRequirement> matchExpressions)
- Specified by:
withMatchExpressions
in interfaceNodeSelectorTermFluent<A extends NodeSelectorTermFluent<A>>
-
withMatchExpressions
public A withMatchExpressions(NodeSelectorRequirement... matchExpressions)
- Specified by:
withMatchExpressions
in interfaceNodeSelectorTermFluent<A extends NodeSelectorTermFluent<A>>
-
hasMatchExpressions
public Boolean hasMatchExpressions()
- Specified by:
hasMatchExpressions
in interfaceNodeSelectorTermFluent<A extends NodeSelectorTermFluent<A>>
-
addNewMatchExpression
public NodeSelectorTermFluent.MatchExpressionsNested<A> addNewMatchExpression()
- Specified by:
addNewMatchExpression
in interfaceNodeSelectorTermFluent<A extends NodeSelectorTermFluent<A>>
-
addNewMatchExpressionLike
public NodeSelectorTermFluent.MatchExpressionsNested<A> addNewMatchExpressionLike(NodeSelectorRequirement item)
- Specified by:
addNewMatchExpressionLike
in interfaceNodeSelectorTermFluent<A extends NodeSelectorTermFluent<A>>
-
setNewMatchExpressionLike
public NodeSelectorTermFluent.MatchExpressionsNested<A> setNewMatchExpressionLike(int index, NodeSelectorRequirement item)
- Specified by:
setNewMatchExpressionLike
in interfaceNodeSelectorTermFluent<A extends NodeSelectorTermFluent<A>>
-
editMatchExpression
public NodeSelectorTermFluent.MatchExpressionsNested<A> editMatchExpression(int index)
- Specified by:
editMatchExpression
in interfaceNodeSelectorTermFluent<A extends NodeSelectorTermFluent<A>>
-
editFirstMatchExpression
public NodeSelectorTermFluent.MatchExpressionsNested<A> editFirstMatchExpression()
- Specified by:
editFirstMatchExpression
in interfaceNodeSelectorTermFluent<A extends NodeSelectorTermFluent<A>>
-
editLastMatchExpression
public NodeSelectorTermFluent.MatchExpressionsNested<A> editLastMatchExpression()
- Specified by:
editLastMatchExpression
in interfaceNodeSelectorTermFluent<A extends NodeSelectorTermFluent<A>>
-
editMatchingMatchExpression
public NodeSelectorTermFluent.MatchExpressionsNested<A> editMatchingMatchExpression(Predicate<NodeSelectorRequirementBuilder> predicate)
- Specified by:
editMatchingMatchExpression
in interfaceNodeSelectorTermFluent<A extends NodeSelectorTermFluent<A>>
-
addToMatchFields
public A addToMatchFields(int index, NodeSelectorRequirement item)
- Specified by:
addToMatchFields
in interfaceNodeSelectorTermFluent<A extends NodeSelectorTermFluent<A>>
-
setToMatchFields
public A setToMatchFields(int index, NodeSelectorRequirement item)
- Specified by:
setToMatchFields
in interfaceNodeSelectorTermFluent<A extends NodeSelectorTermFluent<A>>
-
addToMatchFields
public A addToMatchFields(NodeSelectorRequirement... items)
- Specified by:
addToMatchFields
in interfaceNodeSelectorTermFluent<A extends NodeSelectorTermFluent<A>>
-
addAllToMatchFields
public A addAllToMatchFields(Collection<NodeSelectorRequirement> items)
- Specified by:
addAllToMatchFields
in interfaceNodeSelectorTermFluent<A extends NodeSelectorTermFluent<A>>
-
removeFromMatchFields
public A removeFromMatchFields(NodeSelectorRequirement... items)
- Specified by:
removeFromMatchFields
in interfaceNodeSelectorTermFluent<A extends NodeSelectorTermFluent<A>>
-
removeAllFromMatchFields
public A removeAllFromMatchFields(Collection<NodeSelectorRequirement> items)
- Specified by:
removeAllFromMatchFields
in interfaceNodeSelectorTermFluent<A extends NodeSelectorTermFluent<A>>
-
removeMatchingFromMatchFields
public A removeMatchingFromMatchFields(Predicate<NodeSelectorRequirementBuilder> predicate)
- Specified by:
removeMatchingFromMatchFields
in interfaceNodeSelectorTermFluent<A extends NodeSelectorTermFluent<A>>
-
getMatchFields
@Deprecated public List<NodeSelectorRequirement> getMatchFields()
Deprecated.This method has been deprecated, please use method buildMatchFields instead.- Specified by:
getMatchFields
in interfaceNodeSelectorTermFluent<A extends NodeSelectorTermFluent<A>>
- Returns:
- The buildable object.
-
buildMatchFields
public List<NodeSelectorRequirement> buildMatchFields()
- Specified by:
buildMatchFields
in interfaceNodeSelectorTermFluent<A extends NodeSelectorTermFluent<A>>
-
buildMatchField
public NodeSelectorRequirement buildMatchField(int index)
- Specified by:
buildMatchField
in interfaceNodeSelectorTermFluent<A extends NodeSelectorTermFluent<A>>
-
buildFirstMatchField
public NodeSelectorRequirement buildFirstMatchField()
- Specified by:
buildFirstMatchField
in interfaceNodeSelectorTermFluent<A extends NodeSelectorTermFluent<A>>
-
buildLastMatchField
public NodeSelectorRequirement buildLastMatchField()
- Specified by:
buildLastMatchField
in interfaceNodeSelectorTermFluent<A extends NodeSelectorTermFluent<A>>
-
buildMatchingMatchField
public NodeSelectorRequirement buildMatchingMatchField(Predicate<NodeSelectorRequirementBuilder> predicate)
- Specified by:
buildMatchingMatchField
in interfaceNodeSelectorTermFluent<A extends NodeSelectorTermFluent<A>>
-
hasMatchingMatchField
public Boolean hasMatchingMatchField(Predicate<NodeSelectorRequirementBuilder> predicate)
- Specified by:
hasMatchingMatchField
in interfaceNodeSelectorTermFluent<A extends NodeSelectorTermFluent<A>>
-
withMatchFields
public A withMatchFields(List<NodeSelectorRequirement> matchFields)
- Specified by:
withMatchFields
in interfaceNodeSelectorTermFluent<A extends NodeSelectorTermFluent<A>>
-
withMatchFields
public A withMatchFields(NodeSelectorRequirement... matchFields)
- Specified by:
withMatchFields
in interfaceNodeSelectorTermFluent<A extends NodeSelectorTermFluent<A>>
-
hasMatchFields
public Boolean hasMatchFields()
- Specified by:
hasMatchFields
in interfaceNodeSelectorTermFluent<A extends NodeSelectorTermFluent<A>>
-
addNewMatchField
public NodeSelectorTermFluent.MatchFieldsNested<A> addNewMatchField()
- Specified by:
addNewMatchField
in interfaceNodeSelectorTermFluent<A extends NodeSelectorTermFluent<A>>
-
addNewMatchFieldLike
public NodeSelectorTermFluent.MatchFieldsNested<A> addNewMatchFieldLike(NodeSelectorRequirement item)
- Specified by:
addNewMatchFieldLike
in interfaceNodeSelectorTermFluent<A extends NodeSelectorTermFluent<A>>
-
setNewMatchFieldLike
public NodeSelectorTermFluent.MatchFieldsNested<A> setNewMatchFieldLike(int index, NodeSelectorRequirement item)
- Specified by:
setNewMatchFieldLike
in interfaceNodeSelectorTermFluent<A extends NodeSelectorTermFluent<A>>
-
editMatchField
public NodeSelectorTermFluent.MatchFieldsNested<A> editMatchField(int index)
- Specified by:
editMatchField
in interfaceNodeSelectorTermFluent<A extends NodeSelectorTermFluent<A>>
-
editFirstMatchField
public NodeSelectorTermFluent.MatchFieldsNested<A> editFirstMatchField()
- Specified by:
editFirstMatchField
in interfaceNodeSelectorTermFluent<A extends NodeSelectorTermFluent<A>>
-
editLastMatchField
public NodeSelectorTermFluent.MatchFieldsNested<A> editLastMatchField()
- Specified by:
editLastMatchField
in interfaceNodeSelectorTermFluent<A extends NodeSelectorTermFluent<A>>
-
editMatchingMatchField
public NodeSelectorTermFluent.MatchFieldsNested<A> editMatchingMatchField(Predicate<NodeSelectorRequirementBuilder> predicate)
- Specified by:
editMatchingMatchField
in interfaceNodeSelectorTermFluent<A extends NodeSelectorTermFluent<A>>
-
-