Package org.cdk8s.plus24
Class ScalingPolicy.Jsii$Proxy
- java.lang.Object
-
- software.amazon.jsii.JsiiObject
-
- org.cdk8s.plus24.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.plus24.ScalingPolicy
ScalingPolicy.Builder, ScalingPolicy.Jsii$Proxy
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
Jsii$Proxy(ScalingPolicy.Builder builder)
Constructor that initializes the object based on literal property values passed by theScalingPolicy.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)
org.cdk8s.Duration
getDuration()
The amount of time the scaling policy has to continue scaling before the target metric must be revalidated.Replicas
getReplicas()
The type and quantity of replicas to change.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(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:ScalingPolicy
The type and quantity of replicas to change.- Specified by:
getReplicas
in interfaceScalingPolicy
-
getDuration
public final org.cdk8s.Duration getDuration()
Description copied from interface:ScalingPolicy
The 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:
getDuration
in interfaceScalingPolicy
-
$jsii$toJson
@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
- Specified by:
$jsii$toJson
in interfacesoftware.amazon.jsii.JsiiSerializable
-
-