public static interface Rule.Builder extends SdkPojo, CopyableBuilder<Rule.Builder,Rule>
| Modifier and Type | Method and Description |
|---|---|
Rule.Builder |
assertion(AssertionRule assertion)
An assertion rule enforces that, when a routing control state is changed, the criteria set by the rule
configuration is met.
|
default Rule.Builder |
assertion(Consumer<AssertionRule.Builder> assertion)
An assertion rule enforces that, when a routing control state is changed, the criteria set by the rule
configuration is met.
|
default Rule.Builder |
gating(Consumer<GatingRule.Builder> gating)
A gating rule verifies that a set of gating controls evaluates as true, based on a rule configuration that
you specify.
|
Rule.Builder |
gating(GatingRule gating)
A gating rule verifies that a set of gating controls evaluates as true, based on a rule configuration that
you specify.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildRule.Builder assertion(AssertionRule assertion)
An assertion rule enforces that, when a routing control state is changed, the criteria set by the rule configuration is met. Otherwise, the change to the routing control is not accepted.
assertion - An assertion rule enforces that, when a routing control state is changed, the criteria set by the rule
configuration is met. Otherwise, the change to the routing control is not accepted.default Rule.Builder assertion(Consumer<AssertionRule.Builder> assertion)
An assertion rule enforces that, when a routing control state is changed, the criteria set by the rule configuration is met. Otherwise, the change to the routing control is not accepted.
This is a convenience that creates an instance of theAssertionRule.Builder avoiding the need to
create one manually via AssertionRule.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its
result is passed to assertion(AssertionRule).assertion - a consumer that will call methods on AssertionRule.Builderassertion(AssertionRule)Rule.Builder gating(GatingRule gating)
A gating rule verifies that a set of gating controls evaluates as true, based on a rule configuration that you specify. If the gating rule evaluates to true, Amazon Route 53 Application Recovery Controller allows a set of routing control state changes to run and complete against the set of target controls.
gating - A gating rule verifies that a set of gating controls evaluates as true, based on a rule configuration
that you specify. If the gating rule evaluates to true, Amazon Route 53 Application Recovery
Controller allows a set of routing control state changes to run and complete against the set of target
controls.default Rule.Builder gating(Consumer<GatingRule.Builder> gating)
A gating rule verifies that a set of gating controls evaluates as true, based on a rule configuration that you specify. If the gating rule evaluates to true, Amazon Route 53 Application Recovery Controller allows a set of routing control state changes to run and complete against the set of target controls.
This is a convenience that creates an instance of theGatingRule.Builder avoiding the need to create
one manually via GatingRule.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its result
is passed to gating(GatingRule).gating - a consumer that will call methods on GatingRule.Buildergating(GatingRule)Copyright © 2021. All rights reserved.