public static interface GatingRule.Builder extends SdkPojo, CopyableBuilder<GatingRule.Builder,GatingRule>
| Modifier and Type | Method and Description |
|---|---|
GatingRule.Builder |
controlPanelArn(String controlPanelArn)
The Amazon Resource Name (ARN) of the control panel.
|
GatingRule.Builder |
gatingControls(Collection<String> gatingControls)
An array of gating routing control Amazon Resource Names (ARNs).
|
GatingRule.Builder |
gatingControls(String... gatingControls)
An array of gating routing control Amazon Resource Names (ARNs).
|
GatingRule.Builder |
name(String name)
The name for the gating rule.
|
default GatingRule.Builder |
ruleConfig(Consumer<RuleConfig.Builder> ruleConfig)
The criteria that you set for gating routing controls that designate how many of the routing control states
must be ON to allow you to update target routing control states.
|
GatingRule.Builder |
ruleConfig(RuleConfig ruleConfig)
The criteria that you set for gating routing controls that designate how many of the routing control states
must be ON to allow you to update target routing control states.
|
GatingRule.Builder |
safetyRuleArn(String safetyRuleArn)
The Amazon Resource Name (ARN) of the gating rule.
|
GatingRule.Builder |
status(Status status)
The deployment status of a gating rule.
|
GatingRule.Builder |
status(String status)
The deployment status of a gating rule.
|
GatingRule.Builder |
targetControls(Collection<String> targetControls)
An array of target routing control Amazon Resource Names (ARNs) for which the states can only be updated if
the rule configuration that you specify evaluates to true for the gating routing control.
|
GatingRule.Builder |
targetControls(String... targetControls)
An array of target routing control Amazon Resource Names (ARNs) for which the states can only be updated if
the rule configuration that you specify evaluates to true for the gating routing control.
|
GatingRule.Builder |
waitPeriodMs(Integer waitPeriodMs)
An evaluation period, in milliseconds (ms), during which any request against the target routing controls will
fail.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildGatingRule.Builder controlPanelArn(String controlPanelArn)
The Amazon Resource Name (ARN) of the control panel.
controlPanelArn - The Amazon Resource Name (ARN) of the control panel.GatingRule.Builder gatingControls(Collection<String> gatingControls)
An array of gating routing control Amazon Resource Names (ARNs). For a simple "on/off" switch, specify the ARN for one routing control. The gating routing controls are evaluated by the rule configuration that you specify to determine if the target routing control states can be changed.
gatingControls - An array of gating routing control Amazon Resource Names (ARNs). For a simple "on/off" switch, specify
the ARN for one routing control. The gating routing controls are evaluated by the rule configuration
that you specify to determine if the target routing control states can be changed.GatingRule.Builder gatingControls(String... gatingControls)
An array of gating routing control Amazon Resource Names (ARNs). For a simple "on/off" switch, specify the ARN for one routing control. The gating routing controls are evaluated by the rule configuration that you specify to determine if the target routing control states can be changed.
gatingControls - An array of gating routing control Amazon Resource Names (ARNs). For a simple "on/off" switch, specify
the ARN for one routing control. The gating routing controls are evaluated by the rule configuration
that you specify to determine if the target routing control states can be changed.GatingRule.Builder name(String name)
The name for the gating rule. You can use any non-white space character in the name.
name - The name for the gating rule. You can use any non-white space character in the name.GatingRule.Builder ruleConfig(RuleConfig ruleConfig)
The criteria that you set for gating routing controls that designate how many of the routing control states must be ON to allow you to update target routing control states.
ruleConfig - The criteria that you set for gating routing controls that designate how many of the routing control
states must be ON to allow you to update target routing control states.default GatingRule.Builder ruleConfig(Consumer<RuleConfig.Builder> ruleConfig)
The criteria that you set for gating routing controls that designate how many of the routing control states must be ON to allow you to update target routing 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)GatingRule.Builder safetyRuleArn(String safetyRuleArn)
The Amazon Resource Name (ARN) of the gating rule.
safetyRuleArn - The Amazon Resource Name (ARN) of the gating rule.GatingRule.Builder status(String status)
The deployment status of a gating rule. Status can be one of the following: PENDING, DEPLOYED, PENDING_DELETION.
GatingRule.Builder status(Status status)
The deployment status of a gating rule. Status can be one of the following: PENDING, DEPLOYED, PENDING_DELETION.
GatingRule.Builder targetControls(Collection<String> targetControls)
An array of target routing control Amazon Resource Names (ARNs) for which the states can only be updated if the rule configuration that you specify evaluates to true for the gating routing control. As a simple example, if you have a single gating control, it acts as an overall "on/off" switch for a set of target routing controls. You can use this to manually override automated failover, for example.
targetControls - An array of target routing control Amazon Resource Names (ARNs) for which the states can only be
updated if the rule configuration that you specify evaluates to true for the gating routing control.
As a simple example, if you have a single gating control, it acts as an overall "on/off" switch for a
set of target routing controls. You can use this to manually override automated failover, for example.GatingRule.Builder targetControls(String... targetControls)
An array of target routing control Amazon Resource Names (ARNs) for which the states can only be updated if the rule configuration that you specify evaluates to true for the gating routing control. As a simple example, if you have a single gating control, it acts as an overall "on/off" switch for a set of target routing controls. You can use this to manually override automated failover, for example.
targetControls - An array of target routing control Amazon Resource Names (ARNs) for which the states can only be
updated if the rule configuration that you specify evaluates to true for the gating routing control.
As a simple example, if you have a single gating control, it acts as an overall "on/off" switch for a
set of target routing controls. You can use this to manually override automated failover, for example.GatingRule.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.