Package org.cdk8s.plus24.k8s
Class CustomResourceConversion.Jsii$Proxy
- java.lang.Object
-
- software.amazon.jsii.JsiiObject
-
- org.cdk8s.plus24.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.plus24.k8s.CustomResourceConversion
CustomResourceConversion.Builder, CustomResourceConversion.Jsii$Proxy
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
Jsii$Proxy(CustomResourceConversion.Builder builder)
Constructor that initializes the object based on literal property values passed by theCustomResourceConversion.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
getStrategy()
strategy specifies how custom resources are converted between versions.WebhookConversion
getWebhook()
webhook describes how to call the conversion webhook.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(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:CustomResourceConversion
strategy 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:
getStrategy
in interfaceCustomResourceConversion
-
getWebhook
public final WebhookConversion getWebhook()
Description copied from interface:CustomResourceConversion
webhook describes how to call the conversion webhook.Required when
strategy
is set toWebhook
.- Specified by:
getWebhook
in interfaceCustomResourceConversion
-
$jsii$toJson
@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
- Specified by:
$jsii$toJson
in interfacesoftware.amazon.jsii.JsiiSerializable
-
-