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<@NotNull 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
      Parameters:
      key - property value to set
    • key

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

      public List<@NotNull 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<@NotNull String> values)
      Set the values property value
      Parameters:
      values - property value to set
    • values

      public V1TopologySelectorLabelRequirement values(List<@NotNull String> 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