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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ListBotsResponse.Builderbots(Collection<Bot> bots)List of bots and bot details.ListBotsResponse.Builderbots(Consumer<Bot.Builder>... bots)List of bots and bot details.ListBotsResponse.Builderbots(Bot... bots)List of bots and bot details.ListBotsResponse.BuildernextToken(String nextToken)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 Detail
-
bots
ListBotsResponse.Builder bots(Collection<Bot> 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
ListBotsResponse.Builder bots(Bot... 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
ListBotsResponse.Builder bots(Consumer<Bot.Builder>... bots)
List of bots and bot details.
This is a convenience method that creates an instance of theBot.Builderavoiding the need to create one manually viaBot.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#bots(List.) - 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:
#bots(java.util.Collection)
-
nextToken
ListBotsResponse.Builder nextToken(String 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.
-
-