Class V2HPAScalingPolicy
java.lang.Object
io.micronaut.kubernetes.client.openapi.model.V2HPAScalingPolicy
@Generated("io.micronaut.openapi.generator.JavaMicronautClientCodegen")
public class V2HPAScalingPolicy
extends Object
HPAScalingPolicy is a single policy which must hold true for a specified past interval.
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
periodSeconds specifies the window of time for which the policy should hold true.getType()
type is used to specify the scaling policy.getValue()
value contains the amount of change which is permitted by the policy.int
hashCode()
periodSeconds
(Integer periodSeconds) Set periodSeconds in a chainable fashion.void
setPeriodSeconds
(Integer periodSeconds) Set the periodSeconds property valuevoid
Set the type property valuevoid
Set the value property valuetoString()
Set type in a chainable fashion.Set value in a chainable fashion.
-
Field Details
-
JSON_PROPERTY_PERIOD_SECONDS
- See Also:
-
JSON_PROPERTY_TYPE
- See Also:
-
JSON_PROPERTY_VALUE
- See Also:
-
-
Constructor Details
-
V2HPAScalingPolicy
-
-
Method Details
-
getPeriodSeconds
periodSeconds specifies the window of time for which the policy should hold true. PeriodSeconds must be greater than zero and less than or equal to 1800 (30 min).- Returns:
- the periodSeconds property value
-
setPeriodSeconds
Set the periodSeconds property value- Parameters:
periodSeconds
- property value to set
-
periodSeconds
Set periodSeconds in a chainable fashion.- Returns:
- The same instance of V2HPAScalingPolicy for chaining.
-
getType
type is used to specify the scaling policy.- 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 V2HPAScalingPolicy for chaining.
-
getValue
value contains the amount of change which is permitted by the policy. It must be greater than zero- Returns:
- the value property value
-
setValue
Set the value property value- Parameters:
value
- property value to set
-
value
Set value in a chainable fashion.- Returns:
- The same instance of V2HPAScalingPolicy for chaining.
-
equals
-
hashCode
public int hashCode() -
toString
-