Interface ListBotResourceGenerationsRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<ListBotResourceGenerationsRequest.Builder,ListBotResourceGenerationsRequest>,LexModelsV2Request.Builder,SdkBuilder<ListBotResourceGenerationsRequest.Builder,ListBotResourceGenerationsRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- ListBotResourceGenerationsRequest
public static interface ListBotResourceGenerationsRequest.Builder extends LexModelsV2Request.Builder, SdkPojo, CopyableBuilder<ListBotResourceGenerationsRequest.Builder,ListBotResourceGenerationsRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description ListBotResourceGenerationsRequest.BuilderbotId(String botId)The unique identifier of the bot whose generation requests you want to view.ListBotResourceGenerationsRequest.BuilderbotVersion(String botVersion)The version of the bot whose generation requests you want to view.ListBotResourceGenerationsRequest.BuilderlocaleId(String localeId)The locale of the bot whose generation requests you want to view.ListBotResourceGenerationsRequest.BuildermaxResults(Integer maxResults)The maximum number of results to return in the response.ListBotResourceGenerationsRequest.BuildernextToken(String nextToken)If the total number of results is greater than the number specified in themaxResults, the response returns a token in thenextTokenfield.ListBotResourceGenerationsRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)ListBotResourceGenerationsRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)default ListBotResourceGenerationsRequest.BuildersortBy(Consumer<GenerationSortBy.Builder> sortBy)An object containing information about the attribute and the method by which to sort the resultsListBotResourceGenerationsRequest.BuildersortBy(GenerationSortBy sortBy)An object containing information about the attribute and the method by which to sort the results-
Methods 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 Detail
-
botId
ListBotResourceGenerationsRequest.Builder botId(String 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
ListBotResourceGenerationsRequest.Builder botVersion(String 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
ListBotResourceGenerationsRequest.Builder localeId(String 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
ListBotResourceGenerationsRequest.Builder sortBy(GenerationSortBy 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
default ListBotResourceGenerationsRequest.Builder sortBy(Consumer<GenerationSortBy.Builder> 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.Builderavoiding the need to create one manually viaGenerationSortBy.builder().When the
Consumercompletes,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:
sortBy(GenerationSortBy)
-
maxResults
ListBotResourceGenerationsRequest.Builder maxResults(Integer 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
ListBotResourceGenerationsRequest.Builder nextToken(String nextToken)
If the total number of results is greater than the number specified in the
maxResults, the response returns a token in thenextTokenfield. 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 thenextTokenfield. 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)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
ListBotResourceGenerationsRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-