Interface ListBotReplicasResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<ListBotReplicasResponse.Builder,
,ListBotReplicasResponse> LexModelsV2Response.Builder
,SdkBuilder<ListBotReplicasResponse.Builder,
,ListBotReplicasResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
ListBotReplicasResponse
@Mutable
@NotThreadSafe
public static interface ListBotReplicasResponse.Builder
extends LexModelsV2Response.Builder, SdkPojo, CopyableBuilder<ListBotReplicasResponse.Builder,ListBotReplicasResponse>
-
Method Summary
Modifier and TypeMethodDescriptionthe unique bot IDs in the list of replicated bots.botReplicaSummaries
(Collection<BotReplicaSummary> botReplicaSummaries) The summary details for the replicated bots.botReplicaSummaries
(Consumer<BotReplicaSummary.Builder>... botReplicaSummaries) The summary details for the replicated bots.botReplicaSummaries
(BotReplicaSummary... botReplicaSummaries) The summary details for the replicated bots.sourceRegion
(String sourceRegion) The source region of the source 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, sdkFieldNameToField, sdkFields
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
botId
the unique bot IDs in the list of replicated bots.
- Parameters:
botId
- the unique bot IDs 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 of the source bots in the list of replicated bots.
- Parameters:
sourceRegion
- The source region of the source bots in the list of replicated bots.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
botReplicaSummaries
ListBotReplicasResponse.Builder botReplicaSummaries(Collection<BotReplicaSummary> botReplicaSummaries) The summary details for the replicated bots.
- Parameters:
botReplicaSummaries
- The summary details for the replicated bots.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
botReplicaSummaries
The summary details for the replicated bots.
- Parameters:
botReplicaSummaries
- The summary details for the replicated bots.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
botReplicaSummaries
ListBotReplicasResponse.Builder botReplicaSummaries(Consumer<BotReplicaSummary.Builder>... botReplicaSummaries) The summary details for the replicated bots.
This is a convenience method that creates an instance of theBotReplicaSummary.Builder
avoiding the need to create one manually viaBotReplicaSummary.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tobotReplicaSummaries(List<BotReplicaSummary>)
.- Parameters:
botReplicaSummaries
- a consumer that will call methods onBotReplicaSummary.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-