Class ListReceiptRuleSetsResult

    • Constructor Detail

      • ListReceiptRuleSetsResult

        public ListReceiptRuleSetsResult()
    • Method Detail

      • getRuleSets

        public List<ReceiptRuleSetMetadata> getRuleSets()

        The metadata for the currently active receipt rule set. The metadata consists of the rule set name and the timestamp of when the rule set was created.

        Returns:
        The metadata for the currently active receipt rule set. The metadata consists of the rule set name and the timestamp of when the rule set was created.
      • setRuleSets

        public void setRuleSets​(Collection<ReceiptRuleSetMetadata> ruleSets)

        The metadata for the currently active receipt rule set. The metadata consists of the rule set name and the timestamp of when the rule set was created.

        Parameters:
        ruleSets - The metadata for the currently active receipt rule set. The metadata consists of the rule set name and the timestamp of when the rule set was created.
      • withRuleSets

        public ListReceiptRuleSetsResult withRuleSets​(ReceiptRuleSetMetadata... ruleSets)

        The metadata for the currently active receipt rule set. The metadata consists of the rule set name and the timestamp of when the rule set was created.

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

        Parameters:
        ruleSets - The metadata for the currently active receipt rule set. The metadata consists of the rule set name and the timestamp of when the rule set was created.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • withRuleSets

        public ListReceiptRuleSetsResult withRuleSets​(Collection<ReceiptRuleSetMetadata> ruleSets)

        The metadata for the currently active receipt rule set. The metadata consists of the rule set name and the timestamp of when the rule set was created.

        Parameters:
        ruleSets - The metadata for the currently active receipt rule set. The metadata consists of the rule set name and the timestamp of when the rule set was created.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setNextToken

        public void setNextToken​(String nextToken)

        A token indicating that there are additional receipt rule sets available to be listed. Pass this token to successive calls of ListReceiptRuleSets to retrieve up to 100 receipt rule sets at a time.

        Parameters:
        nextToken - A token indicating that there are additional receipt rule sets available to be listed. Pass this token to successive calls of ListReceiptRuleSets to retrieve up to 100 receipt rule sets at a time.
      • getNextToken

        public String getNextToken()

        A token indicating that there are additional receipt rule sets available to be listed. Pass this token to successive calls of ListReceiptRuleSets to retrieve up to 100 receipt rule sets at a time.

        Returns:
        A token indicating that there are additional receipt rule sets available to be listed. Pass this token to successive calls of ListReceiptRuleSets to retrieve up to 100 receipt rule sets at a time.
      • withNextToken

        public ListReceiptRuleSetsResult withNextToken​(String nextToken)

        A token indicating that there are additional receipt rule sets available to be listed. Pass this token to successive calls of ListReceiptRuleSets to retrieve up to 100 receipt rule sets at a time.

        Parameters:
        nextToken - A token indicating that there are additional receipt rule sets available to be listed. Pass this token to successive calls of ListReceiptRuleSets to retrieve up to 100 receipt rule sets at a time.
        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