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 NotificationConfigurationclone()booleanequals(Object obj)StringgetTopicArn()The Amazon Resource Name (ARN) that identifies the topic.StringgetTopicStatus()The current state of the topic.inthashCode()voidsetTopicArn(String topicArn)The Amazon Resource Name (ARN) that identifies the topic.voidsetTopicStatus(String topicStatus)The current state of the topic.StringtoString()Returns a string representation of this object; useful for testing and debugging.NotificationConfigurationwithTopicArn(String topicArn)The Amazon Resource Name (ARN) that identifies the topic.NotificationConfigurationwithTopicStatus(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:
toStringin classObject- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public NotificationConfiguration clone()
-
-