Interface UpdateQuestionSetRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<UpdateQuestionSetRequest.Builder,,UpdateQuestionSetRequest> ElementalInferenceRequest.Builder,SdkBuilder<UpdateQuestionSetRequest.Builder,,UpdateQuestionSetRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
UpdateQuestionSetRequest
-
Method Summary
Modifier and TypeMethodDescriptionchooseOne(Collection<ChooseOneQuestion> chooseOne) An array of questions that Elemental Inference answers by choosing one of their options, to replace all the chooseOne questions in DRAFT.chooseOne(Consumer<ChooseOneQuestion.Builder>... chooseOne) An array of questions that Elemental Inference answers by choosing one of their options, to replace all the chooseOne questions in DRAFT.chooseOne(ChooseOneQuestion... chooseOne) An array of questions that Elemental Inference answers by choosing one of their options, to replace all the chooseOne questions in DRAFT.The ID of the question set to update.A new name for the question set.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.yesNo(Collection<YesNoQuestion> yesNo) An array of questions that Elemental Inference answers with yes or no, to replace all the yesNo questions in DRAFT.yesNo(Consumer<YesNoQuestion.Builder>... yesNo) An array of questions that Elemental Inference answers with yes or no, to replace all the yesNo questions in DRAFT.yesNo(YesNoQuestion... yesNo) An array of questions that Elemental Inference answers with yes or no, to replace all the yesNo questions in DRAFT.yesNoPerOption(Collection<YesNoPerOptionQuestion> yesNoPerOption) An array of questions that you ask about each of their options, to replace all the yesNoPerOption questions in DRAFT.yesNoPerOption(Consumer<YesNoPerOptionQuestion.Builder>... yesNoPerOption) An array of questions that you ask about each of their options, to replace all the yesNoPerOption questions in DRAFT.yesNoPerOption(YesNoPerOptionQuestion... yesNoPerOption) An array of questions that you ask about each of their options, to replace all the yesNoPerOption questions in DRAFT.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.elementalinference.model.ElementalInferenceRequest.Builder
buildMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
id
The ID of the question set to update.
- Parameters:
id- The ID of the question set to update.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
yesNo
An array of questions that Elemental Inference answers with yes or no, to replace all the yesNo questions in DRAFT. You can specify up to 50 yesNo questions. If not specified, the yesNo questions are not changed. To remove all the yesNo questions, specify an empty array.
- Parameters:
yesNo- An array of questions that Elemental Inference answers with yes or no, to replace all the yesNo questions in DRAFT. You can specify up to 50 yesNo questions. If not specified, the yesNo questions are not changed. To remove all the yesNo questions, specify an empty array.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
yesNo
An array of questions that Elemental Inference answers with yes or no, to replace all the yesNo questions in DRAFT. You can specify up to 50 yesNo questions. If not specified, the yesNo questions are not changed. To remove all the yesNo questions, specify an empty array.
- Parameters:
yesNo- An array of questions that Elemental Inference answers with yes or no, to replace all the yesNo questions in DRAFT. You can specify up to 50 yesNo questions. If not specified, the yesNo questions are not changed. To remove all the yesNo questions, specify an empty array.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
yesNo
An array of questions that Elemental Inference answers with yes or no, to replace all the yesNo questions in DRAFT. You can specify up to 50 yesNo questions. If not specified, the yesNo questions are not changed. To remove all the yesNo questions, specify an empty array.
This is a convenience method that creates an instance of theYesNoQuestion.Builderavoiding the need to create one manually viaYesNoQuestion.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toyesNo(List<YesNoQuestion>).- Parameters:
yesNo- a consumer that will call methods onYesNoQuestion.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
yesNoPerOption
An array of questions that you ask about each of their options, to replace all the yesNoPerOption questions in DRAFT. You can specify up to 10 yesNoPerOption questions. If not specified, the yesNoPerOption questions are not changed. To remove all the yesNoPerOption questions, specify an empty array.
- Parameters:
yesNoPerOption- An array of questions that you ask about each of their options, to replace all the yesNoPerOption questions in DRAFT. You can specify up to 10 yesNoPerOption questions. If not specified, the yesNoPerOption questions are not changed. To remove all the yesNoPerOption questions, specify an empty array.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
yesNoPerOption
An array of questions that you ask about each of their options, to replace all the yesNoPerOption questions in DRAFT. You can specify up to 10 yesNoPerOption questions. If not specified, the yesNoPerOption questions are not changed. To remove all the yesNoPerOption questions, specify an empty array.
- Parameters:
yesNoPerOption- An array of questions that you ask about each of their options, to replace all the yesNoPerOption questions in DRAFT. You can specify up to 10 yesNoPerOption questions. If not specified, the yesNoPerOption questions are not changed. To remove all the yesNoPerOption questions, specify an empty array.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
yesNoPerOption
UpdateQuestionSetRequest.Builder yesNoPerOption(Consumer<YesNoPerOptionQuestion.Builder>... yesNoPerOption) An array of questions that you ask about each of their options, to replace all the yesNoPerOption questions in DRAFT. You can specify up to 10 yesNoPerOption questions. If not specified, the yesNoPerOption questions are not changed. To remove all the yesNoPerOption questions, specify an empty array.
This is a convenience method that creates an instance of theYesNoPerOptionQuestion.Builderavoiding the need to create one manually viaYesNoPerOptionQuestion.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toyesNoPerOption(List<YesNoPerOptionQuestion>).- Parameters:
yesNoPerOption- a consumer that will call methods onYesNoPerOptionQuestion.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
chooseOne
An array of questions that Elemental Inference answers by choosing one of their options, to replace all the chooseOne questions in DRAFT. You can specify up to 10 chooseOne questions. If not specified, the chooseOne questions are not changed. To remove all the chooseOne questions, specify an empty array.
- Parameters:
chooseOne- An array of questions that Elemental Inference answers by choosing one of their options, to replace all the chooseOne questions in DRAFT. You can specify up to 10 chooseOne questions. If not specified, the chooseOne questions are not changed. To remove all the chooseOne questions, specify an empty array.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
chooseOne
An array of questions that Elemental Inference answers by choosing one of their options, to replace all the chooseOne questions in DRAFT. You can specify up to 10 chooseOne questions. If not specified, the chooseOne questions are not changed. To remove all the chooseOne questions, specify an empty array.
- Parameters:
chooseOne- An array of questions that Elemental Inference answers by choosing one of their options, to replace all the chooseOne questions in DRAFT. You can specify up to 10 chooseOne questions. If not specified, the chooseOne questions are not changed. To remove all the chooseOne questions, specify an empty array.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
chooseOne
An array of questions that Elemental Inference answers by choosing one of their options, to replace all the chooseOne questions in DRAFT. You can specify up to 10 chooseOne questions. If not specified, the chooseOne questions are not changed. To remove all the chooseOne questions, specify an empty array.
This is a convenience method that creates an instance of theChooseOneQuestion.Builderavoiding the need to create one manually viaChooseOneQuestion.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tochooseOne(List<ChooseOneQuestion>).- Parameters:
chooseOne- a consumer that will call methods onChooseOneQuestion.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
name
A new name for the question set. If not specified, the name is not changed.
- Parameters:
name- A new name for the question set. If not specified, the name is not changed.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
UpdateQuestionSetRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
overrideConfiguration- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
UpdateQuestionSetRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-