public class SetIdentityFeedbackForwardingEnabledRequest extends AmazonWebServiceRequest implements Serializable
SetIdentityFeedbackForwardingEnabled operation
.
Given an identity (email address or domain), enables or disables whether Amazon SES forwards feedback notifications as email. Feedback forwarding may only be disabled when both complaint and bounce topics are set.
This action is throttled at one request per second.
For more information about feedback notification, see the Amazon SES Developer Guide .
Constructor and Description |
---|
SetIdentityFeedbackForwardingEnabledRequest() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
Boolean |
getForwardingEnabled()
Sets whether Amazon SES will forward feedback notifications as email.
|
String |
getIdentity()
The identity for which to set feedback notification forwarding.
|
int |
hashCode() |
Boolean |
isForwardingEnabled()
Sets whether Amazon SES will forward feedback notifications as email.
|
void |
setForwardingEnabled(Boolean forwardingEnabled)
Sets whether Amazon SES will forward feedback notifications as email.
|
void |
setIdentity(String identity)
The identity for which to set feedback notification forwarding.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
SetIdentityFeedbackForwardingEnabledRequest |
withForwardingEnabled(Boolean forwardingEnabled)
Sets whether Amazon SES will forward feedback notifications as email.
|
SetIdentityFeedbackForwardingEnabledRequest |
withIdentity(String identity)
The identity for which to set feedback notification forwarding.
|
copyPrivateRequestParameters, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, setRequestCredentials, setRequestMetricCollector, withRequestMetricCollector
public SetIdentityFeedbackForwardingEnabledRequest()
public String getIdentity()
[email protected]
, example.com
.[email protected]
, example.com
.public void setIdentity(String identity)
[email protected]
, example.com
.identity
- The identity for which to set feedback notification forwarding.
Examples: [email protected]
, example.com
.public SetIdentityFeedbackForwardingEnabledRequest withIdentity(String identity)
[email protected]
, example.com
.
Returns a reference to this object so that method calls can be chained together.
identity
- The identity for which to set feedback notification forwarding.
Examples: [email protected]
, example.com
.public Boolean isForwardingEnabled()
true
specifies that Amazon SES will forward feedback
notifications as email, in addition to any Amazon SNS topic publishing
otherwise specified. false
specifies that Amazon SES will
publish feedback notifications only through Amazon SNS. This value can
only be set to false
when topics are specified for both
Bounce
and Complaint
topic types.true
specifies that Amazon SES will forward feedback
notifications as email, in addition to any Amazon SNS topic publishing
otherwise specified. false
specifies that Amazon SES will
publish feedback notifications only through Amazon SNS. This value can
only be set to false
when topics are specified for both
Bounce
and Complaint
topic types.public void setForwardingEnabled(Boolean forwardingEnabled)
true
specifies that Amazon SES will forward feedback
notifications as email, in addition to any Amazon SNS topic publishing
otherwise specified. false
specifies that Amazon SES will
publish feedback notifications only through Amazon SNS. This value can
only be set to false
when topics are specified for both
Bounce
and Complaint
topic types.forwardingEnabled
- Sets whether Amazon SES will forward feedback notifications as email.
true
specifies that Amazon SES will forward feedback
notifications as email, in addition to any Amazon SNS topic publishing
otherwise specified. false
specifies that Amazon SES will
publish feedback notifications only through Amazon SNS. This value can
only be set to false
when topics are specified for both
Bounce
and Complaint
topic types.public SetIdentityFeedbackForwardingEnabledRequest withForwardingEnabled(Boolean forwardingEnabled)
true
specifies that Amazon SES will forward feedback
notifications as email, in addition to any Amazon SNS topic publishing
otherwise specified. false
specifies that Amazon SES will
publish feedback notifications only through Amazon SNS. This value can
only be set to false
when topics are specified for both
Bounce
and Complaint
topic types.
Returns a reference to this object so that method calls can be chained together.
forwardingEnabled
- Sets whether Amazon SES will forward feedback notifications as email.
true
specifies that Amazon SES will forward feedback
notifications as email, in addition to any Amazon SNS topic publishing
otherwise specified. false
specifies that Amazon SES will
publish feedback notifications only through Amazon SNS. This value can
only be set to false
when topics are specified for both
Bounce
and Complaint
topic types.public Boolean getForwardingEnabled()
true
specifies that Amazon SES will forward feedback
notifications as email, in addition to any Amazon SNS topic publishing
otherwise specified. false
specifies that Amazon SES will
publish feedback notifications only through Amazon SNS. This value can
only be set to false
when topics are specified for both
Bounce
and Complaint
topic types.true
specifies that Amazon SES will forward feedback
notifications as email, in addition to any Amazon SNS topic publishing
otherwise specified. false
specifies that Amazon SES will
publish feedback notifications only through Amazon SNS. This value can
only be set to false
when topics are specified for both
Bounce
and Complaint
topic types.public String toString()
toString
in class Object
Object.toString()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.