public class SetIdentityHeadersInNotificationsEnabledRequest extends AmazonWebServiceRequest implements java.io.Serializable
Given an identity (an email address or a domain), sets whether Amazon SES includes the original email headers in the Amazon Simple Notification Service (Amazon SNS) notifications of a specified type.
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 |
---|
SetIdentityHeadersInNotificationsEnabledRequest() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.Boolean |
getEnabled()
Sets whether Amazon SES includes the original email headers in Amazon SNS
notifications of the specified notification type.
|
java.lang.String |
getIdentity()
The identity for which to enable or disable headers in notifications.
|
java.lang.String |
getNotificationType()
The notification type for which to enable or disable headers in
notifications.
|
int |
hashCode() |
java.lang.Boolean |
isEnabled()
Sets whether Amazon SES includes the original email headers in Amazon SNS
notifications of the specified notification type.
|
void |
setEnabled(java.lang.Boolean enabled)
Sets whether Amazon SES includes the original email headers in Amazon SNS
notifications of the specified notification type.
|
void |
setIdentity(java.lang.String identity)
The identity for which to enable or disable headers in notifications.
|
void |
setNotificationType(NotificationType notificationType)
The notification type for which to enable or disable headers in
notifications.
|
void |
setNotificationType(java.lang.String notificationType)
The notification type for which to enable or disable headers in
notifications.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
SetIdentityHeadersInNotificationsEnabledRequest |
withEnabled(java.lang.Boolean enabled)
Sets whether Amazon SES includes the original email headers in Amazon SNS
notifications of the specified notification type.
|
SetIdentityHeadersInNotificationsEnabledRequest |
withIdentity(java.lang.String identity)
The identity for which to enable or disable headers in notifications.
|
SetIdentityHeadersInNotificationsEnabledRequest |
withNotificationType(NotificationType notificationType)
The notification type for which to enable or disable headers in
notifications.
|
SetIdentityHeadersInNotificationsEnabledRequest |
withNotificationType(java.lang.String notificationType)
The notification type for which to enable or disable headers in
notifications.
|
clone, getCloneRoot, getCloneSource, getGeneralProgressListener, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, withGeneralProgressListener, withRequestMetricCollector
public SetIdentityHeadersInNotificationsEnabledRequest()
public java.lang.String getIdentity()
The identity for which to enable or disable headers in notifications.
Examples: user@example.com
, example.com
.
The identity for which to enable or disable headers in
notifications. Examples: user@example.com
,
example.com
.
public void setIdentity(java.lang.String identity)
The identity for which to enable or disable headers in notifications.
Examples: user@example.com
, example.com
.
identity
-
The identity for which to enable or disable headers in
notifications. Examples: user@example.com
,
example.com
.
public SetIdentityHeadersInNotificationsEnabledRequest withIdentity(java.lang.String identity)
The identity for which to enable or disable headers in notifications.
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 enable or disable headers in
notifications. Examples: user@example.com
,
example.com
.
public java.lang.String getNotificationType()
The notification type for which to enable or disable headers in notifications.
Constraints:
Allowed Values: Bounce, Complaint, Delivery
The notification type for which to enable or disable headers in notifications.
NotificationType
public void setNotificationType(java.lang.String notificationType)
The notification type for which to enable or disable headers in notifications.
Constraints:
Allowed Values: Bounce, Complaint, Delivery
notificationType
- The notification type for which to enable or disable headers in notifications.
NotificationType
public SetIdentityHeadersInNotificationsEnabledRequest withNotificationType(java.lang.String notificationType)
The notification type for which to enable or disable headers in notifications.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: Bounce, Complaint, Delivery
notificationType
- The notification type for which to enable or disable headers in notifications.
NotificationType
public void setNotificationType(NotificationType notificationType)
The notification type for which to enable or disable headers in notifications.
Constraints:
Allowed Values: Bounce, Complaint, Delivery
notificationType
- The notification type for which to enable or disable headers in notifications.
NotificationType
public SetIdentityHeadersInNotificationsEnabledRequest withNotificationType(NotificationType notificationType)
The notification type for which to enable or disable headers in notifications.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: Bounce, Complaint, Delivery
notificationType
- The notification type for which to enable or disable headers in notifications.
NotificationType
public java.lang.Boolean isEnabled()
Sets whether Amazon SES includes the original email headers in Amazon SNS
notifications of the specified notification type. A value of
true
specifies that Amazon SES will include headers in
notifications, and a value of false
specifies that Amazon
SES will not include headers in notifications.
This value can only be set when NotificationType
is already
set to use a particular Amazon SNS topic.
Sets whether Amazon SES includes the original email headers in
Amazon SNS notifications of the specified notification type. A
value of true
specifies that Amazon SES will include
headers in notifications, and a value of false
specifies that Amazon SES will not include headers in
notifications.
This value can only be set when NotificationType
is
already set to use a particular Amazon SNS topic.
public java.lang.Boolean getEnabled()
Sets whether Amazon SES includes the original email headers in Amazon SNS
notifications of the specified notification type. A value of
true
specifies that Amazon SES will include headers in
notifications, and a value of false
specifies that Amazon
SES will not include headers in notifications.
This value can only be set when NotificationType
is already
set to use a particular Amazon SNS topic.
Sets whether Amazon SES includes the original email headers in
Amazon SNS notifications of the specified notification type. A
value of true
specifies that Amazon SES will include
headers in notifications, and a value of false
specifies that Amazon SES will not include headers in
notifications.
This value can only be set when NotificationType
is
already set to use a particular Amazon SNS topic.
public void setEnabled(java.lang.Boolean enabled)
Sets whether Amazon SES includes the original email headers in Amazon SNS
notifications of the specified notification type. A value of
true
specifies that Amazon SES will include headers in
notifications, and a value of false
specifies that Amazon
SES will not include headers in notifications.
This value can only be set when NotificationType
is already
set to use a particular Amazon SNS topic.
enabled
-
Sets whether Amazon SES includes the original email headers in
Amazon SNS notifications of the specified notification type. A
value of true
specifies that Amazon SES will
include headers in notifications, and a value of
false
specifies that Amazon SES will not include
headers in notifications.
This value can only be set when NotificationType
is already set to use a particular Amazon SNS topic.
public SetIdentityHeadersInNotificationsEnabledRequest withEnabled(java.lang.Boolean enabled)
Sets whether Amazon SES includes the original email headers in Amazon SNS
notifications of the specified notification type. A value of
true
specifies that Amazon SES will include headers in
notifications, and a value of false
specifies that Amazon
SES will not include headers in notifications.
This value can only be set when NotificationType
is already
set to use a particular Amazon SNS topic.
Returns a reference to this object so that method calls can be chained together.
enabled
-
Sets whether Amazon SES includes the original email headers in
Amazon SNS notifications of the specified notification type. A
value of true
specifies that Amazon SES will
include headers in notifications, and a value of
false
specifies that Amazon SES will not include
headers in notifications.
This value can only be set when NotificationType
is already set to use a particular Amazon SNS topic.
public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
Copyright © 2018 Amazon Web Services, Inc. All Rights Reserved.