Interface ListBotResourceGenerationsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<ListBotResourceGenerationsResponse.Builder,
,ListBotResourceGenerationsResponse> LexModelsV2Response.Builder
,SdkBuilder<ListBotResourceGenerationsResponse.Builder,
,ListBotResourceGenerationsResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
ListBotResourceGenerationsResponse
-
Method Summary
Modifier and TypeMethodDescriptionThe unique identifier of the bot for which the generation requests were made.botVersion
(String botVersion) The version of the bot for which the generation requests were made.generationSummaries
(Collection<GenerationSummary> generationSummaries) A list of objects, each containing information about a generation request for the bot locale.generationSummaries
(Consumer<GenerationSummary.Builder>... generationSummaries) A list of objects, each containing information about a generation request for the bot locale.generationSummaries
(GenerationSummary... generationSummaries) A list of objects, each containing information about a generation request for the bot locale.The locale of the bot for which the generation requests were made.If the total number of results is greater than the number specified in themaxResults
, the response returns a token in thenextToken
field.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 Details
-
botId
The unique identifier of the bot for which the generation requests were made.
- Parameters:
botId
- The unique identifier of the bot for which the generation requests were made.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
botVersion
The version of the bot for which the generation requests were made.
- Parameters:
botVersion
- The version of the bot for which the generation requests were made.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
localeId
The locale of the bot for which the generation requests were made.
- Parameters:
localeId
- The locale of the bot for which the generation requests were made.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
generationSummaries
ListBotResourceGenerationsResponse.Builder generationSummaries(Collection<GenerationSummary> generationSummaries) A list of objects, each containing information about a generation request for the bot locale.
- Parameters:
generationSummaries
- A list of objects, each containing information about a generation request for the bot locale.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
generationSummaries
ListBotResourceGenerationsResponse.Builder generationSummaries(GenerationSummary... generationSummaries) A list of objects, each containing information about a generation request for the bot locale.
- Parameters:
generationSummaries
- A list of objects, each containing information about a generation request for the bot locale.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
generationSummaries
ListBotResourceGenerationsResponse.Builder generationSummaries(Consumer<GenerationSummary.Builder>... generationSummaries) A list of objects, each containing information about a generation request for the bot locale.
This is a convenience method that creates an instance of theGenerationSummary.Builder
avoiding the need to create one manually viaGenerationSummary.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed togenerationSummaries(List<GenerationSummary>)
.- Parameters:
generationSummaries
- a consumer that will call methods onGenerationSummary.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
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.
-