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:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ListReceiptRuleSetsResult()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ListReceiptRuleSetsResultclone()booleanequals(Object obj)StringgetNextToken()A token indicating that there are additional receipt rule sets available to be listed.List<ReceiptRuleSetMetadata>getRuleSets()The metadata for the currently active receipt rule set.inthashCode()voidsetNextToken(String nextToken)A token indicating that there are additional receipt rule sets available to be listed.voidsetRuleSets(Collection<ReceiptRuleSetMetadata> ruleSets)The metadata for the currently active receipt rule set.StringtoString()Returns a string representation of this object; useful for testing and debugging.ListReceiptRuleSetsResultwithNextToken(String nextToken)A token indicating that there are additional receipt rule sets available to be listed.ListReceiptRuleSetsResultwithRuleSets(ReceiptRuleSetMetadata... ruleSets)The metadata for the currently active receipt rule set.ListReceiptRuleSetsResultwithRuleSets(Collection<ReceiptRuleSetMetadata> ruleSets)The metadata for the currently active receipt rule set.
-
-
-
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)orwithRuleSets(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
ListReceiptRuleSetsto 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 ofListReceiptRuleSetsto 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
ListReceiptRuleSetsto 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
ListReceiptRuleSetsto 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
ListReceiptRuleSetsto 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 ofListReceiptRuleSetsto 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:
toStringin classObject- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public ListReceiptRuleSetsResult clone()
-
-