Interface ListBotResourceGenerationsResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<ListBotResourceGenerationsResponse.Builder,ListBotResourceGenerationsResponse>,LexModelsV2Response.Builder,SdkBuilder<ListBotResourceGenerationsResponse.Builder,ListBotResourceGenerationsResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- ListBotResourceGenerationsResponse
public static interface ListBotResourceGenerationsResponse.Builder extends LexModelsV2Response.Builder, SdkPojo, CopyableBuilder<ListBotResourceGenerationsResponse.Builder,ListBotResourceGenerationsResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ListBotResourceGenerationsResponse.BuilderbotId(String botId)The unique identifier of the bot for which the generation requests were made.ListBotResourceGenerationsResponse.BuilderbotVersion(String botVersion)The version of the bot for which the generation requests were made.ListBotResourceGenerationsResponse.BuildergenerationSummaries(Collection<GenerationSummary> generationSummaries)A list of objects, each containing information about a generation request for the bot locale.ListBotResourceGenerationsResponse.BuildergenerationSummaries(Consumer<GenerationSummary.Builder>... generationSummaries)A list of objects, each containing information about a generation request for the bot locale.ListBotResourceGenerationsResponse.BuildergenerationSummaries(GenerationSummary... generationSummaries)A list of objects, each containing information about a generation request for the bot locale.ListBotResourceGenerationsResponse.BuilderlocaleId(String localeId)The locale of the bot for which the generation requests were made.ListBotResourceGenerationsResponse.BuildernextToken(String nextToken)If the total number of results is greater than the number specified in themaxResults, the response returns a token in thenextTokenfield.-
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
-
botId
ListBotResourceGenerationsResponse.Builder botId(String 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
ListBotResourceGenerationsResponse.Builder botVersion(String 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
ListBotResourceGenerationsResponse.Builder localeId(String 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.Builderavoiding the need to create one manually viaGenerationSummary.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#generationSummaries(List.) - 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:
#generationSummaries(java.util.Collection)
-
nextToken
ListBotResourceGenerationsResponse.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.
-
-