public static class SteeringPolicyLimitRuleCase.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
SteeringPolicyLimitRuleCase |
build() |
SteeringPolicyLimitRuleCase.Builder |
caseCondition(String caseCondition)
An expression that uses conditions at the time of a DNS query to indicate
whether a case matches.
|
SteeringPolicyLimitRuleCase.Builder |
copy(SteeringPolicyLimitRuleCase o) |
SteeringPolicyLimitRuleCase.Builder |
count(Integer count)
The number of answers allowed to remain after the limit rule has been processed, keeping only the
first of the remaining answers in the list.
|
public SteeringPolicyLimitRuleCase.Builder caseCondition(String caseCondition)
An expression that uses conditions at the time of a DNS query to indicate
whether a case matches. Conditions may include the geographical location, IP
subnet, or ASN the DNS query originated. Example: If you have an
office that uses the subnet 192.0.2.0/24
you could use a caseCondition
expression query.client.address in ('192.0.2.0/24')
to define a case that
matches queries from that office.
caseCondition
- the value to setpublic SteeringPolicyLimitRuleCase.Builder count(Integer count)
The number of answers allowed to remain after the limit rule has been processed, keeping only the
first of the remaining answers in the list. Example: If the count
property is set to 2
and
four answers remain before the limit rule is processed, only the first two answers in the list will
remain after the limit rule has been processed.
count
- the value to setpublic SteeringPolicyLimitRuleCase build()
public SteeringPolicyLimitRuleCase.Builder copy(SteeringPolicyLimitRuleCase o)
Copyright © 2016–2022. All rights reserved.