public class SetIdentityFeedbackForwardingEnabledRequest extends AmazonWebServiceRequest implements java.io.Serializable
Given an identity (an email address or a domain), enables or disables whether Amazon SES forwards bounce and complaint notifications as email. Feedback forwarding can only be disabled when Amazon Simple Notification Service (Amazon SNS) topics are specified for both bounces and complaints.
Feedback forwarding does not apply to delivery notifications. Delivery notifications are only available through Amazon SNS.
You can execute this operation no more than once per second.
For more information about using notifications with Amazon SES, see the Amazon SES Developer Guide.
| Constructor and Description |
|---|
SetIdentityFeedbackForwardingEnabledRequest() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.Boolean |
getForwardingEnabled()
Sets whether Amazon SES will forward bounce and complaint notifications
as email.
|
java.lang.String |
getIdentity()
The identity for which to set bounce and complaint notification
forwarding.
|
int |
hashCode() |
java.lang.Boolean |
isForwardingEnabled()
Sets whether Amazon SES will forward bounce and complaint notifications
as email.
|
void |
setForwardingEnabled(java.lang.Boolean forwardingEnabled)
Sets whether Amazon SES will forward bounce and complaint notifications
as email.
|
void |
setIdentity(java.lang.String identity)
The identity for which to set bounce and complaint notification
forwarding.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
SetIdentityFeedbackForwardingEnabledRequest |
withForwardingEnabled(java.lang.Boolean forwardingEnabled)
Sets whether Amazon SES will forward bounce and complaint notifications
as email.
|
SetIdentityFeedbackForwardingEnabledRequest |
withIdentity(java.lang.String identity)
The identity for which to set bounce and complaint notification
forwarding.
|
clone, getCloneRoot, getCloneSource, getGeneralProgressListener, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, withGeneralProgressListener, withRequestMetricCollectorpublic SetIdentityFeedbackForwardingEnabledRequest()
public java.lang.String getIdentity()
The identity for which to set bounce and complaint notification
forwarding. Examples: user@example.com,
example.com.
The identity for which to set bounce and complaint notification
forwarding. Examples: user@example.com,
example.com.
public void setIdentity(java.lang.String identity)
The identity for which to set bounce and complaint notification
forwarding. Examples: user@example.com,
example.com.
identity -
The identity for which to set bounce and complaint
notification forwarding. Examples:
user@example.com, example.com.
public SetIdentityFeedbackForwardingEnabledRequest withIdentity(java.lang.String identity)
The identity for which to set bounce and complaint notification
forwarding. Examples: user@example.com,
example.com.
Returns a reference to this object so that method calls can be chained together.
identity -
The identity for which to set bounce and complaint
notification forwarding. Examples:
user@example.com, example.com.
public java.lang.Boolean isForwardingEnabled()
Sets whether Amazon SES will forward bounce and complaint notifications
as email. true specifies that Amazon SES will forward bounce
and complaint notifications as email, in addition to any Amazon SNS topic
publishing otherwise specified. false specifies that Amazon
SES will publish bounce and complaint notifications only through Amazon
SNS. This value can only be set to false when Amazon SNS
topics are set for both Bounce and Complaint
notification types.
Sets whether Amazon SES will forward bounce and complaint
notifications as email. true specifies that Amazon
SES will forward bounce and complaint notifications as email, in
addition to any Amazon SNS topic publishing otherwise specified.
false specifies that Amazon SES will publish bounce
and complaint notifications only through Amazon SNS. This value
can only be set to false when Amazon SNS topics are
set for both Bounce and Complaint
notification types.
public java.lang.Boolean getForwardingEnabled()
Sets whether Amazon SES will forward bounce and complaint notifications
as email. true specifies that Amazon SES will forward bounce
and complaint notifications as email, in addition to any Amazon SNS topic
publishing otherwise specified. false specifies that Amazon
SES will publish bounce and complaint notifications only through Amazon
SNS. This value can only be set to false when Amazon SNS
topics are set for both Bounce and Complaint
notification types.
Sets whether Amazon SES will forward bounce and complaint
notifications as email. true specifies that Amazon
SES will forward bounce and complaint notifications as email, in
addition to any Amazon SNS topic publishing otherwise specified.
false specifies that Amazon SES will publish bounce
and complaint notifications only through Amazon SNS. This value
can only be set to false when Amazon SNS topics are
set for both Bounce and Complaint
notification types.
public void setForwardingEnabled(java.lang.Boolean forwardingEnabled)
Sets whether Amazon SES will forward bounce and complaint notifications
as email. true specifies that Amazon SES will forward bounce
and complaint notifications as email, in addition to any Amazon SNS topic
publishing otherwise specified. false specifies that Amazon
SES will publish bounce and complaint notifications only through Amazon
SNS. This value can only be set to false when Amazon SNS
topics are set for both Bounce and Complaint
notification types.
forwardingEnabled -
Sets whether Amazon SES will forward bounce and complaint
notifications as email. true specifies that
Amazon SES will forward bounce and complaint notifications as
email, in addition to any Amazon SNS topic publishing
otherwise specified. false specifies that Amazon
SES will publish bounce and complaint notifications only
through Amazon SNS. This value can only be set to
false when Amazon SNS topics are set for both
Bounce and Complaint notification
types.
public SetIdentityFeedbackForwardingEnabledRequest withForwardingEnabled(java.lang.Boolean forwardingEnabled)
Sets whether Amazon SES will forward bounce and complaint notifications
as email. true specifies that Amazon SES will forward bounce
and complaint notifications as email, in addition to any Amazon SNS topic
publishing otherwise specified. false specifies that Amazon
SES will publish bounce and complaint notifications only through Amazon
SNS. This value can only be set to false when Amazon SNS
topics are set for both Bounce and Complaint
notification types.
Returns a reference to this object so that method calls can be chained together.
forwardingEnabled -
Sets whether Amazon SES will forward bounce and complaint
notifications as email. true specifies that
Amazon SES will forward bounce and complaint notifications as
email, in addition to any Amazon SNS topic publishing
otherwise specified. false specifies that Amazon
SES will publish bounce and complaint notifications only
through Amazon SNS. This value can only be set to
false when Amazon SNS topics are set for both
Bounce and Complaint notification
types.
public java.lang.String toString()
toString in class java.lang.ObjectObject.toString()public int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.ObjectCopyright © 2018 Amazon Web Services, Inc. All Rights Reserved.