Did this page help you?

   Yes   No   Tell us about it...

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

Contains pair of Topic and Topic Status.

See Also:
Serialized Form

Constructor Summary
NotificationConfiguration()
          Default constructor for a new NotificationConfiguration object.
 
Method Summary
 boolean equals(Object obj)
           
 String getTopicArn()
          Specifies the topic Amazon Resource Name (ARN), identifying this resource.
 String getTopicStatus()
          Specifies the current state of this topic.
 int hashCode()
           
 void setTopicArn(String topicArn)
          Specifies the topic Amazon Resource Name (ARN), identifying this resource.
 void setTopicStatus(String topicStatus)
          Specifies the current state of this topic.
 String toString()
          Returns a string representation of this object; useful for testing and debugging.
 NotificationConfiguration withTopicArn(String topicArn)
          Specifies the topic Amazon Resource Name (ARN), identifying this resource.
 NotificationConfiguration withTopicStatus(String topicStatus)
          Specifies the current state of this topic.
 
Methods inherited from class java.lang.Object
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()
Specifies the topic Amazon Resource Name (ARN), identifying this resource.

Returns:
Specifies the topic Amazon Resource Name (ARN), identifying this resource.

setTopicArn

public void setTopicArn(String topicArn)
Specifies the topic Amazon Resource Name (ARN), identifying this resource.

Parameters:
topicArn - Specifies the topic Amazon Resource Name (ARN), identifying this resource.

withTopicArn

public NotificationConfiguration withTopicArn(String topicArn)
Specifies the topic Amazon Resource Name (ARN), identifying this resource.

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

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

getTopicStatus

public String getTopicStatus()
Specifies the current state of this topic.

Returns:
Specifies the current state of this topic.

setTopicStatus

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

Parameters:
topicStatus - Specifies the current state of this topic.

withTopicStatus

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

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

Parameters:
topicStatus - Specifies the current state of this 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 © 2010 Amazon Web Services, Inc. All Rights Reserved.