Class Replicas

  • All Implemented Interfaces:
    software.amazon.jsii.JsiiSerializable

    @Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)",
               date="2023-06-28T00:25:43.835Z")
    @Stability(Stable)
    public class Replicas
    extends software.amazon.jsii.JsiiObject
    The amount of replicas that will change.
    • Nested Class Summary

      • Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject

        software.amazon.jsii.JsiiObject.InitializationMode
    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      protected Replicas​(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)  
      protected Replicas​(software.amazon.jsii.JsiiObjectRef objRef)  
    • Constructor Detail

      • Replicas

        protected Replicas​(software.amazon.jsii.JsiiObjectRef objRef)
      • Replicas

        protected Replicas​(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
    • Method Detail

      • absolute

        @Stability(Stable)
        @NotNull
        public static Replicas absolute​(@NotNull
                                        Number value)
        Changes the pods by a percentage of the it's current value.

        Parameters:
        value - The amount of change to apply. This parameter is required.
      • percent

        @Stability(Stable)
        @NotNull
        public static Replicas percent​(@NotNull
                                       Number value)
        Changes the pods by a percentage of the it's current value.

        Parameters:
        value - The percentage of change to apply. This parameter is required.