Interface QuestionOption.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<QuestionOption.Builder,,QuestionOption> SdkBuilder<QuestionOption.Builder,,QuestionOption> SdkPojo
- Enclosing class:
QuestionOption
@Mutable
@NotThreadSafe
public static interface QuestionOption.Builder
extends SdkPojo, CopyableBuilder<QuestionOption.Builder,QuestionOption>
-
Method Summary
Modifier and TypeMethodDescriptionA name for the option.The text of the option.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
-
name
A name for the option. The name must be unique among the options of the question. The name can be up to 64 characters. It must start with a letter or an underscore, and can contain only the letters A-Z and a-z, the digits 0-9, and underscores.
- Parameters:
name- A name for the option. The name must be unique among the options of the question. The name can be up to 64 characters. It must start with a letter or an underscore, and can contain only the letters A-Z and a-z, the digits 0-9, and underscores.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
text
The text of the option. The text must be unique among the options of the question, ignoring case. The text can be up to 16 bytes, encoded in UTF-8. It can contain the same characters as the text of a question.
- Parameters:
text- The text of the option. The text must be unique among the options of the question, ignoring case. The text can be up to 16 bytes, encoded in UTF-8. It can contain the same characters as the text of a question.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-