com.amazonaws.services.elasticache.model
Class NotificationConfiguration

java.lang.Object
  extended by com.amazonaws.services.elasticache.model.NotificationConfiguration
All Implemented Interfaces:
Serializable

public class NotificationConfiguration
extends Object
implements Serializable

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
NotificationConfiguration()
          Default constructor for a new NotificationConfiguration object.
 
Method Summary
 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.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

NotificationConfiguration

public NotificationConfiguration()
Default constructor for a new NotificationConfiguration object. Callers should use the setter or fluent setter (with...) methods to initialize this object after creating it.

Method Detail

getTopicArn

public String getTopicArn()
The Amazon Resource Name (ARN) that identifies the topic.

Returns:
The Amazon Resource Name (ARN) that identifies the topic.

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.

withTopicArn

public NotificationConfiguration withTopicArn(String topicArn)
The Amazon Resource Name (ARN) that identifies the topic.

Returns a reference to this object so that method calls can be chained together.

Parameters:
topicArn - The Amazon Resource Name (ARN) that identifies the topic.
Returns:
A reference to this updated object so that method calls can be chained together.

getTopicStatus

public String getTopicStatus()
The current state of the topic.

Returns:
The current state of the topic.

setTopicStatus

public void setTopicStatus(String topicStatus)
The current state of the topic.

Parameters:
topicStatus - The current state of the topic.

withTopicStatus

public NotificationConfiguration withTopicStatus(String topicStatus)
The current state of the topic.

Returns a reference to this object so that method calls can be chained together.

Parameters:
topicStatus - The current state of the topic.
Returns:
A reference to this updated 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 class Object
Returns:
A string representation of this object.
See Also:
Object.toString()

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

public boolean equals(Object obj)
Overrides:
equals in class Object


Copyright © 2016. All rights reserved.