Class PutEmailIdentityFeedbackAttributesRequest
- java.lang.Object
-
- software.amazon.awssdk.core.SdkRequest
-
- software.amazon.awssdk.awscore.AwsRequest
-
- software.amazon.awssdk.services.pinpointemail.model.PinpointEmailRequest
-
- software.amazon.awssdk.services.pinpointemail.model.PutEmailIdentityFeedbackAttributesRequest
-
- All Implemented Interfaces:
SdkPojo,ToCopyableBuilder<PutEmailIdentityFeedbackAttributesRequest.Builder,PutEmailIdentityFeedbackAttributesRequest>
@Generated("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.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfacePutEmailIdentityFeedbackAttributesRequest.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static PutEmailIdentityFeedbackAttributesRequest.Builderbuilder()BooleanemailForwardingEnabled()Sets the feedback forwarding configuration for the identity.StringemailIdentity()The email identity that you want to configure bounce and complaint feedback forwarding for.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()List<SdkField<?>>sdkFields()static Class<? extends PutEmailIdentityFeedbackAttributesRequest.Builder>serializableBuilderClass()PutEmailIdentityFeedbackAttributesRequest.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class software.amazon.awssdk.awscore.AwsRequest
overrideConfiguration
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
emailIdentity
public final String emailIdentity()
The email identity that you want to configure bounce and complaint feedback forwarding for.
- Returns:
- The email identity that you want to configure bounce and complaint feedback forwarding for.
-
emailForwardingEnabled
public final 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).- Returns:
- 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).
-
toBuilder
public PutEmailIdentityFeedbackAttributesRequest.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<PutEmailIdentityFeedbackAttributesRequest.Builder,PutEmailIdentityFeedbackAttributesRequest>- Specified by:
toBuilderin classPinpointEmailRequest
-
builder
public static PutEmailIdentityFeedbackAttributesRequest.Builder builder()
-
serializableBuilderClass
public static Class<? extends PutEmailIdentityFeedbackAttributesRequest.Builder> serializableBuilderClass()
-
hashCode
public final int hashCode()
- Overrides:
hashCodein classAwsRequest
-
equals
public final boolean equals(Object obj)
- Overrides:
equalsin classAwsRequest
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
getValueForField
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
- Overrides:
getValueForFieldin classSdkRequest
-
-