Interface ListBotAliasesResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<ListBotAliasesResponse.Builder,ListBotAliasesResponse>,LexModelsV2Response.Builder,SdkBuilder<ListBotAliasesResponse.Builder,ListBotAliasesResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- ListBotAliasesResponse
public static interface ListBotAliasesResponse.Builder extends LexModelsV2Response.Builder, SdkPojo, CopyableBuilder<ListBotAliasesResponse.Builder,ListBotAliasesResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ListBotAliasesResponse.BuilderbotAliasSummaries(Collection<BotAliasSummary> botAliasSummaries)Summary information for the bot aliases that meet the filter criteria specified in the request.ListBotAliasesResponse.BuilderbotAliasSummaries(Consumer<BotAliasSummary.Builder>... botAliasSummaries)Summary information for the bot aliases that meet the filter criteria specified in the request.ListBotAliasesResponse.BuilderbotAliasSummaries(BotAliasSummary... botAliasSummaries)Summary information for the bot aliases that meet the filter criteria specified in the request.ListBotAliasesResponse.BuilderbotId(String botId)The identifier of the bot associated with the aliases.ListBotAliasesResponse.BuildernextToken(String nextToken)A token that indicates whether there are more results to return in a response to theListBotAliasesoperation.-
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
-
botAliasSummaries
ListBotAliasesResponse.Builder botAliasSummaries(Collection<BotAliasSummary> botAliasSummaries)
Summary information for the bot aliases that meet the filter criteria specified in the request. The length of the list is specified in the
maxResultsparameter of the request. If there are more aliases available, thenextTokenfield contains a token to get the next page of results.- Parameters:
botAliasSummaries- Summary information for the bot aliases that meet the filter criteria specified in the request. The length of the list is specified in themaxResultsparameter of the request. If there are more aliases available, thenextTokenfield contains a token to get the next page of results.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
botAliasSummaries
ListBotAliasesResponse.Builder botAliasSummaries(BotAliasSummary... botAliasSummaries)
Summary information for the bot aliases that meet the filter criteria specified in the request. The length of the list is specified in the
maxResultsparameter of the request. If there are more aliases available, thenextTokenfield contains a token to get the next page of results.- Parameters:
botAliasSummaries- Summary information for the bot aliases that meet the filter criteria specified in the request. The length of the list is specified in themaxResultsparameter of the request. If there are more aliases available, thenextTokenfield contains a token to get the next page of results.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
botAliasSummaries
ListBotAliasesResponse.Builder botAliasSummaries(Consumer<BotAliasSummary.Builder>... botAliasSummaries)
Summary information for the bot aliases that meet the filter criteria specified in the request. The length of the list is specified in the
This is a convenience method that creates an instance of themaxResultsparameter of the request. If there are more aliases available, thenextTokenfield contains a token to get the next page of results.BotAliasSummary.Builderavoiding the need to create one manually viaBotAliasSummary.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#botAliasSummaries(List.) - Parameters:
botAliasSummaries- a consumer that will call methods onBotAliasSummary.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#botAliasSummaries(java.util.Collection)
-
nextToken
ListBotAliasesResponse.Builder nextToken(String nextToken)
A token that indicates whether there are more results to return in a response to the
ListBotAliasesoperation. If thenextTokenfield is present, you send the contents as thenextTokenparameter of aListBotAliasesoperation request to get the next page of results.- Parameters:
nextToken- A token that indicates whether there are more results to return in a response to theListBotAliasesoperation. If thenextTokenfield is present, you send the contents as thenextTokenparameter of aListBotAliasesoperation request to get the next page of results.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
botId
ListBotAliasesResponse.Builder botId(String botId)
The identifier of the bot associated with the aliases.
- Parameters:
botId- The identifier of the bot associated with the aliases.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-