Interface GetBotAliasesResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<GetBotAliasesResponse.Builder,
,GetBotAliasesResponse> LexModelBuildingResponse.Builder
,SdkBuilder<GetBotAliasesResponse.Builder,
,GetBotAliasesResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
GetBotAliasesResponse
public static interface GetBotAliasesResponse.Builder
extends LexModelBuildingResponse.Builder, SdkPojo, CopyableBuilder<GetBotAliasesResponse.Builder,GetBotAliasesResponse>
-
Method Summary
Modifier and TypeMethodDescriptionbotAliases
(Collection<BotAliasMetadata> botAliases) An array ofBotAliasMetadata
objects, each describing a bot alias.botAliases
(Consumer<BotAliasMetadata.Builder>... botAliases) An array ofBotAliasMetadata
objects, each describing a bot alias.botAliases
(BotAliasMetadata... botAliases) An array ofBotAliasMetadata
objects, each describing a bot alias.A pagination token for fetching next page of aliases.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.lexmodelbuilding.model.LexModelBuildingResponse.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
-
botAliases
An array of
BotAliasMetadata
objects, each describing a bot alias.- Parameters:
botAliases
- An array ofBotAliasMetadata
objects, each describing a bot alias.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
botAliases
An array of
BotAliasMetadata
objects, each describing a bot alias.- Parameters:
botAliases
- An array ofBotAliasMetadata
objects, each describing a bot alias.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
botAliases
An array of
This is a convenience method that creates an instance of theBotAliasMetadata
objects, each describing a bot alias.BotAliasMetadata.Builder
avoiding the need to create one manually viaBotAliasMetadata.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tobotAliases(List<BotAliasMetadata>)
.- Parameters:
botAliases
- a consumer that will call methods onBotAliasMetadata.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
nextToken
A pagination token for fetching next page of aliases. If the response to this call is truncated, Amazon Lex returns a pagination token in the response. To fetch the next page of aliases, specify the pagination token in the next request.
- Parameters:
nextToken
- A pagination token for fetching next page of aliases. If the response to this call is truncated, Amazon Lex returns a pagination token in the response. To fetch the next page of aliases, specify the pagination token in the next request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-