@Generated(value="OracleSDKGenerator", comments="API Version: 20180115") public final class SteeringPolicyFilterRule extends SteeringPolicyRule
SteeringPolicyFilterRule.Builder. This model distinguishes fields
that are null because they are unset from fields that are explicitly set to null. This is done in
the setter methods of the SteeringPolicyFilterRule.Builder, which maintain a set of all explicitly set fields called
__explicitlySet__. The hashCode() and equals(Object) methods are implemented to take
__explicitlySet__ into account. The constructor, on the other hand, does not set __explicitlySet__
(since the constructor cannot distinguish explicit null from unset null).| Modifier and Type | Class and Description |
|---|---|
static class |
SteeringPolicyFilterRule.Builder |
SteeringPolicyRule.RuleType| Constructor and Description |
|---|
SteeringPolicyFilterRule(String description,
List<SteeringPolicyFilterRuleCase> cases,
List<SteeringPolicyFilterAnswerData> defaultAnswerData)
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
static SteeringPolicyFilterRule.Builder |
builder()
Create a new builder.
|
protected boolean |
canEqual(Object other) |
boolean |
equals(Object o) |
Set<String> |
get__explicitlySet__() |
List<SteeringPolicyFilterRuleCase> |
getCases()
An array of
caseConditions. |
List<SteeringPolicyFilterAnswerData> |
getDefaultAnswerData()
Defines a default set of answer conditions and values that are applied to an answer when
cases is not defined for the rule, or a matching case does not have any matching
answerConditions in its answerData. |
int |
hashCode() |
SteeringPolicyFilterRule.Builder |
toBuilder() |
String |
toString() |
getDescription@Deprecated public SteeringPolicyFilterRule(String description, List<SteeringPolicyFilterRuleCase> cases, List<SteeringPolicyFilterAnswerData> defaultAnswerData)
public static SteeringPolicyFilterRule.Builder builder()
Create a new builder.
public SteeringPolicyFilterRule.Builder toBuilder()
public List<SteeringPolicyFilterRuleCase> getCases()
An array of caseConditions. A rule may optionally include a sequence of cases defining alternate
configurations for how it should behave during processing for any given DNS query. When a rule has
no sequence of cases, it is always evaluated with the same configuration during processing. When
a rule has an empty sequence of cases, it is always ignored during processing. When a rule has a
non-empty sequence of cases, its behavior during processing is configured by the first matching
case in the sequence. When a rule has no matching cases the rule is ignored. A rule case with no
caseCondition always matches. A rule case with a caseCondition matches only when that expression
evaluates to true for the given query.
public List<SteeringPolicyFilterAnswerData> getDefaultAnswerData()
Defines a default set of answer conditions and values that are applied to an answer when
cases is not defined for the rule, or a matching case does not have any matching
answerConditions in its answerData. defaultAnswerData is not applied if cases is
defined and there are no matching cases. In this scenario, the next rule will be processed.
public String toString()
toString in class SteeringPolicyRulepublic boolean equals(Object o)
equals in class SteeringPolicyRuleprotected boolean canEqual(Object other)
canEqual in class SteeringPolicyRulepublic int hashCode()
hashCode in class SteeringPolicyRuleCopyright © 2016–2021. All rights reserved.