Class DescribeEventTopicsResult

    • Constructor Detail

      • DescribeEventTopicsResult

        public DescribeEventTopicsResult()
    • Method Detail

      • 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:
        Object.toString()
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object