Class V2HPAScalingPolicy
java.lang.Object
io.kubernetes.client.openapi.models.V2HPAScalingPolicy
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2023-06-18T15:05:57.863601Z[Etc/UTC]")
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) void
setPeriodSeconds
(Integer periodSeconds) void
void
toString()
-
Field Details
-
SERIALIZED_NAME_PERIOD_SECONDS
- See Also:
-
SERIALIZED_NAME_TYPE
- See Also:
-
SERIALIZED_NAME_VALUE
- See Also:
-
-
Constructor Details
-
V2HPAScalingPolicy
public V2HPAScalingPolicy()
-
-
Method Details
-
periodSeconds
-
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
-
type
-
getType
type is used to specify the scaling policy.- Returns:
- type
-
setType
-
value
-
getValue
value contains the amount of change which is permitted by the policy. It must be greater than zero- Returns:
- value
-
setValue
-
equals
-
hashCode
public int hashCode() -
toString
-