Class SetIdentityHeadersInNotificationsEnabledRequest
- java.lang.Object
-
- software.amazon.awssdk.core.SdkRequest
-
- software.amazon.awssdk.awscore.AwsRequest
-
- software.amazon.awssdk.services.ses.model.SesRequest
-
- software.amazon.awssdk.services.ses.model.SetIdentityHeadersInNotificationsEnabledRequest
-
- All Implemented Interfaces:
SdkPojo
,ToCopyableBuilder<SetIdentityHeadersInNotificationsEnabledRequest.Builder,SetIdentityHeadersInNotificationsEnabledRequest>
@Generated("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.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interface
SetIdentityHeadersInNotificationsEnabledRequest.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method 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.-
Methods inherited from class software.amazon.awssdk.awscore.AwsRequest
overrideConfiguration
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
identity
public final String identity()
The identity for which to enable or disable headers in notifications. Examples:
[email protected]
,example.com
.- Returns:
- The identity for which to enable or disable headers in notifications. Examples:
[email protected]
,example.com
.
-
notificationType
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 returnNotificationType.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available fromnotificationTypeAsString()
.- Returns:
- The notification type for which to enable or disable headers in notifications.
- See Also:
NotificationType
-
notificationTypeAsString
public 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 returnNotificationType.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available fromnotificationTypeAsString()
.- Returns:
- The notification type for which to enable or disable headers in notifications.
- See Also:
NotificationType
-
enabled
public 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 offalse
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.- Returns:
- 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 offalse
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.
-
toBuilder
public SetIdentityHeadersInNotificationsEnabledRequest.Builder toBuilder()
- Specified by:
toBuilder
in interfaceToCopyableBuilder<SetIdentityHeadersInNotificationsEnabledRequest.Builder,SetIdentityHeadersInNotificationsEnabledRequest>
- Specified by:
toBuilder
in classSesRequest
-
builder
public static SetIdentityHeadersInNotificationsEnabledRequest.Builder builder()
-
serializableBuilderClass
public static Class<? extends SetIdentityHeadersInNotificationsEnabledRequest.Builder> serializableBuilderClass()
-
hashCode
public final int hashCode()
- Overrides:
hashCode
in classAwsRequest
-
equals
public final boolean equals(Object obj)
- Overrides:
equals
in classAwsRequest
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFields
in interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
getValueForField
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
- Overrides:
getValueForField
in classSdkRequest
-
-