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 interfaceSetIdentityHeadersInNotificationsEnabledRequest.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static SetIdentityHeadersInNotificationsEnabledRequest.Builderbuilder()Booleanenabled()Sets whether Amazon SES includes the original email headers in Amazon SNS notifications of the specified notification type.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()Stringidentity()The identity for which to enable or disable headers in notifications.NotificationTypenotificationType()The notification type for which to enable or disable headers in notifications.StringnotificationTypeAsString()The notification type for which to enable or disable headers in notifications.List<SdkField<?>>sdkFields()static Class<? extends SetIdentityHeadersInNotificationsEnabledRequest.Builder>serializableBuilderClass()SetIdentityHeadersInNotificationsEnabledRequest.BuildertoBuilder()StringtoString()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:
user@example.com,example.com.- Returns:
- The identity for which to enable or disable headers in notifications. Examples:
user@example.com,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,
notificationTypewill 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,
notificationTypewill 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
truespecifies that Amazon SES includes headers in notifications, and a value offalsespecifies that Amazon SES does not include headers in notifications.This value can only be set when
NotificationTypeis 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
truespecifies that Amazon SES includes headers in notifications, and a value offalsespecifies that Amazon SES does not include headers in notifications.This value can only be set when
NotificationTypeis already set to use a particular Amazon SNS topic.
-
toBuilder
public SetIdentityHeadersInNotificationsEnabledRequest.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<SetIdentityHeadersInNotificationsEnabledRequest.Builder,SetIdentityHeadersInNotificationsEnabledRequest>- Specified by:
toBuilderin classSesRequest
-
builder
public static SetIdentityHeadersInNotificationsEnabledRequest.Builder builder()
-
serializableBuilderClass
public static Class<? extends SetIdentityHeadersInNotificationsEnabledRequest.Builder> serializableBuilderClass()
-
hashCode
public final int hashCode()
- Overrides:
hashCodein classAwsRequest
-
equals
public final boolean equals(Object obj)
- Overrides:
equalsin classAwsRequest
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin 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:
getValueForFieldin classSdkRequest
-
-