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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ListAssistantsResponse.BuilderassistantSummaries(Collection<AssistantSummary> assistantSummaries)Information about the assistants.ListAssistantsResponse.BuilderassistantSummaries(Consumer<AssistantSummary.Builder>... assistantSummaries)Information about the assistants.ListAssistantsResponse.BuilderassistantSummaries(AssistantSummary... assistantSummaries)Information about the assistants.ListAssistantsResponse.BuildernextToken(String nextToken)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 Detail
-
assistantSummaries
ListAssistantsResponse.Builder assistantSummaries(Collection<AssistantSummary> 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(AssistantSummary... 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.Builderavoiding the need to create one manually viaAssistantSummary.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#assistantSummaries(List.) - 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:
#assistantSummaries(java.util.Collection)
-
nextToken
ListAssistantsResponse.Builder nextToken(String 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.
-
-