Interface ListBotsResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<ListBotsResponse.Builder,ListBotsResponse>,LexModelsV2Response.Builder,SdkBuilder<ListBotsResponse.Builder,ListBotsResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- ListBotsResponse
public static interface ListBotsResponse.Builder extends LexModelsV2Response.Builder, SdkPojo, CopyableBuilder<ListBotsResponse.Builder,ListBotsResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ListBotsResponse.BuilderbotSummaries(Collection<BotSummary> botSummaries)Summary information for the bots that meet the filter criteria specified in the request.ListBotsResponse.BuilderbotSummaries(Consumer<BotSummary.Builder>... botSummaries)Summary information for the bots that meet the filter criteria specified in the request.ListBotsResponse.BuilderbotSummaries(BotSummary... botSummaries)Summary information for the bots that meet the filter criteria specified in the request.ListBotsResponse.BuildernextToken(String nextToken)A token that indicates whether there are more results to return in a response to theListBotsoperation.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.lexmodelsv2.model.LexModelsV2Response.Builder
build, responseMetadata, responseMetadata
-
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
-
botSummaries
ListBotsResponse.Builder botSummaries(Collection<BotSummary> botSummaries)
Summary information for the bots that meet the filter criteria specified in the request. The length of the list is specified in the
maxResultsparameter of the request. If there are more bots available, thenextTokenfield contains a token to the next page of results.- Parameters:
botSummaries- Summary information for the bots that meet the filter criteria specified in the request. The length of the list is specified in themaxResultsparameter of the request. If there are more bots available, thenextTokenfield contains a token to the next page of results.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
botSummaries
ListBotsResponse.Builder botSummaries(BotSummary... botSummaries)
Summary information for the bots that meet the filter criteria specified in the request. The length of the list is specified in the
maxResultsparameter of the request. If there are more bots available, thenextTokenfield contains a token to the next page of results.- Parameters:
botSummaries- Summary information for the bots that meet the filter criteria specified in the request. The length of the list is specified in themaxResultsparameter of the request. If there are more bots available, thenextTokenfield contains a token to the next page of results.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
botSummaries
ListBotsResponse.Builder botSummaries(Consumer<BotSummary.Builder>... botSummaries)
Summary information for the bots that meet the filter criteria specified in the request. The length of the list is specified in the
This is a convenience method that creates an instance of themaxResultsparameter of the request. If there are more bots available, thenextTokenfield contains a token to the next page of results.BotSummary.Builderavoiding the need to create one manually viaBotSummary.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#botSummaries(List.) - Parameters:
botSummaries- a consumer that will call methods onBotSummary.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#botSummaries(java.util.Collection)
-
nextToken
ListBotsResponse.Builder nextToken(String nextToken)
A token that indicates whether there are more results to return in a response to the
ListBotsoperation. If thenextTokenfield is present, you send the contents as thenextTokenparameter of aListBotsoperation request to get the next page of results.- Parameters:
nextToken- A token that indicates whether there are more results to return in a response to theListBotsoperation. If thenextTokenfield is present, you send the contents as thenextTokenparameter of aListBotsoperation request to get the next page of results.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-