Package net.stickycode.kuuty.model.v18
Class IoK8sApiAutoscalingV2beta2HPAScalingPolicy
- java.lang.Object
-
- net.stickycode.kuuty.model.v18.IoK8sApiAutoscalingV2beta2HPAScalingPolicy
-
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2020-11-26T11:01:11.402583+13:00[Pacific/Auckland]") public class IoK8sApiAutoscalingV2beta2HPAScalingPolicy extends Object
HPAScalingPolicy is a single policy which must hold true for a specified past interval.
-
-
Field Summary
Fields Modifier and Type Field Description static StringJSON_PROPERTY_PERIOD_SECONDSstatic StringJSON_PROPERTY_TYPEstatic StringJSON_PROPERTY_VALUE
-
Constructor Summary
Constructors Constructor Description IoK8sApiAutoscalingV2beta2HPAScalingPolicy()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)IntegergetPeriodSeconds()PeriodSeconds specifies the window of time for which the policy should hold true.StringgetType()Type is used to specify the scaling policy.IntegergetValue()Value contains the amount of change which is permitted by the policy.inthashCode()IoK8sApiAutoscalingV2beta2HPAScalingPolicyperiodSeconds(Integer periodSeconds)voidsetPeriodSeconds(Integer periodSeconds)voidsetType(String type)voidsetValue(Integer value)StringtoString()IoK8sApiAutoscalingV2beta2HPAScalingPolicytype(String type)IoK8sApiAutoscalingV2beta2HPAScalingPolicyvalue(Integer value)
-
-
-
Field Detail
-
JSON_PROPERTY_PERIOD_SECONDS
public static final String JSON_PROPERTY_PERIOD_SECONDS
- See Also:
- Constant Field Values
-
JSON_PROPERTY_TYPE
public static final String JSON_PROPERTY_TYPE
- See Also:
- Constant Field Values
-
JSON_PROPERTY_VALUE
public static final String JSON_PROPERTY_VALUE
- See Also:
- Constant Field Values
-
-
Method Detail
-
periodSeconds
public IoK8sApiAutoscalingV2beta2HPAScalingPolicy periodSeconds(Integer periodSeconds)
-
getPeriodSeconds
public Integer 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:
- periodSeconds
-
setPeriodSeconds
public void setPeriodSeconds(Integer periodSeconds)
-
type
public IoK8sApiAutoscalingV2beta2HPAScalingPolicy type(String type)
-
getType
public String getType()
Type is used to specify the scaling policy.- Returns:
- type
-
setType
public void setType(String type)
-
value
public IoK8sApiAutoscalingV2beta2HPAScalingPolicy value(Integer value)
-
getValue
public Integer getValue()
Value contains the amount of change which is permitted by the policy. It must be greater than zero- Returns:
- value
-
setValue
public void setValue(Integer value)
-
-