Package org.cdk8s.plus24.k8s
Interface HpaScalingPolicyV2
-
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
HpaScalingPolicyV2.Jsii$Proxy
@Generated(value="jsii-pacmak/1.75.0 (build 63bb957)", date="2023-02-20T02:42:02.079Z") @Stability(Stable) public interface HpaScalingPolicyV2 extends software.amazon.jsii.JsiiSerializable
HPAScalingPolicy is a single policy which must hold true for a specified past interval.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static class
HpaScalingPolicyV2.Builder
A builder forHpaScalingPolicyV2
static class
HpaScalingPolicyV2.Jsii$Proxy
An implementation forHpaScalingPolicyV2
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Modifier and Type Method Description static HpaScalingPolicyV2.Builder
builder()
Number
getPeriodSeconds()
PeriodSeconds specifies the window of time for which the policy should hold true.String
getType()
Type is used to specify the scaling policy.Number
getValue()
Value contains the amount of change which is permitted by the policy.
-
-
-
Method Detail
-
getPeriodSeconds
@Stability(Stable) @NotNull Number 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).
-
getType
@Stability(Stable) @NotNull String getType()
Type is used to specify the scaling policy.
-
getValue
@Stability(Stable) @NotNull Number getValue()
Value contains the amount of change which is permitted by the policy.It must be greater than zero
-
builder
@Stability(Stable) static HpaScalingPolicyV2.Builder builder()
- Returns:
- a
HpaScalingPolicyV2.Builder
ofHpaScalingPolicyV2
-
-