public class SetIdentityNotificationTopicRequest extends AmazonWebServiceRequest implements java.io.Serializable, java.lang.Cloneable
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
identity
The identity for which the Amazon SNS topic will be set.
|
private java.lang.String |
notificationType
The type of notifications that will be published to the specified Amazon
SNS topic.
|
private java.lang.String |
snsTopic
The Amazon Resource Name (ARN) of the Amazon SNS topic.
|
NOOP
Constructor and Description |
---|
SetIdentityNotificationTopicRequest() |
Modifier and Type | Method and Description |
---|---|
SetIdentityNotificationTopicRequest |
clone()
Creates a shallow clone of this request.
|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getIdentity()
The identity for which the Amazon SNS topic will be set.
|
java.lang.String |
getNotificationType()
The type of notifications that will be published to the specified Amazon
SNS topic.
|
java.lang.String |
getSnsTopic()
The Amazon Resource Name (ARN) of the Amazon SNS topic.
|
int |
hashCode() |
void |
setIdentity(java.lang.String identity)
The identity for which the Amazon SNS topic will be set.
|
void |
setNotificationType(NotificationType notificationType)
The type of notifications that will be published to the specified Amazon
SNS topic.
|
void |
setNotificationType(java.lang.String notificationType)
The type of notifications that will be published to the specified Amazon
SNS topic.
|
void |
setSnsTopic(java.lang.String snsTopic)
The Amazon Resource Name (ARN) of the Amazon SNS topic.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
SetIdentityNotificationTopicRequest |
withIdentity(java.lang.String identity)
The identity for which the Amazon SNS topic will be set.
|
SetIdentityNotificationTopicRequest |
withNotificationType(NotificationType notificationType)
The type of notifications that will be published to the specified Amazon
SNS topic.
|
SetIdentityNotificationTopicRequest |
withNotificationType(java.lang.String notificationType)
The type of notifications that will be published to the specified Amazon
SNS topic.
|
SetIdentityNotificationTopicRequest |
withSnsTopic(java.lang.String snsTopic)
The Amazon Resource Name (ARN) of the Amazon SNS topic.
|
copyBaseTo, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
private java.lang.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
.
private java.lang.String notificationType
The type of notifications that will be published to the specified Amazon SNS topic.
private java.lang.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.
public void setIdentity(java.lang.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
.
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
.public java.lang.String getIdentity()
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 SetIdentityNotificationTopicRequest withIdentity(java.lang.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
.
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
.public void setNotificationType(java.lang.String notificationType)
The type of notifications that will be published to the specified Amazon SNS topic.
notificationType
- The type of notifications that will be published to the specified
Amazon SNS topic.NotificationType
public java.lang.String getNotificationType()
The type of notifications that will be published to the specified Amazon SNS topic.
NotificationType
public SetIdentityNotificationTopicRequest withNotificationType(java.lang.String notificationType)
The type of notifications that will be published to the specified Amazon SNS topic.
notificationType
- The type of notifications that will be published to the specified
Amazon SNS topic.NotificationType
public void setNotificationType(NotificationType notificationType)
The type of notifications that will be published to the specified Amazon SNS topic.
notificationType
- The type of notifications that will be published to the specified
Amazon SNS topic.NotificationType
public SetIdentityNotificationTopicRequest withNotificationType(NotificationType notificationType)
The type of notifications that will be published to the specified Amazon SNS topic.
notificationType
- The type of notifications that will be published to the specified
Amazon SNS topic.NotificationType
public void setSnsTopic(java.lang.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
- 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.public java.lang.String getSnsTopic()
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 withSnsTopic(java.lang.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
- 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.public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public SetIdentityNotificationTopicRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()