Class ListTargetsByRuleResult

    • Constructor Detail

      • ListTargetsByRuleResult

        public ListTargetsByRuleResult()
    • Method Detail

      • getTargets

        public List<Target> getTargets()

        Lists the targets assigned to the rule.

        Returns:
        Lists the targets assigned to the rule.
      • setTargets

        public void setTargets​(Collection<Target> targets)

        Lists the targets assigned to the rule.

        Parameters:
        targets - Lists the targets assigned to the rule.
      • withTargets

        public ListTargetsByRuleResult withTargets​(Collection<Target> targets)

        Lists the targets assigned to the rule.

        Parameters:
        targets - Lists the targets assigned to the rule.
        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 ListTargetsByRuleResult 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