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 ofBotAliasMetadataobjects, each describing a bot alias.botAliases(Consumer<BotAliasMetadata.Builder>... botAliases) An array ofBotAliasMetadataobjects, each describing a bot alias.botAliases(BotAliasMetadata... botAliases) An array ofBotAliasMetadataobjects, each describing a bot alias.A pagination token for fetching next page of aliases.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.lexmodelbuilding.model.LexModelBuildingResponse.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
botAliases
An array of
BotAliasMetadataobjects, each describing a bot alias.- Parameters:
botAliases- An array ofBotAliasMetadataobjects, each describing a bot alias.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
botAliases
An array of
BotAliasMetadataobjects, each describing a bot alias.- Parameters:
botAliases- An array ofBotAliasMetadataobjects, 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 theBotAliasMetadataobjects, each describing a bot alias.BotAliasMetadata.Builderavoiding the need to create one manually viaBotAliasMetadata.builder().When the
Consumercompletes,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.
-