Interface CreateQuestionSetRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<CreateQuestionSetRequest.Builder,,CreateQuestionSetRequest> ElementalInferenceRequest.Builder,SdkBuilder<CreateQuestionSetRequest.Builder,,CreateQuestionSetRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
CreateQuestionSetRequest
-
Method Summary
Modifier and TypeMethodDescriptionchooseOne(Collection<ChooseOneQuestion> chooseOne) An array of questions that Elemental Inference answers by choosing one of their options.chooseOne(Consumer<ChooseOneQuestion.Builder>... chooseOne) An array of questions that Elemental Inference answers by choosing one of their options.chooseOne(ChooseOneQuestion... chooseOne) An array of questions that Elemental Inference answers by choosing one of their options.A user-friendly name for this question set.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.Optional tags to associate with the question set.yesNo(Collection<YesNoQuestion> yesNo) An array of questions that Elemental Inference answers with yes or no.yesNo(Consumer<YesNoQuestion.Builder>... yesNo) An array of questions that Elemental Inference answers with yes or no.yesNo(YesNoQuestion... yesNo) An array of questions that Elemental Inference answers with yes or no.yesNoPerOption(Collection<YesNoPerOptionQuestion> yesNoPerOption) An array of questions that you ask about each of their options.yesNoPerOption(Consumer<YesNoPerOptionQuestion.Builder>... yesNoPerOption) An array of questions that you ask about each of their options.yesNoPerOption(YesNoPerOptionQuestion... yesNoPerOption) An array of questions that you ask about each of their options.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
-
yesNo
An array of questions that Elemental Inference answers with yes or no. You can specify up to 50 yesNo questions. An empty array is the same as omitting this property.
- Parameters:
yesNo- An array of questions that Elemental Inference answers with yes or no. You can specify up to 50 yesNo questions. An empty array is the same as omitting this property.- 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. You can specify up to 50 yesNo questions. An empty array is the same as omitting this property.
- Parameters:
yesNo- An array of questions that Elemental Inference answers with yes or no. You can specify up to 50 yesNo questions. An empty array is the same as omitting this property.- 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. You can specify up to 50 yesNo questions. An empty array is the same as omitting this property.
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. Elemental Inference answers yes or no for each option. You can specify up to 10 yesNoPerOption questions. An empty array is the same as omitting this property.
- Parameters:
yesNoPerOption- An array of questions that you ask about each of their options. Elemental Inference answers yes or no for each option. You can specify up to 10 yesNoPerOption questions. An empty array is the same as omitting this property.- 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. Elemental Inference answers yes or no for each option. You can specify up to 10 yesNoPerOption questions. An empty array is the same as omitting this property.
- Parameters:
yesNoPerOption- An array of questions that you ask about each of their options. Elemental Inference answers yes or no for each option. You can specify up to 10 yesNoPerOption questions. An empty array is the same as omitting this property.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
yesNoPerOption
CreateQuestionSetRequest.Builder yesNoPerOption(Consumer<YesNoPerOptionQuestion.Builder>... yesNoPerOption) An array of questions that you ask about each of their options. Elemental Inference answers yes or no for each option. You can specify up to 10 yesNoPerOption questions. An empty array is the same as omitting this property.
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. You can specify up to 10 chooseOne questions. An empty array is the same as omitting this property.
- Parameters:
chooseOne- An array of questions that Elemental Inference answers by choosing one of their options. You can specify up to 10 chooseOne questions. An empty array is the same as omitting this property.- 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. You can specify up to 10 chooseOne questions. An empty array is the same as omitting this property.
- Parameters:
chooseOne- An array of questions that Elemental Inference answers by choosing one of their options. You can specify up to 10 chooseOne questions. An empty array is the same as omitting this property.- 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. You can specify up to 10 chooseOne questions. An empty array is the same as omitting this property.
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 user-friendly name for this question set.
- Parameters:
name- A user-friendly name for this question set.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
Optional tags to associate with the question set. You can also add tags later, using TagResource.
- Parameters:
tags- Optional tags to associate with the question set. You can also add tags later, using TagResource.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
CreateQuestionSetRequest.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
CreateQuestionSetRequest.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.
-