@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class SetIdentityHeadersInNotificationsEnabledRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
Represents a request to set whether Amazon SES includes the original email headers in the Amazon SNS notifications of a specified type. For information about notifications, see the Amazon SES Developer Guide.
NOOP
Constructor and Description |
---|
SetIdentityHeadersInNotificationsEnabledRequest() |
Modifier and Type | Method and Description |
---|---|
SetIdentityHeadersInNotificationsEnabledRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
Boolean |
getEnabled()
Sets whether Amazon SES includes the original email headers in Amazon SNS notifications of the specified
notification type.
|
String |
getIdentity()
The identity for which to enable or disable headers in notifications.
|
String |
getNotificationType()
The notification type for which to enable or disable headers in notifications.
|
int |
hashCode() |
Boolean |
isEnabled()
Sets whether Amazon SES includes the original email headers in Amazon SNS notifications of the specified
notification type.
|
void |
setEnabled(Boolean enabled)
Sets whether Amazon SES includes the original email headers in Amazon SNS notifications of the specified
notification type.
|
void |
setIdentity(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(String notificationType)
The notification type for which to enable or disable headers in notifications.
|
String |
toString()
Returns a string representation of this object.
|
SetIdentityHeadersInNotificationsEnabledRequest |
withEnabled(Boolean enabled)
Sets whether Amazon SES includes the original email headers in Amazon SNS notifications of the specified
notification type.
|
SetIdentityHeadersInNotificationsEnabledRequest |
withIdentity(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(String notificationType)
The notification type for which to enable or disable headers in notifications.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public SetIdentityHeadersInNotificationsEnabledRequest()
public void setIdentity(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 String getIdentity()
The identity for which to enable or disable headers in notifications. Examples: user@example.com
,
example.com
.
user@example.com
, example.com
.public SetIdentityHeadersInNotificationsEnabledRequest withIdentity(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 void setNotificationType(String notificationType)
The notification type for which to enable or disable headers in notifications.
notificationType
- The notification type for which to enable or disable headers in notifications.NotificationType
public String getNotificationType()
The notification type for which to enable or disable headers in notifications.
NotificationType
public SetIdentityHeadersInNotificationsEnabledRequest withNotificationType(String notificationType)
The notification type for which to enable or disable headers in notifications.
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.
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.
notificationType
- The notification type for which to enable or disable headers in notifications.NotificationType
public void setEnabled(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 includes headers in notifications, and
a value of false
specifies that Amazon SES does 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 includes headers in
notifications, and a value of false
specifies that Amazon SES does not include headers in
notifications.
This value can only be set when NotificationType
is already set to use a particular Amazon
SNS topic.
public 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 includes headers in notifications, and
a value of false
specifies that Amazon SES does not include headers in notifications.
This value can only be set when NotificationType
is already set to use a particular Amazon SNS
topic.
true
specifies that Amazon SES includes headers in
notifications, and a value of false
specifies that Amazon SES does 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(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 includes headers in notifications, and
a value of false
specifies that Amazon SES does 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 includes headers in
notifications, and a value of false
specifies that Amazon SES does not include headers in
notifications.
This value can only be set when NotificationType
is already set to use a particular Amazon
SNS topic.
public 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 includes headers in notifications, and
a value of false
specifies that Amazon SES does not include headers in notifications.
This value can only be set when NotificationType
is already set to use a particular Amazon SNS
topic.
true
specifies that Amazon SES includes headers in
notifications, and a value of false
specifies that Amazon SES does not include headers in
notifications.
This value can only be set when NotificationType
is already set to use a particular Amazon
SNS topic.
public String toString()
toString
in class Object
Object.toString()
public SetIdentityHeadersInNotificationsEnabledRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()