public static interface NewGatingRule.Builder extends SdkPojo, CopyableBuilder<NewGatingRule.Builder,NewGatingRule>
| Modifier and Type | Method and Description |
|---|---|
NewGatingRule.Builder |
controlPanelArn(String controlPanelArn)
The Amazon Resource Name (ARN) of the control panel.
|
NewGatingRule.Builder |
gatingControls(Collection<String> gatingControls)
The gating controls for the new gating rule.
|
NewGatingRule.Builder |
gatingControls(String... gatingControls)
The gating controls for the new gating rule.
|
NewGatingRule.Builder |
name(String name)
The name for the new gating rule.
|
default NewGatingRule.Builder |
ruleConfig(Consumer<RuleConfig.Builder> ruleConfig)
The criteria that you set for specific gating controls (routing controls) that designate how many control
states must be ON to allow you to change (set or unset) the target control states.
|
NewGatingRule.Builder |
ruleConfig(RuleConfig ruleConfig)
The criteria that you set for specific gating controls (routing controls) that designate how many control
states must be ON to allow you to change (set or unset) the target control states.
|
NewGatingRule.Builder |
targetControls(Collection<String> targetControls)
Routing controls that can only be set or unset if the specified RuleConfig evaluates to true for the
specified GatingControls.
|
NewGatingRule.Builder |
targetControls(String... targetControls)
Routing controls that can only be set or unset if the specified RuleConfig evaluates to true for the
specified GatingControls.
|
NewGatingRule.Builder |
waitPeriodMs(Integer waitPeriodMs)
An evaluation period, in milliseconds (ms), during which any request against the target routing controls will
fail.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildNewGatingRule.Builder controlPanelArn(String controlPanelArn)
The Amazon Resource Name (ARN) of the control panel.
controlPanelArn - The Amazon Resource Name (ARN) of the control panel.NewGatingRule.Builder gatingControls(Collection<String> gatingControls)
The gating controls for the new gating rule. That is, routing controls that are evaluated by the rule configuration that you specify.
gatingControls - The gating controls for the new gating rule. That is, routing controls that are evaluated by the rule
configuration that you specify.NewGatingRule.Builder gatingControls(String... gatingControls)
The gating controls for the new gating rule. That is, routing controls that are evaluated by the rule configuration that you specify.
gatingControls - The gating controls for the new gating rule. That is, routing controls that are evaluated by the rule
configuration that you specify.NewGatingRule.Builder name(String name)
The name for the new gating rule.
name - The name for the new gating rule.NewGatingRule.Builder ruleConfig(RuleConfig ruleConfig)
The criteria that you set for specific gating controls (routing controls) that designate how many control states must be ON to allow you to change (set or unset) the target control states.
ruleConfig - The criteria that you set for specific gating controls (routing controls) that designate how many
control states must be ON to allow you to change (set or unset) the target control states.default NewGatingRule.Builder ruleConfig(Consumer<RuleConfig.Builder> ruleConfig)
The criteria that you set for specific gating controls (routing controls) that designate how many control states must be ON to allow you to change (set or unset) the target control states.
This is a convenience method 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)NewGatingRule.Builder targetControls(Collection<String> targetControls)
Routing controls that can only be set or unset if the specified RuleConfig evaluates to true for the specified GatingControls. For example, say you have three gating controls, one for each of three Amazon Web Services Regions. Now you specify ATLEAST 2 as your RuleConfig. With these settings, you can only change (set or unset) the routing controls that you have specified as TargetControls if that rule evaluates to true.
In other words, your ability to change the routing controls that you have specified as TargetControls is gated by the rule that you set for the routing controls in GatingControls.
targetControls - Routing controls that can only be set or unset if the specified RuleConfig evaluates to true for the
specified GatingControls. For example, say you have three gating controls, one for each of three
Amazon Web Services Regions. Now you specify ATLEAST 2 as your RuleConfig. With these settings, you
can only change (set or unset) the routing controls that you have specified as TargetControls if that
rule evaluates to true.
In other words, your ability to change the routing controls that you have specified as TargetControls is gated by the rule that you set for the routing controls in GatingControls.
NewGatingRule.Builder targetControls(String... targetControls)
Routing controls that can only be set or unset if the specified RuleConfig evaluates to true for the specified GatingControls. For example, say you have three gating controls, one for each of three Amazon Web Services Regions. Now you specify ATLEAST 2 as your RuleConfig. With these settings, you can only change (set or unset) the routing controls that you have specified as TargetControls if that rule evaluates to true.
In other words, your ability to change the routing controls that you have specified as TargetControls is gated by the rule that you set for the routing controls in GatingControls.
targetControls - Routing controls that can only be set or unset if the specified RuleConfig evaluates to true for the
specified GatingControls. For example, say you have three gating controls, one for each of three
Amazon Web Services Regions. Now you specify ATLEAST 2 as your RuleConfig. With these settings, you
can only change (set or unset) the routing controls that you have specified as TargetControls if that
rule evaluates to true.
In other words, your ability to change the routing controls that you have specified as TargetControls is gated by the rule that you set for the routing controls in GatingControls.
NewGatingRule.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 © 2023. All rights reserved.