Package org.cdk8s.plus25.k8s
Interface HpaScalingPolicyV2Beta2
-
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
HpaScalingPolicyV2Beta2.Jsii$Proxy
@Generated(value="jsii-pacmak/1.88.0 (build eaabd08)", date="2023-09-11T06:17:58.549Z") @Stability(Stable) public interface HpaScalingPolicyV2Beta2 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 classHpaScalingPolicyV2Beta2.BuilderA builder forHpaScalingPolicyV2Beta2static classHpaScalingPolicyV2Beta2.Jsii$ProxyAn implementation forHpaScalingPolicyV2Beta2
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Modifier and Type Method Description static HpaScalingPolicyV2Beta2.Builderbuilder()NumbergetPeriodSeconds()PeriodSeconds specifies the window of time for which the policy should hold true.StringgetType()Type is used to specify the scaling policy.NumbergetValue()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 HpaScalingPolicyV2Beta2.Builder builder()
- Returns:
- a
HpaScalingPolicyV2Beta2.BuilderofHpaScalingPolicyV2Beta2
-
-