Interface ListBotsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,ChimeResponse.Builder
,CopyableBuilder<ListBotsResponse.Builder,
,ListBotsResponse> SdkBuilder<ListBotsResponse.Builder,
,ListBotsResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
ListBotsResponse
public static interface ListBotsResponse.Builder
extends ChimeResponse.Builder, SdkPojo, CopyableBuilder<ListBotsResponse.Builder,ListBotsResponse>
-
Method Summary
Modifier and TypeMethodDescriptionbots
(Collection<Bot> bots) List of bots and bot details.bots
(Consumer<Bot.Builder>... bots) List of bots and bot details.List of bots and bot details.The token to use to retrieve the next page of results.Methods inherited from interface software.amazon.awssdk.services.chime.model.ChimeResponse.Builder
build, responseMetadata, responseMetadata
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
-
Method Details
-
bots
List of bots and bot details.
- Parameters:
bots
- List of bots and bot details.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
bots
List of bots and bot details.
- Parameters:
bots
- List of bots and bot details.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
bots
List of bots and bot details.
This is a convenience method that creates an instance of theBot.Builder
avoiding the need to create one manually viaBot.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tobots(List<Bot>)
.- Parameters:
bots
- a consumer that will call methods onBot.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 page of results.
- Parameters:
nextToken
- The token to use to retrieve the next page of results.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-