com.amazonaws.services.simpleemail.model
Class SetIdentityFeedbackForwardingEnabledRequest

java.lang.Object
  extended by com.amazonaws.AmazonWebServiceRequest
      extended by com.amazonaws.services.simpleemail.model.SetIdentityFeedbackForwardingEnabledRequest

public class SetIdentityFeedbackForwardingEnabledRequest
extends AmazonWebServiceRequest

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. For more information about feedback notification, see the Amazon SES Developer Guide .

See Also:
AmazonSimpleEmailService.setIdentityFeedbackForwardingEnabled(SetIdentityFeedbackForwardingEnabledRequest)

Constructor Summary
SetIdentityFeedbackForwardingEnabledRequest()
           
 
Method Summary
 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.
 
Methods inherited from class com.amazonaws.AmazonWebServiceRequest
copyPrivateRequestParameters, getDelegationToken, getRequestClientOptions, getRequestCredentials, setDelegationToken, setRequestCredentials
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SetIdentityFeedbackForwardingEnabledRequest

public SetIdentityFeedbackForwardingEnabledRequest()
Method Detail

getIdentity

public String getIdentity()
The identity for which to set feedback notification forwarding. Examples: user@example.com, example.com.

Returns:
The identity for which to set feedback notification forwarding. Examples: user@example.com, example.com.

setIdentity

public void setIdentity(String identity)
The identity for which to set feedback notification forwarding. Examples: user@example.com, example.com.

Parameters:
identity - The identity for which to set feedback notification forwarding. Examples: user@example.com, example.com.

withIdentity

public SetIdentityFeedbackForwardingEnabledRequest withIdentity(String identity)
The identity for which to set feedback notification forwarding. Examples: user@example.com, 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: user@example.com, example.com.
Returns:
A reference to this updated object so that method calls can be chained together.

isForwardingEnabled

public 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(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(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 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 String toString()
Returns a string representation of this object; useful for testing and debugging.

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

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

public boolean equals(Object obj)
Overrides:
equals in class Object


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