Class ScalingPolicy.Builder

    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • duration

        @Stability(Stable)
        public ScalingPolicy.Builder duration​(org.cdk8s.Duration duration)
        Sets the value of ScalingPolicy.getDuration()
        Parameters:
        duration - The amount of time the scaling policy has to continue scaling before the target metric must be revalidated. Must be greater than 0 seconds and no longer than 30 minutes.
        Returns:
        this