Interface GatingRuleUpdate.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<GatingRuleUpdate.Builder,
,GatingRuleUpdate> SdkBuilder<GatingRuleUpdate.Builder,
,GatingRuleUpdate> SdkPojo
- Enclosing class:
GatingRuleUpdate
@Mutable
@NotThreadSafe
public static interface GatingRuleUpdate.Builder
extends SdkPojo, CopyableBuilder<GatingRuleUpdate.Builder,GatingRuleUpdate>
-
Method Summary
Modifier and TypeMethodDescriptionThe name for the gating rule.safetyRuleArn
(String safetyRuleArn) The Amazon Resource Name (ARN) of the gating rule.waitPeriodMs
(Integer waitPeriodMs) An evaluation period, in milliseconds (ms), during which any request against the target routing controls will fail.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
name
The name for the gating rule. You can use any non-white space character in the name.
- Parameters:
name
- The name for the gating rule. You can use any non-white space character in the name.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
safetyRuleArn
The Amazon Resource Name (ARN) of the gating rule.
- Parameters:
safetyRuleArn
- The Amazon Resource Name (ARN) of the gating rule.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
waitPeriodMs
An evaluation period, in milliseconds (ms), during which any request against the target routing controls will fail. This helps prevent "flapping" of state. The wait period is 5000 ms by default, but you can choose a custom value.
- Parameters:
waitPeriodMs
- An evaluation period, in milliseconds (ms), during which any request against the target routing controls will fail. This helps prevent "flapping" of state. The wait period is 5000 ms by default, but you can choose a custom value.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-