@Generated(value="OracleSDKGenerator", comments="API Version: 20180115") public final class SteeringPolicyLimitRule extends SteeringPolicyRule
SteeringPolicyLimitRule.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 SteeringPolicyLimitRule.Builder
, which maintain a
set of all explicitly set fields called SteeringPolicyLimitRule.Builder.__explicitlySet__
. The hashCode()
and equals(Object)
methods are implemented to take the explicitly set
fields into account. The constructor, on the other hand, does not take the explicitly set fields
into account (since the constructor cannot distinguish explicit null
from unset null
).Modifier and Type | Class and Description |
---|---|
static class |
SteeringPolicyLimitRule.Builder |
SteeringPolicyRule.RuleType
EXPLICITLY_SET_FILTER_NAME, EXPLICITLY_SET_PROPERTY_NAME
Constructor and Description |
---|
SteeringPolicyLimitRule(String description,
List<SteeringPolicyLimitRuleCase> cases,
Integer defaultCount)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static SteeringPolicyLimitRule.Builder |
builder()
Create a new builder.
|
boolean |
equals(Object o) |
List<SteeringPolicyLimitRuleCase> |
getCases()
An array of
caseConditions . |
Integer |
getDefaultCount()
Defines a default count if
cases is not defined for the rule or a matching case does
not define count . |
int |
hashCode() |
SteeringPolicyLimitRule.Builder |
toBuilder() |
String |
toString() |
String |
toString(boolean includeByteArrayContents)
Return a string representation of the object.
|
getDescription
markPropertyAsExplicitlySet, wasPropertyExplicitlySet
@Deprecated public SteeringPolicyLimitRule(String description, List<SteeringPolicyLimitRuleCase> cases, Integer defaultCount)
public static SteeringPolicyLimitRule.Builder builder()
Create a new builder.
public SteeringPolicyLimitRule.Builder toBuilder()
public List<SteeringPolicyLimitRuleCase> 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 Integer getDefaultCount()
Defines a default count if cases
is not defined for the rule or a matching case does
not define count
. defaultCount
is not applied if cases
is defined
and there are no matching cases. In this scenario, the next rule will be processed. If no
rules remain to be processed, the answer will be chosen from the remaining list of answers.
public String toString()
toString
in class SteeringPolicyRule
public String toString(boolean includeByteArrayContents)
Return a string representation of the object.
toString
in class SteeringPolicyRule
includeByteArrayContents
- true to include the full contents of byte arrayspublic boolean equals(Object o)
equals
in class SteeringPolicyRule
public int hashCode()
hashCode
in class SteeringPolicyRule
Copyright © 2016–2024. All rights reserved.