public class NotificationConfiguration
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable
Describes a notification topic and its status. Notification topics are used for publishing ElastiCache events to subscribers using Amazon Simple Notification Service (SNS).
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
topicArn
The Amazon Resource Name (ARN) that identifies the topic.
|
private java.lang.String |
topicStatus
The current state of the topic.
|
Constructor and Description |
---|
NotificationConfiguration() |
Modifier and Type | Method and Description |
---|---|
NotificationConfiguration |
clone() |
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getTopicArn()
The Amazon Resource Name (ARN) that identifies the topic.
|
java.lang.String |
getTopicStatus()
The current state of the topic.
|
int |
hashCode() |
void |
setTopicArn(java.lang.String topicArn)
The Amazon Resource Name (ARN) that identifies the topic.
|
void |
setTopicStatus(java.lang.String topicStatus)
The current state of the topic.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
NotificationConfiguration |
withTopicArn(java.lang.String topicArn)
The Amazon Resource Name (ARN) that identifies the topic.
|
NotificationConfiguration |
withTopicStatus(java.lang.String topicStatus)
The current state of the topic.
|
private java.lang.String topicArn
The Amazon Resource Name (ARN) that identifies the topic.
private java.lang.String topicStatus
The current state of the topic.
public void setTopicArn(java.lang.String topicArn)
The Amazon Resource Name (ARN) that identifies the topic.
topicArn
- The Amazon Resource Name (ARN) that identifies the topic.public java.lang.String getTopicArn()
The Amazon Resource Name (ARN) that identifies the topic.
public NotificationConfiguration withTopicArn(java.lang.String topicArn)
The Amazon Resource Name (ARN) that identifies the topic.
topicArn
- The Amazon Resource Name (ARN) that identifies the topic.public void setTopicStatus(java.lang.String topicStatus)
The current state of the topic.
topicStatus
- The current state of the topic.public java.lang.String getTopicStatus()
The current state of the topic.
public NotificationConfiguration withTopicStatus(java.lang.String topicStatus)
The current state of the topic.
topicStatus
- The current state of the topic.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 NotificationConfiguration clone()
clone
in class java.lang.Object