Interface ListBotVersionReplicasResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<ListBotVersionReplicasResponse.Builder,
,ListBotVersionReplicasResponse> LexModelsV2Response.Builder
,SdkBuilder<ListBotVersionReplicasResponse.Builder,
,ListBotVersionReplicasResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
ListBotVersionReplicasResponse
public static interface ListBotVersionReplicasResponse.Builder
extends LexModelsV2Response.Builder, SdkPojo, CopyableBuilder<ListBotVersionReplicasResponse.Builder,ListBotVersionReplicasResponse>
-
Method Summary
Modifier and TypeMethodDescriptionThe unique ID of the bots in the list of replicated bots.botVersionReplicaSummaries
(Collection<BotVersionReplicaSummary> botVersionReplicaSummaries) The information summary used for the replicated bots in the list of replicated bots.botVersionReplicaSummaries
(Consumer<BotVersionReplicaSummary.Builder>... botVersionReplicaSummaries) The information summary used for the replicated bots in the list of replicated bots.botVersionReplicaSummaries
(BotVersionReplicaSummary... botVersionReplicaSummaries) The information summary used for the replicated bots in the list of replicated bots.The next token used for the replicated bots in the list of replicated bots.replicaRegion
(String replicaRegion) The region used for the replicated bots in the list of replicated bots.sourceRegion
(String sourceRegion) The source region used for the bots in the list of replicated bots.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 ID of the bots in the list of replicated bots.
- Parameters:
botId
- The unique ID of the bots in the list of replicated bots.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sourceRegion
The source region used for the bots in the list of replicated bots.
- Parameters:
sourceRegion
- The source region used for the bots in the list of replicated bots.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
replicaRegion
The region used for the replicated bots in the list of replicated bots.
- Parameters:
replicaRegion
- The region used for the replicated bots in the list of replicated bots.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
botVersionReplicaSummaries
ListBotVersionReplicasResponse.Builder botVersionReplicaSummaries(Collection<BotVersionReplicaSummary> botVersionReplicaSummaries) The information summary used for the replicated bots in the list of replicated bots.
- Parameters:
botVersionReplicaSummaries
- The information summary used for the replicated bots in the list of replicated bots.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
botVersionReplicaSummaries
ListBotVersionReplicasResponse.Builder botVersionReplicaSummaries(BotVersionReplicaSummary... botVersionReplicaSummaries) The information summary used for the replicated bots in the list of replicated bots.
- Parameters:
botVersionReplicaSummaries
- The information summary used for the replicated bots in the list of replicated bots.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
botVersionReplicaSummaries
ListBotVersionReplicasResponse.Builder botVersionReplicaSummaries(Consumer<BotVersionReplicaSummary.Builder>... botVersionReplicaSummaries) The information summary used for the replicated bots in the list of replicated bots.
This is a convenience method that creates an instance of theBotVersionReplicaSummary.Builder
avoiding the need to create one manually viaBotVersionReplicaSummary.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tobotVersionReplicaSummaries(List<BotVersionReplicaSummary>)
.- Parameters:
botVersionReplicaSummaries
- a consumer that will call methods onBotVersionReplicaSummary.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
nextToken
The next token used for the replicated bots in the list of replicated bots.
- Parameters:
nextToken
- The next token used for the replicated bots in the list of replicated bots.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-