Interface SloErrorBudgetCondition.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<SloErrorBudgetCondition.Builder,,SloErrorBudgetCondition> SdkBuilder<SloErrorBudgetCondition.Builder,,SloErrorBudgetCondition> SdkPojo
- Enclosing class:
SloErrorBudgetCondition
@Mutable
@NotThreadSafe
public static interface SloErrorBudgetCondition.Builder
extends SdkPojo, CopyableBuilder<SloErrorBudgetCondition.Builder,SloErrorBudgetCondition>
-
Method Summary
Modifier and TypeMethodDescriptioncriticalThreshold(Double criticalThreshold) The alert is CRITICAL when the consumed ratio reaches or exceeds this value.warningThreshold(Double warningThreshold) The alert is WARNING when the consumed ratio reaches or exceeds this value.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
warningThreshold
The alert is WARNING when the consumed ratio reaches or exceeds this value. Greater than 0 and at most 1.
- Parameters:
warningThreshold- The alert is WARNING when the consumed ratio reaches or exceeds this value. Greater than 0 and at most 1.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
criticalThreshold
The alert is CRITICAL when the consumed ratio reaches or exceeds this value. Greater than 0 and at most 1, and greater than warningThreshold when both are set.
- Parameters:
criticalThreshold- The alert is CRITICAL when the consumed ratio reaches or exceeds this value. Greater than 0 and at most 1, and greater than warningThreshold when both are set.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-