Package org.cdk8s.plus25.k8s
Class CustomResourceConversion.Jsii$Proxy
- java.lang.Object
-
- software.amazon.jsii.JsiiObject
-
- org.cdk8s.plus25.k8s.CustomResourceConversion.Jsii$Proxy
-
- All Implemented Interfaces:
CustomResourceConversion,software.amazon.jsii.JsiiSerializable
- Enclosing interface:
- CustomResourceConversion
@Stability(Stable) @Internal public static final class CustomResourceConversion.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements CustomResourceConversion
An implementation forCustomResourceConversion
-
-
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.CustomResourceConversion
CustomResourceConversion.Builder, CustomResourceConversion.Jsii$Proxy
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedJsii$Proxy(CustomResourceConversion.Builder builder)Constructor that initializes the object based on literal property values passed by theCustomResourceConversion.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)StringgetStrategy()strategy specifies how custom resources are converted between versions.WebhookConversiongetWebhook()webhook describes how to call the conversion webhook.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(CustomResourceConversion.Builder builder)
Constructor that initializes the object based on literal property values passed by theCustomResourceConversion.Builder.
-
-
Method Detail
-
getStrategy
public final String getStrategy()
Description copied from interface:CustomResourceConversionstrategy specifies how custom resources are converted between versions.Allowed values are: -
None: The converter only change the apiVersion and would not touch any other field in the custom resource. -Webhook: API Server will call to an external webhook to do the conversion. Additional information is needed for this option. This requires spec.preserveUnknownFields to be false, and spec.conversion.webhook to be set.- Specified by:
getStrategyin interfaceCustomResourceConversion
-
getWebhook
public final WebhookConversion getWebhook()
Description copied from interface:CustomResourceConversionwebhook describes how to call the conversion webhook.Required when
strategyis set toWebhook.- Specified by:
getWebhookin interfaceCustomResourceConversion
-
$jsii$toJson
@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
- Specified by:
$jsii$toJsonin interfacesoftware.amazon.jsii.JsiiSerializable
-
-