Class V1NodeSelectorTerm
java.lang.Object
io.kubernetes.client.openapi.models.V1NodeSelectorTerm
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2024-02-02T21:37:40.170033Z[Etc/UTC]")
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
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddMatchExpressionsItem
(V1NodeSelectorRequirement matchExpressionsItem) addMatchFieldsItem
(V1NodeSelectorRequirement matchFieldsItem) boolean
A list of node selector requirements by node's labels.A list of node selector requirements by node's fields.int
hashCode()
matchExpressions
(List<V1NodeSelectorRequirement> matchExpressions) matchFields
(List<V1NodeSelectorRequirement> matchFields) void
setMatchExpressions
(List<V1NodeSelectorRequirement> matchExpressions) void
setMatchFields
(List<V1NodeSelectorRequirement> matchFields) toString()
-
Field Details
-
SERIALIZED_NAME_MATCH_EXPRESSIONS
- See Also:
-
SERIALIZED_NAME_MATCH_FIELDS
- See Also:
-
-
Constructor Details
-
V1NodeSelectorTerm
public V1NodeSelectorTerm()
-
-
Method Details
-
matchExpressions
-
addMatchExpressionsItem
-
getMatchExpressions
A list of node selector requirements by node's labels.- Returns:
- matchExpressions
-
setMatchExpressions
-
matchFields
-
addMatchFieldsItem
-
getMatchFields
A list of node selector requirements by node's fields.- Returns:
- matchFields
-
setMatchFields
-
equals
-
hashCode
public int hashCode() -
toString
-