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 Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionSet _default in a chainable fashion.defaultRequest
(Map<String, @NotNull String> defaultRequest) Set defaultRequest in a chainable fashion.boolean
Default resource requirement limit value by resource name if resource limit is omitted.DefaultRequest is the default resource requirement request value by resource name if resource request is omitted.getMax()
Max usage constraints on this kind by resource name.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.getMin()
Min usage constraints on this kind by resource name.getType()
Type of resource that this limit applies to.int
hashCode()
Set max in a chainable fashion.maxLimitRequestRatio
(Map<String, @NotNull String> maxLimitRequestRatio) Set maxLimitRequestRatio in a chainable fashion.Set min in a chainable fashion.putDefaultItem
(String key, String _defaultItem) Set the value for the key for the _default map property in a chainable fashion.putdefaultRequestItem
(String key, String defaultRequestItem) Set the value for the key for the defaultRequest map property in a chainable fashion.putmaxItem
(String key, String maxItem) Set the value for the key for the max map property in a chainable fashion.putmaxLimitRequestRatioItem
(String key, String maxLimitRequestRatioItem) Set the value for the key for the maxLimitRequestRatio map property in a chainable fashion.putminItem
(String key, String minItem) Set the value for the key for the min map property in a chainable fashion.void
set_default
(Map<String, @NotNull String> _default) Set the _default property valuevoid
setDefaultRequest
(Map<String, @NotNull String> defaultRequest) Set the defaultRequest property valuevoid
Set the max property valuevoid
setMaxLimitRequestRatio
(Map<String, @NotNull String> maxLimitRequestRatio) Set the maxLimitRequestRatio property valuevoid
Set the min property valuevoid
Set the type property valuetoString()
Set type in a chainable fashion.
-
Field Details
-
JSON_PROPERTY_TYPE
- See Also:
-
JSON_PROPERTY_DEFAULT
- See Also:
-
JSON_PROPERTY_DEFAULT_REQUEST
- See Also:
-
JSON_PROPERTY_MAX
- See Also:
-
JSON_PROPERTY_MAX_LIMIT_REQUEST_RATIO
- See Also:
-
JSON_PROPERTY_MIN
- See Also:
-
-
Constructor Details
-
V1LimitRangeItem
-
-
Method Details
-
getType
Type of resource that this limit applies to.- Returns:
- the type property value
-
setType
Set the type property value- Parameters:
type
- property value to set
-
type
Set type in a chainable fashion.- Returns:
- The same instance of V1LimitRangeItem for chaining.
-
get_default
Default resource requirement limit value by resource name if resource limit is omitted.- Returns:
- the _default property value
-
set_default
Set the _default property value- Parameters:
_default
- property value to set
-
_default
Set _default in a chainable fashion.- Returns:
- The same instance of V1LimitRangeItem for chaining.
-
putDefaultItem
Set the value for the key for the _default map property in a chainable fashion.- Returns:
- The same instance of V1LimitRangeItem for chaining.
-
getDefaultRequest
DefaultRequest is the default resource requirement request value by resource name if resource request is omitted.- Returns:
- the defaultRequest property value
-
setDefaultRequest
Set the defaultRequest property value- Parameters:
defaultRequest
- property value to set
-
defaultRequest
Set defaultRequest in a chainable fashion.- Returns:
- The same instance of V1LimitRangeItem for chaining.
-
putdefaultRequestItem
Set the value for the key for the defaultRequest map property in a chainable fashion.- Returns:
- The same instance of V1LimitRangeItem for chaining.
-
getMax
Max usage constraints on this kind by resource name.- Returns:
- the max property value
-
setMax
Set the max property value- Parameters:
max
- property value to set
-
max
Set max in a chainable fashion.- Returns:
- The same instance of V1LimitRangeItem for chaining.
-
putmaxItem
Set the value for the key for the max map property in a chainable fashion.- Returns:
- The same instance of V1LimitRangeItem for chaining.
-
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
Set the maxLimitRequestRatio property value- Parameters:
maxLimitRequestRatio
- property value to set
-
maxLimitRequestRatio
Set maxLimitRequestRatio in a chainable fashion.- Returns:
- The same instance of V1LimitRangeItem for chaining.
-
putmaxLimitRequestRatioItem
Set the value for the key for the maxLimitRequestRatio map property in a chainable fashion.- Returns:
- The same instance of V1LimitRangeItem for chaining.
-
getMin
Min usage constraints on this kind by resource name.- Returns:
- the min property value
-
setMin
Set the min property value- Parameters:
min
- property value to set
-
min
Set min in a chainable fashion.- Returns:
- The same instance of V1LimitRangeItem for chaining.
-
putminItem
Set the value for the key for the min map property in a chainable fashion.- Returns:
- The same instance of V1LimitRangeItem for chaining.
-
equals
-
hashCode
public int hashCode() -
toString
-