Interface EvaluationFormNumericQuestionAutomation.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<EvaluationFormNumericQuestionAutomation.Builder,,EvaluationFormNumericQuestionAutomation> SdkBuilder<EvaluationFormNumericQuestionAutomation.Builder,,EvaluationFormNumericQuestionAutomation> SdkPojo
- Enclosing class:
EvaluationFormNumericQuestionAutomation
@Mutable
@NotThreadSafe
public static interface EvaluationFormNumericQuestionAutomation.Builder
extends SdkPojo, CopyableBuilder<EvaluationFormNumericQuestionAutomation.Builder,EvaluationFormNumericQuestionAutomation>
-
Method Summary
Modifier and TypeMethodDescriptionA source of automation answer for numeric question.answerSource(EvaluationFormQuestionAutomationAnswerSource answerSource) A source of automation answer for numeric question.propertyValue(Consumer<NumericQuestionPropertyValueAutomation.Builder> propertyValue) The property value of the automation.propertyValue(NumericQuestionPropertyValueAutomation propertyValue) The property value of the automation.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
-
propertyValue
EvaluationFormNumericQuestionAutomation.Builder propertyValue(NumericQuestionPropertyValueAutomation propertyValue) The property value of the automation.
- Parameters:
propertyValue- The property value of the automation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
propertyValue
default EvaluationFormNumericQuestionAutomation.Builder propertyValue(Consumer<NumericQuestionPropertyValueAutomation.Builder> propertyValue) The property value of the automation.
This is a convenience method that creates an instance of theNumericQuestionPropertyValueAutomation.Builderavoiding the need to create one manually viaNumericQuestionPropertyValueAutomation.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed topropertyValue(NumericQuestionPropertyValueAutomation).- Parameters:
propertyValue- a consumer that will call methods onNumericQuestionPropertyValueAutomation.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
answerSource
EvaluationFormNumericQuestionAutomation.Builder answerSource(EvaluationFormQuestionAutomationAnswerSource answerSource) A source of automation answer for numeric question.
- Parameters:
answerSource- A source of automation answer for numeric question.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
answerSource
default EvaluationFormNumericQuestionAutomation.Builder answerSource(Consumer<EvaluationFormQuestionAutomationAnswerSource.Builder> answerSource) A source of automation answer for numeric question.
This is a convenience method that creates an instance of theEvaluationFormQuestionAutomationAnswerSource.Builderavoiding the need to create one manually viaEvaluationFormQuestionAutomationAnswerSource.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toanswerSource(EvaluationFormQuestionAutomationAnswerSource).- Parameters:
answerSource- a consumer that will call methods onEvaluationFormQuestionAutomationAnswerSource.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-