Class V1LimitRangeItem

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

@Generated("io.micronaut.openapi.generator.JavaMicronautClientCodegen") public class V1LimitRangeItem extends Object
LimitRangeItem defines a min/max usage limit for any resource that matches on kind.
  • Field Details

  • Constructor Details

    • V1LimitRangeItem

      public V1LimitRangeItem(String type)
  • Method Details

    • getType

      public String getType()
      Type of resource that this limit applies to.
      Returns:
      the type property value
    • setType

      public void setType(String type)
      Set the type property value
      Parameters:
      type - property value to set
    • type

      public V1LimitRangeItem type(String type)
      Set type in a chainable fashion.
      Returns:
      The same instance of V1LimitRangeItem for chaining.
    • get_default

      public Map<String,@NotNull String> get_default()
      Default resource requirement limit value by resource name if resource limit is omitted.
      Returns:
      the _default property value
    • set_default

      public void set_default(Map<String,@NotNull String> _default)
      Set the _default property value
      Parameters:
      _default - property value to set
    • _default

      public V1LimitRangeItem _default(Map<String,@NotNull String> _default)
      Set _default in a chainable fashion.
      Returns:
      The same instance of V1LimitRangeItem for chaining.
    • putDefaultItem

      public V1LimitRangeItem putDefaultItem(String key, String _defaultItem)
      Set the value for the key for the _default map property in a chainable fashion.
      Returns:
      The same instance of V1LimitRangeItem for chaining.
    • getDefaultRequest

      public Map<String,@NotNull String> getDefaultRequest()
      DefaultRequest is the default resource requirement request value by resource name if resource request is omitted.
      Returns:
      the defaultRequest property value
    • setDefaultRequest

      public void setDefaultRequest(Map<String,@NotNull String> defaultRequest)
      Set the defaultRequest property value
      Parameters:
      defaultRequest - property value to set
    • defaultRequest

      public V1LimitRangeItem defaultRequest(Map<String,@NotNull String> defaultRequest)
      Set defaultRequest in a chainable fashion.
      Returns:
      The same instance of V1LimitRangeItem for chaining.
    • putdefaultRequestItem

      public V1LimitRangeItem putdefaultRequestItem(String key, String defaultRequestItem)
      Set the value for the key for the defaultRequest map property in a chainable fashion.
      Returns:
      The same instance of V1LimitRangeItem for chaining.
    • getMax

      public Map<String,@NotNull String> getMax()
      Max usage constraints on this kind by resource name.
      Returns:
      the max property value
    • setMax

      public void setMax(Map<String,@NotNull String> max)
      Set the max property value
      Parameters:
      max - property value to set
    • max

      public V1LimitRangeItem max(Map<String,@NotNull String> max)
      Set max in a chainable fashion.
      Returns:
      The same instance of V1LimitRangeItem for chaining.
    • putmaxItem

      public V1LimitRangeItem putmaxItem(String key, String maxItem)
      Set the value for the key for the max map property in a chainable fashion.
      Returns:
      The same instance of V1LimitRangeItem for chaining.
    • getMaxLimitRequestRatio

      public Map<String,@NotNull String> getMaxLimitRequestRatio()
      MaxLimitRequestRatio if specified, the named resource must have a request and limit that are both non-zero where limit divided by request is less than or equal to the enumerated value; this represents the max burst for the named resource.
      Returns:
      the maxLimitRequestRatio property value
    • setMaxLimitRequestRatio

      public void setMaxLimitRequestRatio(Map<String,@NotNull String> maxLimitRequestRatio)
      Set the maxLimitRequestRatio property value
      Parameters:
      maxLimitRequestRatio - property value to set
    • maxLimitRequestRatio

      public V1LimitRangeItem maxLimitRequestRatio(Map<String,@NotNull String> maxLimitRequestRatio)
      Set maxLimitRequestRatio in a chainable fashion.
      Returns:
      The same instance of V1LimitRangeItem for chaining.
    • putmaxLimitRequestRatioItem

      public V1LimitRangeItem putmaxLimitRequestRatioItem(String key, String maxLimitRequestRatioItem)
      Set the value for the key for the maxLimitRequestRatio map property in a chainable fashion.
      Returns:
      The same instance of V1LimitRangeItem for chaining.
    • getMin

      public Map<String,@NotNull String> getMin()
      Min usage constraints on this kind by resource name.
      Returns:
      the min property value
    • setMin

      public void setMin(Map<String,@NotNull String> min)
      Set the min property value
      Parameters:
      min - property value to set
    • min

      public V1LimitRangeItem min(Map<String,@NotNull String> min)
      Set min in a chainable fashion.
      Returns:
      The same instance of V1LimitRangeItem for chaining.
    • putminItem

      public V1LimitRangeItem putminItem(String key, String minItem)
      Set the value for the key for the min map property in a chainable fashion.
      Returns:
      The same instance of V1LimitRangeItem 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