All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.cdk8s.plus31.Replicas Maven / Gradle / Ivy

package org.cdk8s.plus31;

/**
 * The amount of replicas that will change.
 */
@javax.annotation.Generated(value = "jsii-pacmak/1.104.0 (build e79254c)", date = "2024-10-12T12:14:17.438Z")
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
@software.amazon.jsii.Jsii(module = org.cdk8s.plus31.$Module.class, fqn = "cdk8s-plus-31.Replicas")
public class Replicas extends software.amazon.jsii.JsiiObject {

    protected Replicas(final software.amazon.jsii.JsiiObjectRef objRef) {
        super(objRef);
    }

    protected Replicas(final software.amazon.jsii.JsiiObject.InitializationMode initializationMode) {
        super(initializationMode);
    }

    /**
     * Changes the pods by a percentage of the it's current value.
     * 

* @param value The amount of change to apply. This parameter is required. */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable) public static @org.jetbrains.annotations.NotNull org.cdk8s.plus31.Replicas absolute(final @org.jetbrains.annotations.NotNull java.lang.Number value) { return software.amazon.jsii.JsiiObject.jsiiStaticCall(org.cdk8s.plus31.Replicas.class, "absolute", software.amazon.jsii.NativeType.forClass(org.cdk8s.plus31.Replicas.class), new Object[] { java.util.Objects.requireNonNull(value, "value is required") }); } /** * Changes the pods by a percentage of the it's current value. *

* @param value The percentage of change to apply. This parameter is required. */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable) public static @org.jetbrains.annotations.NotNull org.cdk8s.plus31.Replicas percent(final @org.jetbrains.annotations.NotNull java.lang.Number value) { return software.amazon.jsii.JsiiObject.jsiiStaticCall(org.cdk8s.plus31.Replicas.class, "percent", software.amazon.jsii.NativeType.forClass(org.cdk8s.plus31.Replicas.class), new Object[] { java.util.Objects.requireNonNull(value, "value is required") }); } }





© 2015 - 2025 Weber Informatics LLC | Privacy Policy