Interface StepAdjustment.Builder

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

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

    • metricIntervalLowerBound

      StepAdjustment.Builder metricIntervalLowerBound(Double metricIntervalLowerBound)

      The lower bound for the difference between the alarm threshold and the CloudWatch metric. If the metric value is above the breach threshold, the lower bound is inclusive (the metric must be greater than or equal to the threshold plus the lower bound). Otherwise, it is exclusive (the metric must be greater than the threshold plus the lower bound). A null value indicates negative infinity.

      Parameters:
      metricIntervalLowerBound - The lower bound for the difference between the alarm threshold and the CloudWatch metric. If the metric value is above the breach threshold, the lower bound is inclusive (the metric must be greater than or equal to the threshold plus the lower bound). Otherwise, it is exclusive (the metric must be greater than the threshold plus the lower bound). A null value indicates negative infinity.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • metricIntervalUpperBound

      StepAdjustment.Builder metricIntervalUpperBound(Double metricIntervalUpperBound)

      The upper bound for the difference between the alarm threshold and the CloudWatch metric. If the metric value is above the breach threshold, the upper bound is exclusive (the metric must be less than the threshold plus the upper bound). Otherwise, it is inclusive (the metric must be less than or equal to the threshold plus the upper bound). A null value indicates positive infinity.

      The upper bound must be greater than the lower bound.

      Parameters:
      metricIntervalUpperBound - The upper bound for the difference between the alarm threshold and the CloudWatch metric. If the metric value is above the breach threshold, the upper bound is exclusive (the metric must be less than the threshold plus the upper bound). Otherwise, it is inclusive (the metric must be less than or equal to the threshold plus the upper bound). A null value indicates positive infinity.

      The upper bound must be greater than the lower bound.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • scalingAdjustment

      StepAdjustment.Builder scalingAdjustment(Integer scalingAdjustment)

      The amount by which to scale, based on the specified adjustment type. A positive value adds to the current capacity while a negative number removes from the current capacity. For exact capacity, you must specify a non-negative value.

      Parameters:
      scalingAdjustment - The amount by which to scale, based on the specified adjustment type. A positive value adds to the current capacity while a negative number removes from the current capacity. For exact capacity, you must specify a non-negative value.
      Returns:
      Returns a reference to this object so that method calls can be chained together.