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 Details

  • Constructor Details

  • Method Details

    • getNodeSelectorTerms

      public List<@Valid V1NodeSelectorTerm> getNodeSelectorTerms()
      Required. A list of node selector terms. The terms are ORed.
      Returns:
      the nodeSelectorTerms property value
    • setNodeSelectorTerms

      public void setNodeSelectorTerms(List<@Valid V1NodeSelectorTerm> nodeSelectorTerms)
      Set the nodeSelectorTerms property value
      Parameters:
      nodeSelectorTerms - property value to set
    • nodeSelectorTerms

      public V1NodeSelector nodeSelectorTerms(List<@Valid V1NodeSelectorTerm> nodeSelectorTerms)
      Set nodeSelectorTerms in a chainable fashion.
      Returns:
      The same instance of V1NodeSelector for chaining.
    • addnodeSelectorTermsItem

      public V1NodeSelector addnodeSelectorTermsItem(V1NodeSelectorTerm nodeSelectorTermsItem)
      Add an item to the nodeSelectorTerms property in a chainable fashion.
      Returns:
      The same instance of V1NodeSelector for chaining.
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object