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 SummaryConstructors Constructor Description Builder()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description SteeringPolicyWeightedAnswerData.BuilderanswerCondition(String answerCondition)An expression that is used to select a set of answers that match a condition.SteeringPolicyWeightedAnswerDatabuild()SteeringPolicyWeightedAnswerData.Buildercopy(SteeringPolicyWeightedAnswerData model)SteeringPolicyWeightedAnswerData.Buildervalue(Integer value)The weight assigned to the set of selected answers.
 
- 
- 
- 
Method Detail- 
answerConditionpublic 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
 
 - 
valuepublic 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
 
 - 
buildpublic SteeringPolicyWeightedAnswerData build() 
 - 
copypublic SteeringPolicyWeightedAnswerData.Builder copy(SteeringPolicyWeightedAnswerData model) 
 
- 
 
-