Interface GatingRuleUpdate.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<GatingRuleUpdate.Builder,GatingRuleUpdate>,SdkBuilder<GatingRuleUpdate.Builder,GatingRuleUpdate>,SdkPojo
- Enclosing class:
- GatingRuleUpdate
public static interface GatingRuleUpdate.Builder extends SdkPojo, CopyableBuilder<GatingRuleUpdate.Builder,GatingRuleUpdate>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description GatingRuleUpdate.Buildername(String name)The name for the gating rule.GatingRuleUpdate.BuildersafetyRuleArn(String safetyRuleArn)The Amazon Resource Name (ARN) of the gating rule.GatingRuleUpdate.BuilderwaitPeriodMs(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, sdkFields
-
-
-
-
Method Detail
-
name
GatingRuleUpdate.Builder name(String 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
GatingRuleUpdate.Builder safetyRuleArn(String 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
GatingRuleUpdate.Builder waitPeriodMs(Integer 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.
-
-