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

    • get_default

      public Map<String,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,String> _default)
      Set the _default property value
    • _default

      public V1LimitRangeItem _default(Map<String,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,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,String> defaultRequest)
      Set the defaultRequest property value
    • defaultRequest

      public V1LimitRangeItem defaultRequest(Map<String,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,String> getMax()
      Max usage constraints on this kind by resource name.
      Returns:
      the max property value
    • setMax

      public void setMax(Map<String,String> max)
      Set the max property value
    • max

      public V1LimitRangeItem max(Map<String,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,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,String> maxLimitRequestRatio)
      Set the maxLimitRequestRatio property value
    • maxLimitRequestRatio

      public V1LimitRangeItem maxLimitRequestRatio(Map<String,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,String> getMin()
      Min usage constraints on this kind by resource name.
      Returns:
      the min property value
    • setMin

      public void setMin(Map<String,String> min)
      Set the min property value
    • min

      public V1LimitRangeItem min(Map<String,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.
    • 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
    • type

      public V1LimitRangeItem type(String type)
      Set type 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