Package org.cdk8s.plus25.k8s
Class HpaScalingRulesV2Beta2.Jsii$Proxy
- java.lang.Object
-
- software.amazon.jsii.JsiiObject
-
- org.cdk8s.plus25.k8s.HpaScalingRulesV2Beta2.Jsii$Proxy
-
- All Implemented Interfaces:
HpaScalingRulesV2Beta2,software.amazon.jsii.JsiiSerializable
- Enclosing interface:
- HpaScalingRulesV2Beta2
@Stability(Stable) @Internal public static final class HpaScalingRulesV2Beta2.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements HpaScalingRulesV2Beta2
An implementation forHpaScalingRulesV2Beta2
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationMode
-
Nested classes/interfaces inherited from interface org.cdk8s.plus25.k8s.HpaScalingRulesV2Beta2
HpaScalingRulesV2Beta2.Builder, HpaScalingRulesV2Beta2.Jsii$Proxy
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedJsii$Proxy(HpaScalingRulesV2Beta2.Builder builder)Constructor that initializes the object based on literal property values passed by theHpaScalingRulesV2Beta2.Builder.protectedJsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)Constructor that initializes the object based on values retrieved from the JsiiObject.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description com.fasterxml.jackson.databind.JsonNode$jsii$toJson()booleanequals(Object o)List<HpaScalingPolicyV2Beta2>getPolicies()policies is a list of potential scaling polices which can be used during scaling.StringgetSelectPolicy()selectPolicy is used to specify which policy should be used.NumbergetStabilizationWindowSeconds()StabilizationWindowSeconds is the number of seconds for which past recommendations should be considered while scaling up or scaling down.inthashCode()
-
-
-
Constructor Detail
-
Jsii$Proxy
protected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
Constructor that initializes the object based on values retrieved from the JsiiObject.- Parameters:
objRef- Reference to the JSII managed object.
-
Jsii$Proxy
protected Jsii$Proxy(HpaScalingRulesV2Beta2.Builder builder)
Constructor that initializes the object based on literal property values passed by theHpaScalingRulesV2Beta2.Builder.
-
-
Method Detail
-
getPolicies
public final List<HpaScalingPolicyV2Beta2> getPolicies()
Description copied from interface:HpaScalingRulesV2Beta2policies is a list of potential scaling polices which can be used during scaling.At least one policy must be specified, otherwise the HPAScalingRules will be discarded as invalid
- Specified by:
getPoliciesin interfaceHpaScalingRulesV2Beta2
-
getSelectPolicy
public final String getSelectPolicy()
Description copied from interface:HpaScalingRulesV2Beta2selectPolicy is used to specify which policy should be used.If not set, the default value MaxPolicySelect is used.
- Specified by:
getSelectPolicyin interfaceHpaScalingRulesV2Beta2
-
getStabilizationWindowSeconds
public final Number getStabilizationWindowSeconds()
Description copied from interface:HpaScalingRulesV2Beta2StabilizationWindowSeconds is the number of seconds for which past recommendations should be considered while scaling up or scaling down.StabilizationWindowSeconds must be greater than or equal to zero and less than or equal to 3600 (one hour). If not set, use the default values: - For scale up: 0 (i.e. no stabilization is done). - For scale down: 300 (i.e. the stabilization window is 300 seconds long).
- Specified by:
getStabilizationWindowSecondsin interfaceHpaScalingRulesV2Beta2
-
$jsii$toJson
@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
- Specified by:
$jsii$toJsonin interfacesoftware.amazon.jsii.JsiiSerializable
-
-