Package com.oracle.bmc.dns.model
Class SteeringPolicyWeightedAnswerData.Builder
- java.lang.Object
-
- com.oracle.bmc.dns.model.SteeringPolicyWeightedAnswerData.Builder
-
- Enclosing class:
- SteeringPolicyWeightedAnswerData
public static class SteeringPolicyWeightedAnswerData.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SteeringPolicyWeightedAnswerData.Builder
answerCondition(String answerCondition)
An expression that is used to select a set of answers that match a condition.SteeringPolicyWeightedAnswerData
build()
SteeringPolicyWeightedAnswerData.Builder
copy(SteeringPolicyWeightedAnswerData model)
SteeringPolicyWeightedAnswerData.Builder
value(Integer value)
The weight assigned to the set of selected answers.
-
-
-
Method Detail
-
answerCondition
public SteeringPolicyWeightedAnswerData.Builder answerCondition(String answerCondition)
An expression that is used to select a set of answers that match a condition.For example, answers with matching pool properties.
- Parameters:
answerCondition
- the value to set- Returns:
- this builder
-
value
public SteeringPolicyWeightedAnswerData.Builder value(Integer value)
The weight assigned to the set of selected answers.Answers with a higher weight will be served more frequently. Answers can be given a value between 0 and 255.
- Parameters:
value
- the value to set- Returns:
- this builder
-
build
public SteeringPolicyWeightedAnswerData build()
-
copy
public SteeringPolicyWeightedAnswerData.Builder copy(SteeringPolicyWeightedAnswerData model)
-
-