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
-
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
-
title
EvaluationFormQuestion.Builder title(String 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
EvaluationFormQuestion.Builder instructions(String 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
EvaluationFormQuestion.Builder refId(String 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
EvaluationFormQuestion.Builder notApplicableEnabled(Boolean 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
EvaluationFormQuestion.Builder questionType(String 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:
EvaluationFormQuestionType,EvaluationFormQuestionType
-
questionType
EvaluationFormQuestion.Builder questionType(EvaluationFormQuestionType 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:
EvaluationFormQuestionType,EvaluationFormQuestionType
-
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.Builderavoiding the need to create one manually viaEvaluationFormQuestionTypeProperties.builder().When the
Consumercompletes,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:
questionTypeProperties(EvaluationFormQuestionTypeProperties)
-
weight
EvaluationFormQuestion.Builder weight(Double 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.
-
-