Interface EvaluationAnswerOutput.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<EvaluationAnswerOutput.Builder,EvaluationAnswerOutput>,SdkBuilder<EvaluationAnswerOutput.Builder,EvaluationAnswerOutput>,SdkPojo
- Enclosing class:
- EvaluationAnswerOutput
public static interface EvaluationAnswerOutput.Builder extends SdkPojo, CopyableBuilder<EvaluationAnswerOutput.Builder,EvaluationAnswerOutput>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default EvaluationAnswerOutput.BuildersystemSuggestedValue(Consumer<EvaluationAnswerData.Builder> systemSuggestedValue)The system suggested value for an answer in a contact evaluation.EvaluationAnswerOutput.BuildersystemSuggestedValue(EvaluationAnswerData systemSuggestedValue)The system suggested value for an answer in a contact evaluation.default EvaluationAnswerOutput.Buildervalue(Consumer<EvaluationAnswerData.Builder> value)The value for an answer in a contact evaluation.EvaluationAnswerOutput.Buildervalue(EvaluationAnswerData value)The value for an answer in a contact evaluation.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
-
-
-
Method Detail
-
value
EvaluationAnswerOutput.Builder value(EvaluationAnswerData value)
The value for an answer in a contact evaluation.
- Parameters:
value- The value for an answer in a contact evaluation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
value
default EvaluationAnswerOutput.Builder value(Consumer<EvaluationAnswerData.Builder> value)
The value for an answer in a contact evaluation.
This is a convenience method that creates an instance of theEvaluationAnswerData.Builderavoiding the need to create one manually viaEvaluationAnswerData.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tovalue(EvaluationAnswerData).- Parameters:
value- a consumer that will call methods onEvaluationAnswerData.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
value(EvaluationAnswerData)
-
systemSuggestedValue
EvaluationAnswerOutput.Builder systemSuggestedValue(EvaluationAnswerData systemSuggestedValue)
The system suggested value for an answer in a contact evaluation.
- Parameters:
systemSuggestedValue- The system suggested value for an answer in a contact evaluation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
systemSuggestedValue
default EvaluationAnswerOutput.Builder systemSuggestedValue(Consumer<EvaluationAnswerData.Builder> systemSuggestedValue)
The system suggested value for an answer in a contact evaluation.
This is a convenience method that creates an instance of theEvaluationAnswerData.Builderavoiding the need to create one manually viaEvaluationAnswerData.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tosystemSuggestedValue(EvaluationAnswerData).- Parameters:
systemSuggestedValue- a consumer that will call methods onEvaluationAnswerData.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
systemSuggestedValue(EvaluationAnswerData)
-
-