@Generated(value="software.amazon.awssdk:codegen") public final class SetIdentityHeadersInNotificationsEnabledRequest extends SesRequest implements ToCopyableBuilder<SetIdentityHeadersInNotificationsEnabledRequest.Builder,SetIdentityHeadersInNotificationsEnabledRequest>
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.
| Modifier and Type | Class and Description |
|---|---|
static interface |
SetIdentityHeadersInNotificationsEnabledRequest.Builder |
| Modifier and Type | Method and Description |
|---|---|
static SetIdentityHeadersInNotificationsEnabledRequest.Builder |
builder() |
Boolean |
enabled()
Sets whether Amazon SES includes the original email headers in Amazon SNS notifications of the specified
notification type.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
identity()
The identity for which to enable or disable headers in notifications.
|
NotificationType |
notificationType()
The notification type for which to enable or disable headers in notifications.
|
String |
notificationTypeAsString()
The notification type for which to enable or disable headers in notifications.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends SetIdentityHeadersInNotificationsEnabledRequest.Builder> |
serializableBuilderClass() |
SetIdentityHeadersInNotificationsEnabledRequest.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
overrideConfigurationclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String identity()
The identity for which to enable or disable headers in notifications. Examples: user@example.com,
example.com.
user@example.com, example.com.public final NotificationType notificationType()
The notification type for which to enable or disable headers in notifications.
If the service returns an enum value that is not available in the current SDK version, notificationType
will return NotificationType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available
from notificationTypeAsString().
NotificationTypepublic final String notificationTypeAsString()
The notification type for which to enable or disable headers in notifications.
If the service returns an enum value that is not available in the current SDK version, notificationType
will return NotificationType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available
from notificationTypeAsString().
NotificationTypepublic final 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.
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.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<SetIdentityHeadersInNotificationsEnabledRequest.Builder,SetIdentityHeadersInNotificationsEnabledRequest>toBuilder in class SesRequestpublic static SetIdentityHeadersInNotificationsEnabledRequest.Builder builder()
public static Class<? extends SetIdentityHeadersInNotificationsEnabledRequest.Builder> serializableBuilderClass()
public final int hashCode()
hashCode in class AwsRequestpublic final boolean equals(Object obj)
equals in class AwsRequestpublic final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField in class SdkRequestCopyright © 2023. All rights reserved.