public static class SteeringPolicyWeightedAnswerData.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and 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.
|
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.
answerCondition
- the value to setpublic 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
.
value
- the value to setpublic SteeringPolicyWeightedAnswerData build()
public SteeringPolicyWeightedAnswerData.Builder copy(SteeringPolicyWeightedAnswerData model)
Copyright © 2016–2024. All rights reserved.