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:
  • Constructor Details

    • NotificationConfiguration

      public NotificationConfiguration()
  • Method Details

    • 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 class Object
      Returns:
      A string representation of this object.
      See Also:
    • equals

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

      public int hashCode()
      Overrides:
      hashCode in class Object
    • clone

      public NotificationConfiguration clone()
      Overrides:
      clone in class Object