public static interface AssertionRule.Builder extends SdkPojo, CopyableBuilder<AssertionRule.Builder,AssertionRule>
| Modifier and Type | Method and Description |
|---|---|
AssertionRule.Builder |
assertedControls(Collection<String> 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.
|
AssertionRule.Builder |
assertedControls(String... 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.
|
AssertionRule.Builder |
controlPanelArn(String controlPanelArn)
The Amazon Resource Name (ARN) of the control panel.
|
AssertionRule.Builder |
name(String name)
Name of the assertion rule.
|
default AssertionRule.Builder |
ruleConfig(Consumer<RuleConfig.Builder> ruleConfig)
The criteria that you set for specific assertion controls (routing controls) that designate how many controls
must be enabled as the result of a transaction.
|
AssertionRule.Builder |
ruleConfig(RuleConfig ruleConfig)
The criteria that you set for specific assertion controls (routing controls) that designate how many controls
must be enabled as the result of a transaction.
|
AssertionRule.Builder |
safetyRuleArn(String safetyRuleArn)
The Amazon Resource Name (ARN) of the assertion rule.
|
AssertionRule.Builder |
status(Status status)
The deployment status of an assertion rule.
|
AssertionRule.Builder |
status(String status)
The deployment status of an assertion rule.
|
AssertionRule.Builder |
waitPeriodMs(Integer waitPeriodMs)
An evaluation period, in milliseconds (ms), during which any request against the target routing controls will
fail.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildAssertionRule.Builder assertedControls(Collection<String> 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. For example, you might include three routing controls, one for each of three Amazon Web Services Regions.
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. For example, you might include three routing controls, one
for each of three Amazon Web Services Regions.AssertionRule.Builder assertedControls(String... 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. For example, you might include three routing controls, one for each of three Amazon Web Services Regions.
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. For example, you might include three routing controls, one
for each of three Amazon Web Services Regions.AssertionRule.Builder controlPanelArn(String controlPanelArn)
The Amazon Resource Name (ARN) of the control panel.
controlPanelArn - The Amazon Resource Name (ARN) of the control panel.AssertionRule.Builder name(String name)
Name of the assertion rule. You can use any non-white space character in the name.
name - Name of the assertion rule. You can use any non-white space character in the name.AssertionRule.Builder ruleConfig(RuleConfig ruleConfig)
The criteria that you set for specific assertion controls (routing controls) that designate how many controls must be enabled as the result of a transaction. For example, if you have three assertion controls, you might specify atleast 2 for your rule configuration. This means that at least two assertion controls must be enabled, so that at least two Amazon Web Services Regions are enabled.
ruleConfig - The criteria that you set for specific assertion controls (routing controls) that designate how many
controls must be enabled as the result of a transaction. For example, if you have three assertion
controls, you might specify atleast 2 for your rule configuration. This means that at least two
assertion controls must be enabled, so that at least two Amazon Web Services Regions are enabled.default AssertionRule.Builder ruleConfig(Consumer<RuleConfig.Builder> ruleConfig)
The criteria that you set for specific assertion controls (routing controls) that designate how many controls must be enabled as the result of a transaction. For example, if you have three assertion controls, you might specify atleast 2 for your rule configuration. This means that at least two assertion controls must be enabled, so that at least two Amazon Web Services Regions are enabled.
This is a convenience that creates an instance of theRuleConfig.Builder avoiding the need to create
one manually via RuleConfig.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its result
is passed to ruleConfig(RuleConfig).ruleConfig - a consumer that will call methods on RuleConfig.BuilderruleConfig(RuleConfig)AssertionRule.Builder safetyRuleArn(String safetyRuleArn)
The Amazon Resource Name (ARN) of the assertion rule.
safetyRuleArn - The Amazon Resource Name (ARN) of the assertion rule.AssertionRule.Builder status(String status)
The deployment status of an assertion rule. Status can be one of the following: PENDING, DEPLOYED, PENDING_DELETION.
AssertionRule.Builder status(Status status)
The deployment status of an assertion rule. Status can be one of the following: PENDING, DEPLOYED, PENDING_DELETION.
AssertionRule.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.
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.Copyright © 2021. All rights reserved.