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()
Default constructor for a new NotificationConfiguration object.
|
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 NotificationConfiguration()
public String getTopicArn()
public void setTopicArn(String topicArn)
topicArn
- The Amazon Resource Name (ARN) that identifies the topic.public NotificationConfiguration withTopicArn(String topicArn)
Returns a reference to this object so that method calls can be chained together.
topicArn
- The Amazon Resource Name (ARN) that identifies the topic.public String getTopicStatus()
public void setTopicStatus(String topicStatus)
topicStatus
- The current state of the topic.public NotificationConfiguration withTopicStatus(String topicStatus)
Returns a reference to this object so that method calls can be chained together.
topicStatus
- The current state of the topic.public String toString()
toString
in class Object
Object.toString()
public NotificationConfiguration clone()
Copyright © 2016. All rights reserved.