public static class SteeringPolicyWeightedRuleCase.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
SteeringPolicyWeightedRuleCase.Builder |
answerData(List<SteeringPolicyWeightedAnswerData> answerData)
An array of
SteeringPolicyWeightedAnswerData objects. |
SteeringPolicyWeightedRuleCase |
build() |
SteeringPolicyWeightedRuleCase.Builder |
caseCondition(String caseCondition)
An expression that uses conditions at the time of a DNS query to indicate whether a case
matches.
|
SteeringPolicyWeightedRuleCase.Builder |
copy(SteeringPolicyWeightedRuleCase model) |
public SteeringPolicyWeightedRuleCase.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 SteeringPolicyWeightedRuleCase.Builder answerData(List<SteeringPolicyWeightedAnswerData> answerData)
An array of SteeringPolicyWeightedAnswerData
objects.
answerData
- the value to setpublic SteeringPolicyWeightedRuleCase build()
public SteeringPolicyWeightedRuleCase.Builder copy(SteeringPolicyWeightedRuleCase model)
Copyright © 2016–2024. All rights reserved.