@Generated(value="software.amazon.awssdk:codegen") public final class PutEmailIdentityFeedbackAttributesRequest extends PinpointEmailRequest implements ToCopyableBuilder<PutEmailIdentityFeedbackAttributesRequest.Builder,PutEmailIdentityFeedbackAttributesRequest>
A request to set the attributes that control how bounce and complaint events are processed.
Modifier and Type | Class and Description |
---|---|
static interface |
PutEmailIdentityFeedbackAttributesRequest.Builder |
Modifier and Type | Method and Description |
---|---|
static PutEmailIdentityFeedbackAttributesRequest.Builder |
builder() |
Boolean |
emailForwardingEnabled()
Sets the feedback forwarding configuration for the identity.
|
String |
emailIdentity()
The email identity that you want to configure bounce and complaint feedback forwarding for.
|
boolean |
equals(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz)
Used to retrieve the value of a field from any class that extends
SdkRequest . |
int |
hashCode() |
List<SdkField<?>> |
sdkFields() |
static Class<? extends PutEmailIdentityFeedbackAttributesRequest.Builder> |
serializableBuilderClass() |
PutEmailIdentityFeedbackAttributesRequest.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
overrideConfiguration
copy
public String emailIdentity()
The email identity that you want to configure bounce and complaint feedback forwarding for.
public 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).
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).
public PutEmailIdentityFeedbackAttributesRequest.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<PutEmailIdentityFeedbackAttributesRequest.Builder,PutEmailIdentityFeedbackAttributesRequest>
toBuilder
in class PinpointEmailRequest
public static PutEmailIdentityFeedbackAttributesRequest.Builder builder()
public static Class<? extends PutEmailIdentityFeedbackAttributesRequest.Builder> serializableBuilderClass()
public <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
SdkRequest
SdkRequest
. The field name
specified should match the member name from the corresponding service-2.json model specified in the
codegen-resources folder for a given service. The class specifies what class to cast the returned value to.
If the returned value is also a modeled class, the SdkRequest.getValueForField(String, Class)
method will
again be available.getValueForField
in class SdkRequest
fieldName
- The name of the member to be retrieved.clazz
- The class to cast the returned object to.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.