Package org.cdk8s.plus25.k8s
Class CustomResourceSubresourceScale.Jsii$Proxy
- java.lang.Object
-
- software.amazon.jsii.JsiiObject
-
- org.cdk8s.plus25.k8s.CustomResourceSubresourceScale.Jsii$Proxy
-
- All Implemented Interfaces:
CustomResourceSubresourceScale,software.amazon.jsii.JsiiSerializable
- Enclosing interface:
- CustomResourceSubresourceScale
@Stability(Stable) @Internal public static final class CustomResourceSubresourceScale.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements CustomResourceSubresourceScale
An implementation forCustomResourceSubresourceScale
-
-
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.CustomResourceSubresourceScale
CustomResourceSubresourceScale.Builder, CustomResourceSubresourceScale.Jsii$Proxy
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedJsii$Proxy(CustomResourceSubresourceScale.Builder builder)Constructor that initializes the object based on literal property values passed by theCustomResourceSubresourceScale.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)StringgetLabelSelectorPath()labelSelectorPath defines the JSON path inside of a custom resource that corresponds to Scalestatus.selector.StringgetSpecReplicasPath()specReplicasPath defines the JSON path inside of a custom resource that corresponds to Scalespec.replicas.StringgetStatusReplicasPath()statusReplicasPath defines the JSON path inside of a custom resource that corresponds to Scalestatus.replicas.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(CustomResourceSubresourceScale.Builder builder)
Constructor that initializes the object based on literal property values passed by theCustomResourceSubresourceScale.Builder.
-
-
Method Detail
-
getSpecReplicasPath
public final String getSpecReplicasPath()
Description copied from interface:CustomResourceSubresourceScalespecReplicasPath defines the JSON path inside of a custom resource that corresponds to Scalespec.replicas. Only JSON paths without the array notation are allowed. Must be a JSON Path under.spec. If there is no value under the given path in the custom resource, the/scalesubresource will return an error on GET.- Specified by:
getSpecReplicasPathin interfaceCustomResourceSubresourceScale
-
getStatusReplicasPath
public final String getStatusReplicasPath()
Description copied from interface:CustomResourceSubresourceScalestatusReplicasPath defines the JSON path inside of a custom resource that corresponds to Scalestatus.replicas. Only JSON paths without the array notation are allowed. Must be a JSON Path under.status. If there is no value under the given path in the custom resource, thestatus.replicasvalue in the/scalesubresource will default to 0.- Specified by:
getStatusReplicasPathin interfaceCustomResourceSubresourceScale
-
getLabelSelectorPath
public final String getLabelSelectorPath()
Description copied from interface:CustomResourceSubresourceScalelabelSelectorPath defines the JSON path inside of a custom resource that corresponds to Scalestatus.selector. Only JSON paths without the array notation are allowed. Must be a JSON Path under.statusor.spec. Must be set to work with HorizontalPodAutoscaler. The field pointed by this JSON path must be a string field (not a complex selector struct) which contains a serialized label selector in string form. More info: https://kubernetes.io/docs/tasks/access-kubernetes-api/custom-resources/custom-resource-definitions#scale-subresource If there is no value under the given path in the custom resource, thestatus.selectorvalue in the/scalesubresource will default to the empty string.- Specified by:
getLabelSelectorPathin interfaceCustomResourceSubresourceScale
-
$jsii$toJson
@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
- Specified by:
$jsii$toJsonin interfacesoftware.amazon.jsii.JsiiSerializable
-
-