Interface RegisterAssistantReplicaKeyRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<RegisterAssistantReplicaKeyRequest.Builder,,RegisterAssistantReplicaKeyRequest> QConnectRequest.Builder,SdkBuilder<RegisterAssistantReplicaKeyRequest.Builder,,RegisterAssistantReplicaKeyRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
RegisterAssistantReplicaKeyRequest
@Mutable
@NotThreadSafe
public static interface RegisterAssistantReplicaKeyRequest.Builder
extends QConnectRequest.Builder, SdkPojo, CopyableBuilder<RegisterAssistantReplicaKeyRequest.Builder,RegisterAssistantReplicaKeyRequest>
-
Method Summary
Modifier and TypeMethodDescriptionassistantId(String assistantId) The identifier of the Amazon Q in Connect assistant.clientToken(String clientToken) A unique, case-sensitive identifier that you provide to ensure the idempotency of the request.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.replicaKmsKey(Consumer<ReplicaKmsKey.Builder> replicaKmsKey) The replica Region KMS key to register for the assistant.replicaKmsKey(ReplicaKmsKey replicaKmsKey) The replica Region KMS key to register for the assistant.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.qconnect.model.QConnectRequest.Builder
buildMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
assistantId
The identifier of the Amazon Q in Connect assistant.
- Parameters:
assistantId- The identifier of the Amazon Q in Connect assistant.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
replicaKmsKey
The replica Region KMS key to register for the assistant.
- Parameters:
replicaKmsKey- The replica Region KMS key to register for the assistant.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
replicaKmsKey
default RegisterAssistantReplicaKeyRequest.Builder replicaKmsKey(Consumer<ReplicaKmsKey.Builder> replicaKmsKey) The replica Region KMS key to register for the assistant.
This is a convenience method that creates an instance of theReplicaKmsKey.Builderavoiding the need to create one manually viaReplicaKmsKey.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toreplicaKmsKey(ReplicaKmsKey).- Parameters:
replicaKmsKey- a consumer that will call methods onReplicaKmsKey.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
clientToken
A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If not provided, the Amazon Web Services SDK populates this field. For more information about idempotency, see Making retries safe with idempotent APIs..
- Parameters:
clientToken- A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If not provided, the Amazon Web Services SDK populates this field. For more information about idempotency, see Making retries safe with idempotent APIs..- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
RegisterAssistantReplicaKeyRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
overrideConfiguration- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
RegisterAssistantReplicaKeyRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-