Class SetIdentityNotificationTopicRequest
- java.lang.Object
-
- com.amazonaws.AmazonWebServiceRequest
-
- com.amazonaws.services.simpleemail.model.SetIdentityNotificationTopicRequest
-
- All Implemented Interfaces:
ReadLimitInfo
,Serializable
,Cloneable
public class SetIdentityNotificationTopicRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class com.amazonaws.AmazonWebServiceRequest
NOOP
-
-
Constructor Summary
Constructors Constructor Description SetIdentityNotificationTopicRequest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SetIdentityNotificationTopicRequest
clone()
Creates a shallow clone of this request.boolean
equals(Object obj)
String
getIdentity()
The identity for which the Amazon SNS topic will be set.String
getNotificationType()
The type of notifications that will be published to the specified Amazon SNS topic.String
getSnsTopic()
The Amazon Resource Name (ARN) of the Amazon SNS topic.int
hashCode()
void
setIdentity(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(String notificationType)
The type of notifications that will be published to the specified Amazon SNS topic.void
setSnsTopic(String snsTopic)
The Amazon Resource Name (ARN) of the Amazon SNS topic.String
toString()
Returns a string representation of this object; useful for testing and debugging.SetIdentityNotificationTopicRequest
withIdentity(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(String notificationType)
The type of notifications that will be published to the specified Amazon SNS topic.SetIdentityNotificationTopicRequest
withSnsTopic(String snsTopic)
The Amazon Resource Name (ARN) of the Amazon SNS topic.-
Methods inherited from class com.amazonaws.AmazonWebServiceRequest
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
-
-
-
-
Method Detail
-
setIdentity
public void setIdentity(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
.- Parameters:
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
.
-
getIdentity
public 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
.- Returns:
- 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
.
-
withIdentity
public SetIdentityNotificationTopicRequest withIdentity(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
.- Parameters:
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
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setNotificationType
public void setNotificationType(String notificationType)
The type of notifications that will be published to the specified Amazon SNS topic.
- Parameters:
notificationType
- The type of notifications that will be published to the specified Amazon SNS topic.- See Also:
NotificationType
-
getNotificationType
public String getNotificationType()
The type of notifications that will be published to the specified Amazon SNS topic.
- Returns:
- The type of notifications that will be published to the specified Amazon SNS topic.
- See Also:
NotificationType
-
withNotificationType
public SetIdentityNotificationTopicRequest withNotificationType(String notificationType)
The type of notifications that will be published to the specified Amazon SNS topic.
- Parameters:
notificationType
- The type of notifications that will be published to the specified Amazon SNS topic.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
NotificationType
-
setNotificationType
public void setNotificationType(NotificationType notificationType)
The type of notifications that will be published to the specified Amazon SNS topic.
- Parameters:
notificationType
- The type of notifications that will be published to the specified Amazon SNS topic.- See Also:
NotificationType
-
withNotificationType
public SetIdentityNotificationTopicRequest withNotificationType(NotificationType notificationType)
The type of notifications that will be published to the specified Amazon SNS topic.
- Parameters:
notificationType
- The type of notifications that will be published to the specified Amazon SNS topic.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
NotificationType
-
setSnsTopic
public void setSnsTopic(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.- Parameters:
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.
-
getSnsTopic
public 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.- Returns:
- 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.
-
withSnsTopic
public SetIdentityNotificationTopicRequest withSnsTopic(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.- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
public String toString()
Returns a string representation of this object; useful for testing and debugging.- Overrides:
toString
in classObject
- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public SetIdentityNotificationTopicRequest clone()
Description copied from class:AmazonWebServiceRequest
Creates a shallow clone of this request. Explicitly does not clone the deep structure of the request object.- Overrides:
clone
in classAmazonWebServiceRequest
- See Also:
Object.clone()
-
-