Interface AssociateEmailAddressAliasRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,ConnectRequest.Builder
,CopyableBuilder<AssociateEmailAddressAliasRequest.Builder,
,AssociateEmailAddressAliasRequest> SdkBuilder<AssociateEmailAddressAliasRequest.Builder,
,AssociateEmailAddressAliasRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
AssociateEmailAddressAliasRequest
-
Method Summary
Modifier and TypeMethodDescriptionaliasConfiguration
(Consumer<AliasConfiguration.Builder> aliasConfiguration) Configuration object that specifies which email address will serve as the alias.aliasConfiguration
(AliasConfiguration aliasConfiguration) Configuration object that specifies which email address will serve as the alias.clientToken
(String clientToken) A unique, case-sensitive identifier that you provide to ensure the idempotency of the request.emailAddressId
(String emailAddressId) The identifier of the email address.instanceId
(String instanceId) The identifier of the Amazon Connect instance.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
Methods inherited from interface software.amazon.awssdk.services.connect.model.ConnectRequest.Builder
build
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
emailAddressId
The identifier of the email address.
- Parameters:
emailAddressId
- The identifier of the email address.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
instanceId
The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
- Parameters:
instanceId
- The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
aliasConfiguration
Configuration object that specifies which email address will serve as the alias. The specified email address must already exist in the Amazon Connect instance and cannot already be configured as an alias or have an alias of its own.
- Parameters:
aliasConfiguration
- Configuration object that specifies which email address will serve as the alias. The specified email address must already exist in the Amazon Connect instance and cannot already be configured as an alias or have an alias of its own.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
aliasConfiguration
default AssociateEmailAddressAliasRequest.Builder aliasConfiguration(Consumer<AliasConfiguration.Builder> aliasConfiguration) Configuration object that specifies which email address will serve as the alias. The specified email address must already exist in the Amazon Connect instance and cannot already be configured as an alias or have an alias of its own.
This is a convenience method that creates an instance of theAliasConfiguration.Builder
avoiding the need to create one manually viaAliasConfiguration.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toaliasConfiguration(AliasConfiguration)
.- Parameters:
aliasConfiguration
- a consumer that will call methods onAliasConfiguration.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
AssociateEmailAddressAliasRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
overrideConfiguration
- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
AssociateEmailAddressAliasRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-