Class V1NodeSelector
java.lang.Object
io.micronaut.kubernetes.client.openapi.model.V1NodeSelector
@Generated("io.micronaut.openapi.generator.JavaMicronautClientCodegen")
public class V1NodeSelector
extends Object
A node selector represents the union of the results of one or more label queries over a set of nodes; that is, it represents the OR of the selectors represented by the node selector terms.
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionaddnodeSelectorTermsItem
(V1NodeSelectorTerm nodeSelectorTermsItem) Add an item to the nodeSelectorTerms property in a chainable fashion.boolean
List<@Valid V1NodeSelectorTerm>
Required.int
hashCode()
nodeSelectorTerms
(List<@Valid V1NodeSelectorTerm> nodeSelectorTerms) Set nodeSelectorTerms in a chainable fashion.void
setNodeSelectorTerms
(List<@Valid V1NodeSelectorTerm> nodeSelectorTerms) Set the nodeSelectorTerms property valuetoString()
-
Field Details
-
JSON_PROPERTY_NODE_SELECTOR_TERMS
- See Also:
-
-
Constructor Details
-
V1NodeSelector
-
-
Method Details
-
getNodeSelectorTerms
Required. A list of node selector terms. The terms are ORed.- Returns:
- the nodeSelectorTerms property value
-
setNodeSelectorTerms
Set the nodeSelectorTerms property value- Parameters:
nodeSelectorTerms
- property value to set
-
nodeSelectorTerms
Set nodeSelectorTerms in a chainable fashion.- Returns:
- The same instance of V1NodeSelector for chaining.
-
addnodeSelectorTermsItem
Add an item to the nodeSelectorTerms property in a chainable fashion.- Returns:
- The same instance of V1NodeSelector for chaining.
-
equals
-
hashCode
public int hashCode() -
toString
-