Class V1TopologySelectorTerm

java.lang.Object
io.micronaut.kubernetes.client.openapi.model.V1TopologySelectorTerm

@Generated("io.micronaut.openapi.generator.JavaMicronautClientCodegen") public class V1TopologySelectorTerm extends Object
A topology selector term represents the result of label queries. A null or empty topology selector term matches no objects. The requirements of them are ANDed. It provides a subset of functionality as NodeSelectorTerm. This is an alpha feature and may change in the future.
  • Field Details

    • JSON_PROPERTY_MATCH_LABEL_EXPRESSIONS

      public static final String JSON_PROPERTY_MATCH_LABEL_EXPRESSIONS
      See Also:
  • Constructor Details

    • V1TopologySelectorTerm

      public V1TopologySelectorTerm()
  • Method Details

    • getMatchLabelExpressions

      public List<@Valid V1TopologySelectorLabelRequirement> getMatchLabelExpressions()
      A list of topology selector requirements by labels.
      Returns:
      the matchLabelExpressions property value
    • setMatchLabelExpressions

      public void setMatchLabelExpressions(List<@Valid V1TopologySelectorLabelRequirement> matchLabelExpressions)
      Set the matchLabelExpressions property value
      Parameters:
      matchLabelExpressions - property value to set
    • matchLabelExpressions

      public V1TopologySelectorTerm matchLabelExpressions(List<@Valid V1TopologySelectorLabelRequirement> matchLabelExpressions)
      Set matchLabelExpressions in a chainable fashion.
      Returns:
      The same instance of V1TopologySelectorTerm for chaining.
    • addmatchLabelExpressionsItem

      public V1TopologySelectorTerm addmatchLabelExpressionsItem(V1TopologySelectorLabelRequirement matchLabelExpressionsItem)
      Add an item to the matchLabelExpressions property in a chainable fashion.
      Returns:
      The same instance of V1TopologySelectorTerm 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