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