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