@Stability(value=Experimental) @Internal public static final class KubernetesPatchProps.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements KubernetesPatchProps
KubernetesPatchPropssoftware.amazon.jsii.JsiiObject.InitializationModeKubernetesPatchProps.Builder, KubernetesPatchProps.Jsii$Proxy| Modifier | Constructor and Description |
|---|---|
protected |
Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
Constructor that initializes the object based on values retrieved from the JsiiObject.
|
protected |
Jsii$Proxy(Map<String,? extends Object> applyPatch,
ICluster cluster,
String resourceName,
Map<String,? extends Object> restorePatch,
PatchType patchType,
String resourceNamespace)
Constructor that initializes the object based on literal property values passed by the
KubernetesPatchProps.Builder. |
| Modifier and Type | Method and Description |
|---|---|
com.fasterxml.jackson.databind.JsonNode |
$jsii$toJson() |
boolean |
equals(Object o) |
Map<String,Object> |
getApplyPatch()
(experimental) The JSON object to pass to `kubectl patch` when the resource is created/updated.
|
ICluster |
getCluster()
(experimental) The cluster to apply the patch to.
|
PatchType |
getPatchType()
(experimental) The patch type to pass to `kubectl patch`.
|
String |
getResourceName()
(experimental) The full name of the resource to patch (e.g.
|
String |
getResourceNamespace()
(experimental) The kubernetes API namespace.
|
Map<String,Object> |
getRestorePatch()
(experimental) The JSON object to pass to `kubectl patch` when the resource is removed.
|
int |
hashCode() |
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetclone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitbuilderprotected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
objRef - Reference to the JSII managed object.protected Jsii$Proxy(Map<String,? extends Object> applyPatch, ICluster cluster, String resourceName, Map<String,? extends Object> restorePatch, PatchType patchType, String resourceNamespace)
KubernetesPatchProps.Builder.public final Map<String,Object> getApplyPatch()
KubernetesPatchPropsgetApplyPatch in interface KubernetesPatchPropspublic final ICluster getCluster()
KubernetesPatchProps[disable-awslint:ref-via-interface]
getCluster in interface KubernetesPatchPropspublic final String getResourceName()
KubernetesPatchPropsgetResourceName in interface KubernetesPatchPropspublic final Map<String,Object> getRestorePatch()
KubernetesPatchPropsgetRestorePatch in interface KubernetesPatchPropspublic final PatchType getPatchType()
KubernetesPatchProps
The default type used by kubectl patch is "strategic".
Default: PatchType.STRATEGIC
getPatchType in interface KubernetesPatchPropspublic final String getResourceNamespace()
KubernetesPatchPropsDefault: "default"
getResourceNamespace in interface KubernetesPatchProps@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
$jsii$toJson in interface software.amazon.jsii.JsiiSerializableCopyright © 2021. All rights reserved.