Interface AssociateQueueEmailAddressesRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,ConnectRequest.Builder,CopyableBuilder<AssociateQueueEmailAddressesRequest.Builder,,AssociateQueueEmailAddressesRequest> SdkBuilder<AssociateQueueEmailAddressesRequest.Builder,,AssociateQueueEmailAddressesRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
AssociateQueueEmailAddressesRequest
-
Method Summary
Modifier and TypeMethodDescriptionclientToken(String clientToken) A unique, case-sensitive identifier that you provide to ensure the idempotency of the request.emailAddressesConfig(Collection<EmailAddressConfig> emailAddressesConfig) Configuration list containing the email addresses to associate with the queue.emailAddressesConfig(Consumer<EmailAddressConfig.Builder>... emailAddressesConfig) Configuration list containing the email addresses to associate with the queue.emailAddressesConfig(EmailAddressConfig... emailAddressesConfig) Configuration list containing the email addresses to associate with the queue.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.The identifier for the queue.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfigurationMethods inherited from interface software.amazon.awssdk.services.connect.model.ConnectRequest.Builder
buildMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
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.
-
queueId
The identifier for the queue.
- Parameters:
queueId- The identifier for the queue.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
emailAddressesConfig
AssociateQueueEmailAddressesRequest.Builder emailAddressesConfig(Collection<EmailAddressConfig> emailAddressesConfig) Configuration list containing the email addresses to associate with the queue. Each configuration specifies an email address ID that should be linked to this queue for routing purposes.
- Parameters:
emailAddressesConfig- Configuration list containing the email addresses to associate with the queue. Each configuration specifies an email address ID that should be linked to this queue for routing purposes.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
emailAddressesConfig
AssociateQueueEmailAddressesRequest.Builder emailAddressesConfig(EmailAddressConfig... emailAddressesConfig) Configuration list containing the email addresses to associate with the queue. Each configuration specifies an email address ID that should be linked to this queue for routing purposes.
- Parameters:
emailAddressesConfig- Configuration list containing the email addresses to associate with the queue. Each configuration specifies an email address ID that should be linked to this queue for routing purposes.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
emailAddressesConfig
AssociateQueueEmailAddressesRequest.Builder emailAddressesConfig(Consumer<EmailAddressConfig.Builder>... emailAddressesConfig) Configuration list containing the email addresses to associate with the queue. Each configuration specifies an email address ID that should be linked to this queue for routing purposes.
This is a convenience method that creates an instance of theEmailAddressConfig.Builderavoiding the need to create one manually viaEmailAddressConfig.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toemailAddressesConfig(List<EmailAddressConfig>).- Parameters:
emailAddressesConfig- a consumer that will call methods onEmailAddressConfig.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
AssociateQueueEmailAddressesRequest.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
AssociateQueueEmailAddressesRequest.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.
-