Many resources are needed to download a project. Please understand that we have to compensate our server costs. Thank you in advance. Project price only 1 $
You can buy this project and download/modify it how often you want.
This is the core library of Cloud Development Kit (CDK) for Kubernetes (cdk8s). cdk8s apps synthesize into standard Kubernetes manifests which can be applied to any Kubernetes cluster.
*/
@javax.annotation.Generated(value = "jsii-pacmak/1.88.0 (build eaabd08)", date = "2023-09-04T12:16:11.498Z")
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
@software.amazon.jsii.Jsii(module = org.cdk8s.$Module.class, fqn = "cdk8s.JsonPatch")
public class JsonPatch extends software.amazon.jsii.JsiiObject {
protected JsonPatch(final software.amazon.jsii.JsiiObjectRef objRef) {
super(objRef);
}
protected JsonPatch(final software.amazon.jsii.JsiiObject.InitializationMode initializationMode) {
super(initializationMode);
}
/**
* Adds a value to an object or inserts it into an array.
*
* In the case of an
* array, the value is inserted before the given index. The - character can be
* used instead of an index to insert at the end of an array.
*
* @param path This parameter is required.
* @param value This parameter is required.
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
public static @org.jetbrains.annotations.NotNull org.cdk8s.JsonPatch add(final @org.jetbrains.annotations.NotNull java.lang.String path, final @org.jetbrains.annotations.NotNull java.lang.Object value) {
return software.amazon.jsii.JsiiObject.jsiiStaticCall(org.cdk8s.JsonPatch.class, "add", software.amazon.jsii.NativeType.forClass(org.cdk8s.JsonPatch.class), new Object[] { java.util.Objects.requireNonNull(path, "path is required"), value });
}
/**
* Applies a set of JSON-Patch (RFC-6902) operations to document and returns the result.
*
* @return The result document
* @param document The document to patch. This parameter is required.
* @param ops The operations to apply. This parameter is required.
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
public static @org.jetbrains.annotations.NotNull java.lang.Object apply(final @org.jetbrains.annotations.NotNull java.lang.Object document, final @org.jetbrains.annotations.NotNull org.cdk8s.JsonPatch... ops) {
return software.amazon.jsii.JsiiObject.jsiiStaticCall(org.cdk8s.JsonPatch.class, "apply", software.amazon.jsii.NativeType.forClass(java.lang.Object.class), java.util.stream.Stream.concat(java.util.Arrays.