Class ListReceiptRuleSetsResult

java.lang.Object
com.amazonaws.services.simpleemail.model.ListReceiptRuleSetsResult
All Implemented Interfaces:
Serializable, Cloneable

public class ListReceiptRuleSetsResult extends Object implements Serializable, Cloneable
See Also:
  • Constructor Details

    • ListReceiptRuleSetsResult

      public ListReceiptRuleSetsResult()
  • Method Details

    • 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

      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:
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • clone

      public ListReceiptRuleSetsResult clone()
      Overrides:
      clone in class Object