Class NotificationConfiguration
java.lang.Object
com.amazonaws.services.elasticache.model.NotificationConfiguration
- All Implemented Interfaces:
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:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()booleanThe Amazon Resource Name (ARN) that identifies the topic.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.toString()Returns a string representation of this object; useful for testing and debugging.withTopicArn(String topicArn) The Amazon Resource Name (ARN) that identifies the topic.withTopicStatus(String topicStatus) The current state of the topic.
-
Constructor Details
-
NotificationConfiguration
public NotificationConfiguration()
-
-
Method Details
-
setTopicArn
The Amazon Resource Name (ARN) that identifies the topic.
- Parameters:
topicArn- The Amazon Resource Name (ARN) that identifies the topic.
-
getTopicArn
The Amazon Resource Name (ARN) that identifies the topic.
- Returns:
- The Amazon Resource Name (ARN) that identifies the topic.
-
withTopicArn
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
The current state of the topic.
- Parameters:
topicStatus- The current state of the topic.
-
getTopicStatus
The current state of the topic.
- Returns:
- The current state of the topic.
-
withTopicStatus
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
Returns a string representation of this object; useful for testing and debugging. -
equals
-
hashCode
public int hashCode() -
clone
-