Class PutEmailIdentityFeedbackAttributesRequest
- java.lang.Object
-
- software.amazon.awssdk.core.SdkRequest
-
- software.amazon.awssdk.awscore.AwsRequest
-
- software.amazon.awssdk.services.sesv2.model.SesV2Request
-
- software.amazon.awssdk.services.sesv2.model.PutEmailIdentityFeedbackAttributesRequest
-
- All Implemented Interfaces:
SdkPojo,ToCopyableBuilder<PutEmailIdentityFeedbackAttributesRequest.Builder,PutEmailIdentityFeedbackAttributesRequest>
@Generated("software.amazon.awssdk:codegen") public final class PutEmailIdentityFeedbackAttributesRequest extends SesV2Request 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.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.
- Returns:
- The email identity.
-
emailForwardingEnabled
public final Boolean emailForwardingEnabled()
Sets the feedback forwarding configuration for the identity.
If the value is
true, you receive email notifications when bounce or complaint events occur. These notifications are sent to the address that you specified in theReturn-Pathheader of the original email.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 (for example, by setting up an event destination), you receive 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, you receive email notifications when bounce or complaint events occur. These notifications are sent to the address that you specified in theReturn-Pathheader of the original email.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 (for example, by setting up an event destination), you receive 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 classSesV2Request
-
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
-
-