Package org.cdk8s.plus25
Class ScalingPolicy.Jsii$Proxy
- java.lang.Object
-
- software.amazon.jsii.JsiiObject
-
- org.cdk8s.plus25.ScalingPolicy.Jsii$Proxy
-
- All Implemented Interfaces:
ScalingPolicy,software.amazon.jsii.JsiiSerializable
- Enclosing interface:
- ScalingPolicy
@Stability(Stable) @Internal public static final class ScalingPolicy.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements ScalingPolicy
An implementation forScalingPolicy
-
-
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.ScalingPolicy
ScalingPolicy.Builder, ScalingPolicy.Jsii$Proxy
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedJsii$Proxy(ScalingPolicy.Builder builder)Constructor that initializes the object based on literal property values passed by theScalingPolicy.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)org.cdk8s.DurationgetDuration()The amount of time the scaling policy has to continue scaling before the target metric must be revalidated.ReplicasgetReplicas()The type and quantity of replicas to change.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(ScalingPolicy.Builder builder)
Constructor that initializes the object based on literal property values passed by theScalingPolicy.Builder.
-
-
Method Detail
-
getReplicas
public final Replicas getReplicas()
Description copied from interface:ScalingPolicyThe type and quantity of replicas to change.- Specified by:
getReplicasin interfaceScalingPolicy
-
getDuration
public final org.cdk8s.Duration getDuration()
Description copied from interface:ScalingPolicyThe amount of time the scaling policy has to continue scaling before the target metric must be revalidated.Must be greater than 0 seconds and no longer than 30 minutes.
Default: - 15 seconds
- Specified by:
getDurationin interfaceScalingPolicy
-
$jsii$toJson
@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
- Specified by:
$jsii$toJsonin interfacesoftware.amazon.jsii.JsiiSerializable
-
-