@Generated(value="software.amazon.awssdk:codegen") public final class SetIdentityNotificationTopicRequest extends SesRequest implements ToCopyableBuilder<SetIdentityNotificationTopicRequest.Builder,SetIdentityNotificationTopicRequest>
Represents a request to specify the Amazon SNS topic to which Amazon SES will publish bounce, complaint, or delivery notifications for emails sent with that identity as the Source. For information about Amazon SES notifications, see the Amazon SES Developer Guide.
Modifier and Type | Class and Description |
---|---|
static interface |
SetIdentityNotificationTopicRequest.Builder |
Modifier and Type | Method and Description |
---|---|
static SetIdentityNotificationTopicRequest.Builder |
builder() |
boolean |
equals(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz)
Used to retrieve the value of a field from any class that extends
SdkRequest . |
int |
hashCode() |
String |
identity()
The identity for which the Amazon SNS topic will be set.
|
NotificationType |
notificationType()
The type of notifications that will be published to the specified Amazon SNS topic.
|
String |
notificationTypeAsString()
The type of notifications that will be published to the specified Amazon SNS topic.
|
static Class<? extends SetIdentityNotificationTopicRequest.Builder> |
serializableBuilderClass() |
String |
snsTopic()
The Amazon Resource Name (ARN) of the Amazon SNS topic.
|
SetIdentityNotificationTopicRequest.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
overrideConfiguration
copy
public String identity()
The identity for which the Amazon SNS topic will be set. You can specify an identity by using its name or by
using its Amazon Resource Name (ARN). Examples: user@example.com
, example.com
,
arn:aws:ses:us-east-1:123456789012:identity/example.com
.
user@example.com
,
example.com
, arn:aws:ses:us-east-1:123456789012:identity/example.com
.public NotificationType notificationType()
The type of notifications that will be published to the specified Amazon SNS topic.
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()
.
NotificationType
public String notificationTypeAsString()
The type of notifications that will be published to the specified Amazon SNS topic.
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()
.
NotificationType
public String snsTopic()
The Amazon Resource Name (ARN) of the Amazon SNS topic. If the parameter is omitted from the request or a null
value is passed, SnsTopic
is cleared and publishing is disabled.
SnsTopic
is cleared and publishing is disabled.public SetIdentityNotificationTopicRequest.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<SetIdentityNotificationTopicRequest.Builder,SetIdentityNotificationTopicRequest>
toBuilder
in class SesRequest
public static SetIdentityNotificationTopicRequest.Builder builder()
public static Class<? extends SetIdentityNotificationTopicRequest.Builder> serializableBuilderClass()
public <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
SdkRequest
SdkRequest
. The field name
specified should match the member name from the corresponding service-2.json model specified in the
codegen-resources folder for a given service. The class specifies what class to cast the returned value to.
If the returned value is also a modeled class, the SdkRequest.getValueForField(String, Class)
method will
again be available.getValueForField
in class SdkRequest
fieldName
- The name of the member to be retrieved.clazz
- The class to cast the returned object to.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.