Package com.oracle.bmc.dns.model
Class SteeringPolicyPriorityRuleCase.Builder
- java.lang.Object
-
- com.oracle.bmc.dns.model.SteeringPolicyPriorityRuleCase.Builder
-
- Enclosing class:
- SteeringPolicyPriorityRuleCase
public static class SteeringPolicyPriorityRuleCase.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SteeringPolicyPriorityRuleCase.Builder
answerData(List<SteeringPolicyPriorityAnswerData> answerData)
An array of SteeringPolicyPriorityAnswerData objects.SteeringPolicyPriorityRuleCase
build()
SteeringPolicyPriorityRuleCase.Builder
caseCondition(String caseCondition)
An expression that uses conditions at the time of a DNS query to indicate whether a case matches.SteeringPolicyPriorityRuleCase.Builder
copy(SteeringPolicyPriorityRuleCase model)
-
-
-
Method Detail
-
caseCondition
public SteeringPolicyPriorityRuleCase.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.
- Parameters:
caseCondition
- the value to set- Returns:
- this builder
-
answerData
public SteeringPolicyPriorityRuleCase.Builder answerData(List<SteeringPolicyPriorityAnswerData> answerData)
An array of SteeringPolicyPriorityAnswerData objects.- Parameters:
answerData
- the value to set- Returns:
- this builder
-
build
public SteeringPolicyPriorityRuleCase build()
-
copy
public SteeringPolicyPriorityRuleCase.Builder copy(SteeringPolicyPriorityRuleCase model)
-
-