Package org.cdk8s.plus24
Class ScalingTarget.Jsii$Proxy
- java.lang.Object
-
- software.amazon.jsii.JsiiObject
-
- org.cdk8s.plus24.ScalingTarget.Jsii$Proxy
-
- All Implemented Interfaces:
ScalingTarget
,software.amazon.jsii.JsiiSerializable
- Enclosing interface:
- ScalingTarget
@Stability(Stable) @Internal public static final class ScalingTarget.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements ScalingTarget
An implementation forScalingTarget
-
-
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.ScalingTarget
ScalingTarget.Builder, ScalingTarget.Jsii$Proxy
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
Jsii$Proxy(ScalingTarget.Builder builder)
Constructor that initializes the object based on literal property values passed by theScalingTarget.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)
String
getApiVersion()
The object's API version (e.g.List<Container>
getContainers()
Container definitions associated with the target.String
getKind()
The object kind (e.g.String
getName()
The Kubernetes name of this resource.Number
getReplicas()
The fixed number of replicas defined on the target.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(ScalingTarget.Builder builder)
Constructor that initializes the object based on literal property values passed by theScalingTarget.Builder
.
-
-
Method Detail
-
getApiVersion
public final String getApiVersion()
Description copied from interface:ScalingTarget
The object's API version (e.g. "authorization.k8s.io/v1").- Specified by:
getApiVersion
in interfaceScalingTarget
-
getContainers
public final List<Container> getContainers()
Description copied from interface:ScalingTarget
Container definitions associated with the target.- Specified by:
getContainers
in interfaceScalingTarget
-
getKind
public final String getKind()
Description copied from interface:ScalingTarget
The object kind (e.g. "Deployment").- Specified by:
getKind
in interfaceScalingTarget
-
getName
public final String getName()
Description copied from interface:ScalingTarget
The Kubernetes name of this resource.- Specified by:
getName
in interfaceScalingTarget
-
getReplicas
public final Number getReplicas()
Description copied from interface:ScalingTarget
The fixed number of replicas defined on the target.This is used for validation purposes as Scalable targets should not have a fixed number of replicas.
- Specified by:
getReplicas
in interfaceScalingTarget
-
$jsii$toJson
@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
- Specified by:
$jsii$toJson
in interfacesoftware.amazon.jsii.JsiiSerializable
-
-