Interface ListBotResourceGenerationsRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<ListBotResourceGenerationsRequest.Builder,
,ListBotResourceGenerationsRequest> LexModelsV2Request.Builder
,SdkBuilder<ListBotResourceGenerationsRequest.Builder,
,ListBotResourceGenerationsRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
ListBotResourceGenerationsRequest
-
Method Summary
Modifier and TypeMethodDescriptionThe unique identifier of the bot whose generation requests you want to view.botVersion
(String botVersion) The version of the bot whose generation requests you want to view.The locale of the bot whose generation requests you want to view.maxResults
(Integer maxResults) The maximum number of results to return in the response.If the total number of results is greater than the number specified in themaxResults
, the response returns a token in thenextToken
field.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.sortBy
(Consumer<GenerationSortBy.Builder> sortBy) An object containing information about the attribute and the method by which to sort the resultssortBy
(GenerationSortBy sortBy) An object containing information about the attribute and the method by which to sort the resultsMethods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.lexmodelsv2.model.LexModelsV2Request.Builder
build
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
botId
The unique identifier of the bot whose generation requests you want to view.
- Parameters:
botId
- The unique identifier of the bot whose generation requests you want to view.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
botVersion
The version of the bot whose generation requests you want to view.
- Parameters:
botVersion
- The version of the bot whose generation requests you want to view.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
localeId
The locale of the bot whose generation requests you want to view.
- Parameters:
localeId
- The locale of the bot whose generation requests you want to view.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sortBy
An object containing information about the attribute and the method by which to sort the results
- Parameters:
sortBy
- An object containing information about the attribute and the method by which to sort the results- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sortBy
An object containing information about the attribute and the method by which to sort the results
This is a convenience method that creates an instance of theGenerationSortBy.Builder
avoiding the need to create one manually viaGenerationSortBy.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tosortBy(GenerationSortBy)
.- Parameters:
sortBy
- a consumer that will call methods onGenerationSortBy.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
maxResults
The maximum number of results to return in the response.
- Parameters:
maxResults
- The maximum number of results to return in the response.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
nextToken
If the total number of results is greater than the number specified in the
maxResults
, the response returns a token in thenextToken
field. Use this token when making a request to return the next batch of results.- Parameters:
nextToken
- If the total number of results is greater than the number specified in themaxResults
, the response returns a token in thenextToken
field. Use this token when making a request to return the next batch of results.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
ListBotResourceGenerationsRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
overrideConfiguration
- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
ListBotResourceGenerationsRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-