Interface ListAssistantsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<ListAssistantsResponse.Builder,
,ListAssistantsResponse> SdkBuilder<ListAssistantsResponse.Builder,
,ListAssistantsResponse> SdkPojo
,SdkResponse.Builder
,WisdomResponse.Builder
- Enclosing class:
ListAssistantsResponse
public static interface ListAssistantsResponse.Builder
extends WisdomResponse.Builder, SdkPojo, CopyableBuilder<ListAssistantsResponse.Builder,ListAssistantsResponse>
-
Method Summary
Modifier and TypeMethodDescriptionassistantSummaries
(Collection<AssistantSummary> assistantSummaries) Information about the assistants.assistantSummaries
(Consumer<AssistantSummary.Builder>... assistantSummaries) Information about the assistants.assistantSummaries
(AssistantSummary... assistantSummaries) Information about the assistants.If there are additional results, this is the token for the next set of results.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
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
Methods inherited from interface software.amazon.awssdk.services.wisdom.model.WisdomResponse.Builder
build, responseMetadata, responseMetadata
-
Method Details
-
assistantSummaries
Information about the assistants.
- Parameters:
assistantSummaries
- Information about the assistants.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
assistantSummaries
Information about the assistants.
- Parameters:
assistantSummaries
- Information about the assistants.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
assistantSummaries
ListAssistantsResponse.Builder assistantSummaries(Consumer<AssistantSummary.Builder>... assistantSummaries) Information about the assistants.
This is a convenience method that creates an instance of theAssistantSummary.Builder
avoiding the need to create one manually viaAssistantSummary.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toassistantSummaries(List<AssistantSummary>)
.- Parameters:
assistantSummaries
- a consumer that will call methods onAssistantSummary.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
nextToken
If there are additional results, this is the token for the next set of results.
- Parameters:
nextToken
- If there are additional results, this is the token for the next set of results.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-