Interface DynamicScalingConfiguration.Builder

All Superinterfaces:
Buildable, CopyableBuilder<DynamicScalingConfiguration.Builder,DynamicScalingConfiguration>, SdkBuilder<DynamicScalingConfiguration.Builder,DynamicScalingConfiguration>, SdkPojo
Enclosing class:
DynamicScalingConfiguration

public static interface DynamicScalingConfiguration.Builder extends SdkPojo, CopyableBuilder<DynamicScalingConfiguration.Builder,DynamicScalingConfiguration>
  • Method Details

    • minCapacity

      DynamicScalingConfiguration.Builder minCapacity(Integer minCapacity)

      The recommended minimum capacity to specify for your autoscaling policy.

      Parameters:
      minCapacity - The recommended minimum capacity to specify for your autoscaling policy.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • maxCapacity

      DynamicScalingConfiguration.Builder maxCapacity(Integer maxCapacity)

      The recommended maximum capacity to specify for your autoscaling policy.

      Parameters:
      maxCapacity - The recommended maximum capacity to specify for your autoscaling policy.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • scaleInCooldown

      DynamicScalingConfiguration.Builder scaleInCooldown(Integer scaleInCooldown)

      The recommended scale in cooldown time for your autoscaling policy.

      Parameters:
      scaleInCooldown - The recommended scale in cooldown time for your autoscaling policy.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • scaleOutCooldown

      DynamicScalingConfiguration.Builder scaleOutCooldown(Integer scaleOutCooldown)

      The recommended scale out cooldown time for your autoscaling policy.

      Parameters:
      scaleOutCooldown - The recommended scale out cooldown time for your autoscaling policy.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • scalingPolicies

      An object of the scaling policies for each metric.

      Parameters:
      scalingPolicies - An object of the scaling policies for each metric.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • scalingPolicies

      DynamicScalingConfiguration.Builder scalingPolicies(ScalingPolicy... scalingPolicies)

      An object of the scaling policies for each metric.

      Parameters:
      scalingPolicies - An object of the scaling policies for each metric.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • scalingPolicies

      An object of the scaling policies for each metric.

      This is a convenience method that creates an instance of the ScalingPolicy.Builder avoiding the need to create one manually via ScalingPolicy.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to scalingPolicies(List<ScalingPolicy>).

      Parameters:
      scalingPolicies - a consumer that will call methods on ScalingPolicy.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also: