Class ListTopicsResult

    • Constructor Detail

      • ListTopicsResult

        public ListTopicsResult()
    • Method Detail

      • getTopics

        public List<Topic> getTopics()

        A list of topic ARNs.

        Returns:
        A list of topic ARNs.
      • setTopics

        public void setTopics​(Collection<Topic> topics)

        A list of topic ARNs.

        Parameters:
        topics - A list of topic ARNs.
      • withTopics

        public ListTopicsResult withTopics​(Collection<Topic> topics)

        A list of topic ARNs.

        Parameters:
        topics - A list of topic ARNs.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setNextToken

        public void setNextToken​(String nextToken)

        Token to pass along to the next ListTopics request. This element is returned if there are additional topics to retrieve.

        Parameters:
        nextToken - Token to pass along to the next ListTopics request. This element is returned if there are additional topics to retrieve.
      • getNextToken

        public String getNextToken()

        Token to pass along to the next ListTopics request. This element is returned if there are additional topics to retrieve.

        Returns:
        Token to pass along to the next ListTopics request. This element is returned if there are additional topics to retrieve.
      • withNextToken

        public ListTopicsResult withNextToken​(String nextToken)

        Token to pass along to the next ListTopics request. This element is returned if there are additional topics to retrieve.

        Parameters:
        nextToken - Token to pass along to the next ListTopics request. This element is returned if there are additional topics to retrieve.
        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