Interface ListQuestionSetsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<ListQuestionSetsResponse.Builder,,ListQuestionSetsResponse> ElementalInferenceResponse.Builder,SdkBuilder<ListQuestionSetsResponse.Builder,,ListQuestionSetsResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
ListQuestionSetsResponse
@Mutable
@NotThreadSafe
public static interface ListQuestionSetsResponse.Builder
extends ElementalInferenceResponse.Builder, SdkPojo, CopyableBuilder<ListQuestionSetsResponse.Builder,ListQuestionSetsResponse>
-
Method Summary
Modifier and TypeMethodDescriptionThe token to use to retrieve the next batch of results.questionSets(Collection<QuestionSetSummary> questionSets) A list of QuestionSetSummary objects.questionSets(Consumer<QuestionSetSummary.Builder>... questionSets) A list of QuestionSetSummary objects.questionSets(QuestionSetSummary... questionSets) A list of QuestionSetSummary objects.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.elementalinference.model.ElementalInferenceResponse.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
questionSets
A list of QuestionSetSummary objects.
- Parameters:
questionSets- A list of QuestionSetSummary objects.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
questionSets
A list of QuestionSetSummary objects.
- Parameters:
questionSets- A list of QuestionSetSummary objects.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
questionSets
A list of QuestionSetSummary objects.
This is a convenience method that creates an instance of theQuestionSetSummary.Builderavoiding the need to create one manually viaQuestionSetSummary.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toquestionSets(List<QuestionSetSummary>).- Parameters:
questionSets- a consumer that will call methods onQuestionSetSummary.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
nextToken
The token to use to retrieve the next batch of results.
- Parameters:
nextToken- The token to use to retrieve the next batch of results.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-