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 Details

  • Constructor Details

    • V1NodeSelectorTerm

      public V1NodeSelectorTerm()
  • Method Details

    • getMatchExpressions

      public List<@Valid V1NodeSelectorRequirement> getMatchExpressions()
      A list of node selector requirements by node's labels.
      Returns:
      the matchExpressions property value
    • setMatchExpressions

      public void setMatchExpressions(List<@Valid V1NodeSelectorRequirement> matchExpressions)
      Set the matchExpressions property value
    • matchExpressions

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

      public V1NodeSelectorTerm addmatchExpressionsItem(V1NodeSelectorRequirement matchExpressionsItem)
      Add an item to the matchExpressions property in a chainable fashion.
      Returns:
      The same instance of V1NodeSelectorTerm for chaining.
    • getMatchFields

      public List<@Valid V1NodeSelectorRequirement> getMatchFields()
      A list of node selector requirements by node's fields.
      Returns:
      the matchFields property value
    • setMatchFields

      public void setMatchFields(List<@Valid V1NodeSelectorRequirement> matchFields)
      Set the matchFields property value
    • matchFields

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

      public V1NodeSelectorTerm addmatchFieldsItem(V1NodeSelectorRequirement matchFieldsItem)
      Add an item to the matchFields property in a chainable fashion.
      Returns:
      The same instance of V1NodeSelectorTerm 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