@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class NotificationConfiguration extends Object implements Serializable, Cloneable
Describes a notification topic and its status. Notification topics are used for publishing ElastiCache events to subscribers using Amazon Simple Notification Service (SNS).
Constructor and Description |
---|
NotificationConfiguration() |
Modifier and Type | Method and Description |
---|---|
NotificationConfiguration |
clone() |
boolean |
equals(Object obj) |
String |
getTopicArn()
The Amazon Resource Name (ARN) that identifies the topic.
|
String |
getTopicStatus()
The current state of the topic.
|
int |
hashCode() |
void |
setTopicArn(String topicArn)
The Amazon Resource Name (ARN) that identifies the topic.
|
void |
setTopicStatus(String topicStatus)
The current state of the topic.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
NotificationConfiguration |
withTopicArn(String topicArn)
The Amazon Resource Name (ARN) that identifies the topic.
|
NotificationConfiguration |
withTopicStatus(String topicStatus)
The current state of the topic.
|
public void setTopicArn(String topicArn)
The Amazon Resource Name (ARN) that identifies the topic.
topicArn
- The Amazon Resource Name (ARN) that identifies the topic.public String getTopicArn()
The Amazon Resource Name (ARN) that identifies the topic.
public NotificationConfiguration withTopicArn(String topicArn)
The Amazon Resource Name (ARN) that identifies the topic.
topicArn
- The Amazon Resource Name (ARN) that identifies the topic.public void setTopicStatus(String topicStatus)
The current state of the topic.
topicStatus
- The current state of the topic.public String getTopicStatus()
The current state of the topic.
public NotificationConfiguration withTopicStatus(String topicStatus)
The current state of the topic.
topicStatus
- The current state of the topic.public String toString()
toString
in class Object
Object.toString()
public NotificationConfiguration clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.