@Stability(value=Stable) public static final class CfnSafetyRule.AssertionRuleProperty.Builder extends Object implements software.amazon.jsii.Builder<CfnSafetyRule.AssertionRuleProperty>
CfnSafetyRule.AssertionRuleProperty| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
CfnSafetyRule.AssertionRuleProperty.Builder |
assertedControls(List<String> assertedControls)
Sets the value of
CfnSafetyRule.AssertionRuleProperty.getAssertedControls() |
CfnSafetyRule.AssertionRuleProperty |
build()
Builds the configured instance.
|
CfnSafetyRule.AssertionRuleProperty.Builder |
waitPeriodMs(Number waitPeriodMs)
Sets the value of
CfnSafetyRule.AssertionRuleProperty.getWaitPeriodMs() |
@Stability(value=Stable) public CfnSafetyRule.AssertionRuleProperty.Builder assertedControls(List<String> assertedControls)
CfnSafetyRule.AssertionRuleProperty.getAssertedControls()assertedControls - The routing controls that are part of transactions that are evaluated to determine if a request to change a routing control state is allowed. This parameter is required.
For example, you might include three routing controls, one for each of three AWS Regions.this@Stability(value=Stable) public CfnSafetyRule.AssertionRuleProperty.Builder waitPeriodMs(Number waitPeriodMs)
CfnSafetyRule.AssertionRuleProperty.getWaitPeriodMs()waitPeriodMs - An evaluation period, in milliseconds (ms), during which any request against the target routing controls will fail. This parameter is required.
This helps prevent "flapping" of state. The wait period is 5000 ms by default, but you can choose a custom value.this@Stability(value=Stable) public CfnSafetyRule.AssertionRuleProperty build()
build in interface software.amazon.jsii.Builder<CfnSafetyRule.AssertionRuleProperty>CfnSafetyRule.AssertionRulePropertyNullPointerException - if any required attribute was not providedCopyright © 2022. All rights reserved.