Class V1LimitRangeSpec

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

@Generated("io.micronaut.openapi.generator.JavaMicronautClientCodegen") public class V1LimitRangeSpec extends Object
LimitRangeSpec defines a min/max usage limit for resources that match on kind.
  • Field Details

  • Constructor Details

  • Method Details

    • getLimits

      public List<@Valid V1LimitRangeItem> getLimits()
      Limits is the list of LimitRangeItem objects that are enforced.
      Returns:
      the limits property value
    • setLimits

      public void setLimits(List<@Valid V1LimitRangeItem> limits)
      Set the limits property value
    • limits

      public V1LimitRangeSpec limits(List<@Valid V1LimitRangeItem> limits)
      Set limits in a chainable fashion.
      Returns:
      The same instance of V1LimitRangeSpec for chaining.
    • addlimitsItem

      public V1LimitRangeSpec addlimitsItem(V1LimitRangeItem limitsItem)
      Add an item to the limits property in a chainable fashion.
      Returns:
      The same instance of V1LimitRangeSpec 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