Class DescribeEventTopicsResult

java.lang.Object
com.amazonaws.services.directory.model.DescribeEventTopicsResult
All Implemented Interfaces:
Serializable, Cloneable

public class DescribeEventTopicsResult extends Object implements Serializable, Cloneable
See Also:
  • Constructor Details

    • DescribeEventTopicsResult

      public DescribeEventTopicsResult()
  • Method Details

    • getEventTopics

      public List<EventTopic> getEventTopics()

      A list of SNS topic names that receive status messages from the specified Directory ID.

      Returns:
      A list of SNS topic names that receive status messages from the specified Directory ID.
    • setEventTopics

      public void setEventTopics(Collection<EventTopic> eventTopics)

      A list of SNS topic names that receive status messages from the specified Directory ID.

      Parameters:
      eventTopics - A list of SNS topic names that receive status messages from the specified Directory ID.
    • withEventTopics

      public DescribeEventTopicsResult withEventTopics(EventTopic... eventTopics)

      A list of SNS topic names that receive status messages from the specified Directory ID.

      NOTE: This method appends the values to the existing list (if any). Use setEventTopics(java.util.Collection) or withEventTopics(java.util.Collection) if you want to override the existing values.

      Parameters:
      eventTopics - A list of SNS topic names that receive status messages from the specified Directory ID.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • withEventTopics

      public DescribeEventTopicsResult withEventTopics(Collection<EventTopic> eventTopics)

      A list of SNS topic names that receive status messages from the specified Directory ID.

      Parameters:
      eventTopics - A list of SNS topic names that receive status messages from the specified Directory ID.
      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 DescribeEventTopicsResult clone()
      Overrides:
      clone in class Object