Class SetIdentityHeadersInNotificationsEnabledRequest
- All Implemented Interfaces:
SdkPojo,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 ClassesModifier and TypeClassDescriptionstatic interface -
Method Summary
Modifier and TypeMethodDescriptionbuilder()final Booleanenabled()Sets whether Amazon SES includes the original email headers in Amazon SNS notifications of the specified notification type.final booleanfinal booleanequalsBySdkFields(Object obj) final <T> Optional<T>getValueForField(String fieldName, Class<T> clazz) final inthashCode()final Stringidentity()The identity for which to enable or disable headers in notifications.final NotificationTypeThe notification type for which to enable or disable headers in notifications.final StringThe notification type for which to enable or disable headers in notifications.static Class<? extends SetIdentityHeadersInNotificationsEnabledRequest.Builder>final StringtoString()Returns a string representation of this object.Methods inherited from class software.amazon.awssdk.awscore.AwsRequest
overrideConfigurationMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
Method Details
-
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
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:
-
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:
-
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
- Specified by:
toBuilderin interfaceToCopyableBuilder<SetIdentityHeadersInNotificationsEnabledRequest.Builder,SetIdentityHeadersInNotificationsEnabledRequest> - Specified by:
toBuilderin classSesRequest
-
builder
-
serializableBuilderClass
public static Class<? extends SetIdentityHeadersInNotificationsEnabledRequest.Builder> serializableBuilderClass() -
hashCode
public final int hashCode()- Overrides:
hashCodein classAwsRequest
-
equals
- Overrides:
equalsin classAwsRequest
-
equalsBySdkFields
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
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
- Overrides:
getValueForFieldin classSdkRequest
-
sdkFields
-
sdkFieldNameToField
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-