Interface PutEmailIdentityFeedbackAttributesRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<PutEmailIdentityFeedbackAttributesRequest.Builder,
,PutEmailIdentityFeedbackAttributesRequest> PinpointEmailRequest.Builder
,SdkBuilder<PutEmailIdentityFeedbackAttributesRequest.Builder,
,PutEmailIdentityFeedbackAttributesRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
PutEmailIdentityFeedbackAttributesRequest
-
Method Summary
Modifier and TypeMethodDescriptionemailForwardingEnabled
(Boolean emailForwardingEnabled) Sets the feedback forwarding configuration for the identity.emailIdentity
(String emailIdentity) The email identity that you want to configure bounce and complaint feedback forwarding for.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.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.pinpointemail.model.PinpointEmailRequest.Builder
build
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
emailIdentity
The email identity that you want to configure bounce and complaint feedback forwarding for.
- Parameters:
emailIdentity
- The email identity that you want to configure bounce and complaint feedback forwarding for.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
emailForwardingEnabled
PutEmailIdentityFeedbackAttributesRequest.Builder emailForwardingEnabled(Boolean emailForwardingEnabled) Sets the feedback forwarding configuration for the identity.
If the value is
true
, Amazon Pinpoint sends you email notifications when bounce or complaint events occur. Amazon Pinpoint sends this notification to the address that you specified in the Return-Path header of the original email.When you set this value to
false
, Amazon Pinpoint sends notifications through other mechanisms, such as by notifying an Amazon SNS topic or another event destination. You're required to have a method of tracking bounces and complaints. If you haven't set up another mechanism for receiving bounce or complaint notifications, Amazon Pinpoint sends an email notification when these events occur (even if this setting is disabled).- Parameters:
emailForwardingEnabled
- Sets the feedback forwarding configuration for the identity.If the value is
true
, Amazon Pinpoint sends you email notifications when bounce or complaint events occur. Amazon Pinpoint sends this notification to the address that you specified in the Return-Path header of the original email.When you set this value to
false
, Amazon Pinpoint sends notifications through other mechanisms, such as by notifying an Amazon SNS topic or another event destination. You're required to have a method of tracking bounces and complaints. If you haven't set up another mechanism for receiving bounce or complaint notifications, Amazon Pinpoint sends an email notification when these events occur (even if this setting is disabled).- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
PutEmailIdentityFeedbackAttributesRequest.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
PutEmailIdentityFeedbackAttributesRequest.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.
-