Class ListRulesResult

    • Constructor Detail

      • ListRulesResult

        public ListRulesResult()
    • Method Detail

      • getRules

        public List<Rule> getRules()

        List of rules matching the specified criteria.

        Returns:
        List of rules matching the specified criteria.
      • setRules

        public void setRules​(Collection<Rule> rules)

        List of rules matching the specified criteria.

        Parameters:
        rules - List of rules matching the specified criteria.
      • withRules

        public ListRulesResult withRules​(Rule... rules)

        List of rules matching the specified criteria.

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

        Parameters:
        rules - List of rules matching the specified criteria.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • withRules

        public ListRulesResult withRules​(Collection<Rule> rules)

        List of rules matching the specified criteria.

        Parameters:
        rules - List of rules matching the specified criteria.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setNextToken

        public void setNextToken​(String nextToken)

        Indicates that there are additional results to retrieve.

        Parameters:
        nextToken - Indicates that there are additional results to retrieve.
      • getNextToken

        public String getNextToken()

        Indicates that there are additional results to retrieve.

        Returns:
        Indicates that there are additional results to retrieve.
      • withNextToken

        public ListRulesResult withNextToken​(String nextToken)

        Indicates that there are additional results to retrieve.

        Parameters:
        nextToken - Indicates that there are additional results 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