Class V1TopologySelectorLabelRequirement

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

@Generated("io.micronaut.openapi.generator.JavaMicronautClientCodegen") public class V1TopologySelectorLabelRequirement extends Object
A topology selector requirement is a selector that matches given label. This is an alpha feature and may change in the future.
  • Field Details

  • Constructor Details

    • V1TopologySelectorLabelRequirement

      public V1TopologySelectorLabelRequirement(String key, List<String> values)
  • Method Details

    • getKey

      public String getKey()
      The label key that the selector applies to.
      Returns:
      the key property value
    • setKey

      public void setKey(String key)
      Set the key property value
    • key

      Set key in a chainable fashion.
      Returns:
      The same instance of V1TopologySelectorLabelRequirement for chaining.
    • getValues

      public List<String> getValues()
      An array of string values. One value must match the label to be selected. Each entry in Values is ORed.
      Returns:
      the values property value
    • setValues

      public void setValues(List<String> values)
      Set the values property value
    • values

      Set values in a chainable fashion.
      Returns:
      The same instance of V1TopologySelectorLabelRequirement for chaining.
    • addvaluesItem

      public V1TopologySelectorLabelRequirement addvaluesItem(String valuesItem)
      Add an item to the values property in a chainable fashion.
      Returns:
      The same instance of V1TopologySelectorLabelRequirement 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