com.amazonaws.services.simpleemail.model
Class SetIdentityFeedbackForwardingEnabledRequest

java.lang.Object
  extended by com.amazonaws.AmazonWebServiceRequest
      extended by com.amazonaws.services.simpleemail.model.SetIdentityFeedbackForwardingEnabledRequest
All Implemented Interfaces:
java.io.Serializable

public class SetIdentityFeedbackForwardingEnabledRequest
extends AmazonWebServiceRequest
implements java.io.Serializable

Container for the parameters to the 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 .

See Also:
AmazonSimpleEmailService.setIdentityFeedbackForwardingEnabled(SetIdentityFeedbackForwardingEnabledRequest), Serialized Form

Constructor Summary
SetIdentityFeedbackForwardingEnabledRequest()
           
 
Method Summary
 boolean equals(java.lang.Object obj)
           
 java.lang.Boolean getForwardingEnabled()
          Sets whether Amazon SES will forward feedback notifications as email.
 java.lang.String getIdentity()
          The identity for which to set feedback notification forwarding.
 int hashCode()
           
 java.lang.Boolean isForwardingEnabled()
          Sets whether Amazon SES will forward feedback notifications as email.
 void setForwardingEnabled(java.lang.Boolean forwardingEnabled)
          Sets whether Amazon SES will forward feedback notifications as email.
 void setIdentity(java.lang.String identity)
          The identity for which to set feedback 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 feedback notifications as email.
 SetIdentityFeedbackForwardingEnabledRequest withIdentity(java.lang.String identity)
          The identity for which to set feedback notification forwarding.
 
Methods inherited from class com.amazonaws.AmazonWebServiceRequest
copyPrivateRequestParameters, getDelegationToken, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, setDelegationToken, setRequestCredentials, setRequestMetricCollector, withRequestMetricCollector
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SetIdentityFeedbackForwardingEnabledRequest

public SetIdentityFeedbackForwardingEnabledRequest()
Method Detail

getIdentity

public java.lang.String getIdentity()
The identity for which to set feedback notification forwarding. Examples: [email protected], example.com.

Returns:
The identity for which to set feedback notification forwarding. Examples: [email protected], example.com.

setIdentity

public void setIdentity(java.lang.String identity)
The identity for which to set feedback notification forwarding. Examples: [email protected], example.com.

Parameters:
identity - The identity for which to set feedback notification forwarding. Examples: [email protected], example.com.

withIdentity

public SetIdentityFeedbackForwardingEnabledRequest withIdentity(java.lang.String identity)
The identity for which to set feedback notification forwarding. Examples: [email protected], example.com.

Returns a reference to this object so that method calls can be chained together.

Parameters:
identity - The identity for which to set feedback notification forwarding. Examples: [email protected], example.com.
Returns:
A reference to this updated object so that method calls can be chained together.

isForwardingEnabled

public java.lang.Boolean isForwardingEnabled()
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.

Returns:
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.

setForwardingEnabled

public void setForwardingEnabled(java.lang.Boolean 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.

Parameters:
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.

withForwardingEnabled

public SetIdentityFeedbackForwardingEnabledRequest withForwardingEnabled(java.lang.Boolean 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.

Returns a reference to this object so that method calls can be chained together.

Parameters:
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.
Returns:
A reference to this updated object so that method calls can be chained together.

getForwardingEnabled

public java.lang.Boolean getForwardingEnabled()
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.

Returns:
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.

toString

public java.lang.String toString()
Returns a string representation of this object; useful for testing and debugging.

Overrides:
toString in class java.lang.Object
Returns:
A string representation of this object.
See Also:
Object.toString()

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

equals

public boolean equals(java.lang.Object obj)
Overrides:
equals in class java.lang.Object


Copyright © 2010 Amazon Web Services, Inc. All Rights Reserved.