Interface EvaluationFormQuestion.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<EvaluationFormQuestion.Builder,
,EvaluationFormQuestion> SdkBuilder<EvaluationFormQuestion.Builder,
,EvaluationFormQuestion> SdkPojo
- Enclosing class:
EvaluationFormQuestion
public static interface EvaluationFormQuestion.Builder
extends SdkPojo, CopyableBuilder<EvaluationFormQuestion.Builder,EvaluationFormQuestion>
-
Method Summary
Modifier and TypeMethodDescriptioninstructions
(String instructions) The instructions of the section.notApplicableEnabled
(Boolean notApplicableEnabled) The flag to enable not applicable answers to the question.questionType
(String questionType) The type of the question.questionType
(EvaluationFormQuestionType questionType) The type of the question.default EvaluationFormQuestion.Builder
questionTypeProperties
(Consumer<EvaluationFormQuestionTypeProperties.Builder> questionTypeProperties) The properties of the type of question.questionTypeProperties
(EvaluationFormQuestionTypeProperties questionTypeProperties) The properties of the type of question.The identifier of the question.The title of the question.The scoring weight of the section.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 Details
-
title
The title of the question.
- Parameters:
title
- The title of the question.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
instructions
The instructions of the section.
- Parameters:
instructions
- The instructions of the section.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
refId
The identifier of the question. An identifier must be unique within the evaluation form.
- Parameters:
refId
- The identifier of the question. An identifier must be unique within the evaluation form.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
notApplicableEnabled
The flag to enable not applicable answers to the question.
- Parameters:
notApplicableEnabled
- The flag to enable not applicable answers to the question.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
questionType
The type of the question.
- Parameters:
questionType
- The type of the question.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
questionType
The type of the question.
- Parameters:
questionType
- The type of the question.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
questionTypeProperties
EvaluationFormQuestion.Builder questionTypeProperties(EvaluationFormQuestionTypeProperties questionTypeProperties) The properties of the type of question. Text questions do not have to define question type properties.
- Parameters:
questionTypeProperties
- The properties of the type of question. Text questions do not have to define question type properties.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
questionTypeProperties
default EvaluationFormQuestion.Builder questionTypeProperties(Consumer<EvaluationFormQuestionTypeProperties.Builder> questionTypeProperties) The properties of the type of question. Text questions do not have to define question type properties.
This is a convenience method that creates an instance of theEvaluationFormQuestionTypeProperties.Builder
avoiding the need to create one manually viaEvaluationFormQuestionTypeProperties.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toquestionTypeProperties(EvaluationFormQuestionTypeProperties)
.- Parameters:
questionTypeProperties
- a consumer that will call methods onEvaluationFormQuestionTypeProperties.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
weight
The scoring weight of the section.
- Parameters:
weight
- The scoring weight of the section.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-