Class V1NodeSelectorTerm
java.lang.Object
io.micronaut.kubernetes.client.openapi.model.V1NodeSelectorTerm
@Generated("io.micronaut.openapi.generator.JavaMicronautClientCodegen")
public class V1NodeSelectorTerm
extends Object
A null or empty node selector term matches no objects. The requirements of them are ANDed. The TopologySelectorTerm type implements a subset of the NodeSelectorTerm.
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionaddmatchExpressionsItem
(V1NodeSelectorRequirement matchExpressionsItem) Add an item to the matchExpressions property in a chainable fashion.addmatchFieldsItem
(V1NodeSelectorRequirement matchFieldsItem) Add an item to the matchFields property in a chainable fashion.boolean
List<@Valid V1NodeSelectorRequirement>
A list of node selector requirements by node's labels.List<@Valid V1NodeSelectorRequirement>
A list of node selector requirements by node's fields.int
hashCode()
matchExpressions
(List<@Valid V1NodeSelectorRequirement> matchExpressions) Set matchExpressions in a chainable fashion.matchFields
(List<@Valid V1NodeSelectorRequirement> matchFields) Set matchFields in a chainable fashion.void
setMatchExpressions
(List<@Valid V1NodeSelectorRequirement> matchExpressions) Set the matchExpressions property valuevoid
setMatchFields
(List<@Valid V1NodeSelectorRequirement> matchFields) Set the matchFields property valuetoString()
-
Field Details
-
JSON_PROPERTY_MATCH_EXPRESSIONS
- See Also:
-
JSON_PROPERTY_MATCH_FIELDS
- See Also:
-
-
Constructor Details
-
V1NodeSelectorTerm
public V1NodeSelectorTerm()
-
-
Method Details
-
getMatchExpressions
A list of node selector requirements by node's labels.- Returns:
- the matchExpressions property value
-
setMatchExpressions
Set the matchExpressions property value- Parameters:
matchExpressions
- property value to set
-
matchExpressions
Set matchExpressions in a chainable fashion.- Returns:
- The same instance of V1NodeSelectorTerm for chaining.
-
addmatchExpressionsItem
Add an item to the matchExpressions property in a chainable fashion.- Returns:
- The same instance of V1NodeSelectorTerm for chaining.
-
getMatchFields
A list of node selector requirements by node's fields.- Returns:
- the matchFields property value
-
setMatchFields
Set the matchFields property value- Parameters:
matchFields
- property value to set
-
matchFields
Set matchFields in a chainable fashion.- Returns:
- The same instance of V1NodeSelectorTerm for chaining.
-
addmatchFieldsItem
Add an item to the matchFields property in a chainable fashion.- Returns:
- The same instance of V1NodeSelectorTerm for chaining.
-
equals
-
hashCode
public int hashCode() -
toString
-