Package org.cdk8s.plus24.k8s
Class HpaScalingRulesV2.Jsii$Proxy
- java.lang.Object
-
- software.amazon.jsii.JsiiObject
-
- org.cdk8s.plus24.k8s.HpaScalingRulesV2.Jsii$Proxy
-
- All Implemented Interfaces:
HpaScalingRulesV2
,software.amazon.jsii.JsiiSerializable
- Enclosing interface:
- HpaScalingRulesV2
@Stability(Stable) @Internal public static final class HpaScalingRulesV2.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements HpaScalingRulesV2
An implementation forHpaScalingRulesV2
-
-
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.plus24.k8s.HpaScalingRulesV2
HpaScalingRulesV2.Builder, HpaScalingRulesV2.Jsii$Proxy
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
Jsii$Proxy(HpaScalingRulesV2.Builder builder)
Constructor that initializes the object based on literal property values passed by theHpaScalingRulesV2.Builder
.protected
Jsii$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()
boolean
equals(Object o)
List<HpaScalingPolicyV2>
getPolicies()
policies is a list of potential scaling polices which can be used during scaling.String
getSelectPolicy()
selectPolicy is used to specify which policy should be used.Number
getStabilizationWindowSeconds()
StabilizationWindowSeconds is the number of seconds for which past recommendations should be considered while scaling up or scaling down.int
hashCode()
-
-
-
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(HpaScalingRulesV2.Builder builder)
Constructor that initializes the object based on literal property values passed by theHpaScalingRulesV2.Builder
.
-
-
Method Detail
-
getPolicies
public final List<HpaScalingPolicyV2> getPolicies()
Description copied from interface:HpaScalingRulesV2
policies 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:
getPolicies
in interfaceHpaScalingRulesV2
-
getSelectPolicy
public final String getSelectPolicy()
Description copied from interface:HpaScalingRulesV2
selectPolicy is used to specify which policy should be used.If not set, the default value Max is used.
- Specified by:
getSelectPolicy
in interfaceHpaScalingRulesV2
-
getStabilizationWindowSeconds
public final Number getStabilizationWindowSeconds()
Description copied from interface:HpaScalingRulesV2
StabilizationWindowSeconds 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:
getStabilizationWindowSeconds
in interfaceHpaScalingRulesV2
-
$jsii$toJson
@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
- Specified by:
$jsii$toJson
in interfacesoftware.amazon.jsii.JsiiSerializable
-
-