Package org.cdk8s.plus24.k8s
Class CustomResourceSubresourceScale.Jsii$Proxy
- java.lang.Object
-
- software.amazon.jsii.JsiiObject
-
- org.cdk8s.plus24.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.plus24.k8s.CustomResourceSubresourceScale
CustomResourceSubresourceScale.Builder, CustomResourceSubresourceScale.Jsii$Proxy
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
Jsii$Proxy(CustomResourceSubresourceScale.Builder builder)
Constructor that initializes the object based on literal property values passed by theCustomResourceSubresourceScale.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
getLabelSelectorPath()
labelSelectorPath defines the JSON path inside of a custom resource that corresponds to Scale `status.selector`.String
getSpecReplicasPath()
specReplicasPath defines the JSON path inside of a custom resource that corresponds to Scale `spec.replicas`.String
getStatusReplicasPath()
statusReplicasPath defines the JSON path inside of a custom resource that corresponds to Scale `status.replicas`.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(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:CustomResourceSubresourceScale
specReplicasPath defines the JSON path inside of a custom resource that corresponds to Scale `spec.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 `/scale` subresource will return an error on GET.- Specified by:
getSpecReplicasPath
in interfaceCustomResourceSubresourceScale
-
getStatusReplicasPath
public final String getStatusReplicasPath()
Description copied from interface:CustomResourceSubresourceScale
statusReplicasPath defines the JSON path inside of a custom resource that corresponds to Scale `status.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, the `status.replicas` value in the `/scale` subresource will default to 0.- Specified by:
getStatusReplicasPath
in interfaceCustomResourceSubresourceScale
-
getLabelSelectorPath
public final String getLabelSelectorPath()
Description copied from interface:CustomResourceSubresourceScale
labelSelectorPath defines the JSON path inside of a custom resource that corresponds to Scale `status.selector`. Only JSON paths without the array notation are allowed. Must be a JSON Path under `.status` or `.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, the `status.selector` value in the `/scale` subresource will default to the empty string.- Specified by:
getLabelSelectorPath
in interfaceCustomResourceSubresourceScale
-
$jsii$toJson
@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
- Specified by:
$jsii$toJson
in interfacesoftware.amazon.jsii.JsiiSerializable
-
-