Class ListSubscriptionsResult

    • Constructor Detail

      • ListSubscriptionsResult

        public ListSubscriptionsResult()
    • Method Detail

      • getSubscriptions

        public List<Subscription> getSubscriptions()

        A list of subscriptions.

        Returns:
        A list of subscriptions.
      • setSubscriptions

        public void setSubscriptions​(Collection<Subscription> subscriptions)

        A list of subscriptions.

        Parameters:
        subscriptions - A list of subscriptions.
      • withSubscriptions

        public ListSubscriptionsResult withSubscriptions​(Collection<Subscription> subscriptions)

        A list of subscriptions.

        Parameters:
        subscriptions - A list of subscriptions.
        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 ListSubscriptions request. This element is returned if there are more subscriptions to retrieve.

        Parameters:
        nextToken - Token to pass along to the next ListSubscriptions request. This element is returned if there are more subscriptions to retrieve.
      • getNextToken

        public String getNextToken()

        Token to pass along to the next ListSubscriptions request. This element is returned if there are more subscriptions to retrieve.

        Returns:
        Token to pass along to the next ListSubscriptions request. This element is returned if there are more subscriptions to retrieve.
      • withNextToken

        public ListSubscriptionsResult withNextToken​(String nextToken)

        Token to pass along to the next ListSubscriptions request. This element is returned if there are more subscriptions to retrieve.

        Parameters:
        nextToken - Token to pass along to the next ListSubscriptions request. This element is returned if there are more subscriptions 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