@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class Rule extends Object implements Serializable, Cloneable, StructuredPojo
A safety rule. A safety rule can be an assertion rule or a gating rule.
| Constructor and Description |
|---|
Rule() |
| Modifier and Type | Method and Description |
|---|---|
Rule |
clone() |
boolean |
equals(Object obj) |
AssertionRule |
getASSERTION()
An assertion rule enforces that, when a routing control state is changed, the criteria set by the rule
configuration is met.
|
GatingRule |
getGATING()
A gating rule verifies that a set of gating controls evaluates as true, based on a rule configuration that you
specify.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller) |
void |
setASSERTION(AssertionRule aSSERTION)
An assertion rule enforces that, when a routing control state is changed, the criteria set by the rule
configuration is met.
|
void |
setGATING(GatingRule gATING)
A gating rule verifies that a set of gating controls evaluates as true, based on a rule configuration that you
specify.
|
String |
toString()
Returns a string representation of this object.
|
Rule |
withASSERTION(AssertionRule aSSERTION)
An assertion rule enforces that, when a routing control state is changed, the criteria set by the rule
configuration is met.
|
Rule |
withGATING(GatingRule gATING)
A gating rule verifies that a set of gating controls evaluates as true, based on a rule configuration that you
specify.
|
public void setASSERTION(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.public AssertionRule getASSERTION()
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.
public Rule withASSERTION(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.public void setGATING(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.public GatingRule getGATING()
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.
public Rule withGATING(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.public String toString()
toString in class ObjectObject.toString()public void marshall(ProtocolMarshaller protocolMarshaller)
marshall in interface StructuredPojoCopyright © 2021. All rights reserved.