Interface EvaluationAnswerOutput.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<EvaluationAnswerOutput.Builder,,EvaluationAnswerOutput> SdkBuilder<EvaluationAnswerOutput.Builder,,EvaluationAnswerOutput> SdkPojo
- Enclosing class:
EvaluationAnswerOutput
@Mutable
@NotThreadSafe
public static interface EvaluationAnswerOutput.Builder
extends SdkPojo, CopyableBuilder<EvaluationAnswerOutput.Builder,EvaluationAnswerOutput>
-
Method Summary
Modifier and TypeMethodDescriptiondefault EvaluationAnswerOutput.BuildersystemSuggestedValue(Consumer<EvaluationAnswerData.Builder> systemSuggestedValue) The system suggested value for an answer in a contact evaluation.systemSuggestedValue(EvaluationAnswerData systemSuggestedValue) The system suggested value for an answer in a contact evaluation.default EvaluationAnswerOutput.BuilderThe value for an answer in a contact evaluation.value(EvaluationAnswerData value) The value for an answer in a contact evaluation.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
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
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:
-
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:
-