Interface ListBotsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<ListBotsResponse.Builder,,ListBotsResponse> SdkBuilder<ListBotsResponse.Builder,,ListBotsResponse> SdkPojo,SdkResponse.Builder,WickrResponse.Builder
- Enclosing class:
ListBotsResponse
@Mutable
@NotThreadSafe
public static interface ListBotsResponse.Builder
extends WickrResponse.Builder, SdkPojo, CopyableBuilder<ListBotsResponse.Builder,ListBotsResponse>
-
Method Summary
Modifier and TypeMethodDescriptionbots(Collection<Bot> bots) A list of bot objects matching the specified filters and within the current page.bots(Consumer<Bot.Builder>... bots) A list of bot objects matching the specified filters and within the current page.A list of bot objects matching the specified filters and within the current page.The token to use for retrieving the next page of results.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods 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, sdkHttpResponseMethods inherited from interface software.amazon.awssdk.services.wickr.model.WickrResponse.Builder
build, responseMetadata, responseMetadata
-
Method Details
-
bots
A list of bot objects matching the specified filters and within the current page.
- Parameters:
bots- A list of bot objects matching the specified filters and within the current page.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
bots
A list of bot objects matching the specified filters and within the current page.
- Parameters:
bots- A list of bot objects matching the specified filters and within the current page.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
bots
A list of bot objects matching the specified filters and within the current page.
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 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 for retrieving the next page of results. If this is not present, there are no more results.
- Parameters:
nextToken- The token to use for retrieving the next page of results. If this is not present, there are no more results.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-