Class NotificationConfiguration
- java.lang.Object
-
- com.amazonaws.services.elasticache.model.NotificationConfiguration
-
- All Implemented Interfaces:
Serializable
,Cloneable
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).
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description NotificationConfiguration()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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.
-
-
-
Method Detail
-
setTopicArn
public void setTopicArn(String topicArn)
The Amazon Resource Name (ARN) that identifies the topic.
- Parameters:
topicArn
- The Amazon Resource Name (ARN) that identifies the topic.
-
getTopicArn
public String getTopicArn()
The Amazon Resource Name (ARN) that identifies the topic.
- Returns:
- The Amazon Resource Name (ARN) that identifies the topic.
-
withTopicArn
public NotificationConfiguration withTopicArn(String topicArn)
The Amazon Resource Name (ARN) that identifies the topic.
- Parameters:
topicArn
- The Amazon Resource Name (ARN) that identifies the topic.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setTopicStatus
public void setTopicStatus(String topicStatus)
The current state of the topic.
- Parameters:
topicStatus
- The current state of the topic.
-
getTopicStatus
public String getTopicStatus()
The current state of the topic.
- Returns:
- The current state of the topic.
-
withTopicStatus
public NotificationConfiguration withTopicStatus(String topicStatus)
The current state of the topic.
- Parameters:
topicStatus
- The current state of the topic.- 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 NotificationConfiguration clone()
-
-