public static interface ListBotVersionsRequest.Builder extends LexModelsV2Request.Builder, SdkPojo, CopyableBuilder<ListBotVersionsRequest.Builder,ListBotVersionsRequest>
| Modifier and Type | Method and Description |
|---|---|
ListBotVersionsRequest.Builder |
botId(String botId)
The identifier of the bot to list versions for.
|
ListBotVersionsRequest.Builder |
maxResults(Integer maxResults)
The maximum number of versions to return in each page of results.
|
ListBotVersionsRequest.Builder |
nextToken(String nextToken)
If the response to the
ListBotVersion operation contains more results than specified in the
maxResults parameter, a token is returned in the response. |
ListBotVersionsRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) |
ListBotVersionsRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) |
ListBotVersionsRequest.Builder |
sortBy(BotVersionSortBy sortBy)
Specifies sorting parameters for the list of versions.
|
default ListBotVersionsRequest.Builder |
sortBy(Consumer<BotVersionSortBy.Builder> sortBy)
Specifies sorting parameters for the list of versions.
|
buildoverrideConfigurationequalsBySdkFields, sdkFieldscopyapplyMutation, buildListBotVersionsRequest.Builder botId(String botId)
The identifier of the bot to list versions for.
botId - The identifier of the bot to list versions for.ListBotVersionsRequest.Builder sortBy(BotVersionSortBy sortBy)
Specifies sorting parameters for the list of versions. You can specify that the list be sorted by version name in either ascending or descending order.
sortBy - Specifies sorting parameters for the list of versions. You can specify that the list be sorted by
version name in either ascending or descending order.default ListBotVersionsRequest.Builder sortBy(Consumer<BotVersionSortBy.Builder> sortBy)
Specifies sorting parameters for the list of versions. You can specify that the list be sorted by version name in either ascending or descending order.
This is a convenience method that creates an instance of theBotVersionSortBy.Builder avoiding the
need to create one manually via BotVersionSortBy.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its
result is passed to sortBy(BotVersionSortBy).sortBy - a consumer that will call methods on BotVersionSortBy.BuildersortBy(BotVersionSortBy)ListBotVersionsRequest.Builder maxResults(Integer maxResults)
The maximum number of versions to return in each page of results. If there are fewer results than the max page size, only the actual number of results are returned.
maxResults - The maximum number of versions to return in each page of results. If there are fewer results than the
max page size, only the actual number of results are returned.ListBotVersionsRequest.Builder nextToken(String nextToken)
If the response to the ListBotVersion operation contains more results than specified in the
maxResults parameter, a token is returned in the response. Use that token in the
nextToken parameter to return the next page of results.
nextToken - If the response to the ListBotVersion operation contains more results than specified in
the maxResults parameter, a token is returned in the response. Use that token in the
nextToken parameter to return the next page of results.ListBotVersionsRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
overrideConfiguration in interface AwsRequest.BuilderListBotVersionsRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
overrideConfiguration in interface AwsRequest.BuilderCopyright © 2022. All rights reserved.