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 ListReceiptRuleSetsResult
clone()
boolean
equals(Object obj)
String
getNextToken()
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.int
hashCode()
void
setNextToken(String nextToken)
A token indicating that there are additional receipt rule sets available to be listed.void
setRuleSets(Collection<ReceiptRuleSetMetadata> ruleSets)
The metadata for the currently active receipt rule set.String
toString()
Returns a string representation of this object; useful for testing and debugging.ListReceiptRuleSetsResult
withNextToken(String nextToken)
A token indicating that there are additional receipt rule sets available to be listed.ListReceiptRuleSetsResult
withRuleSets(ReceiptRuleSetMetadata... ruleSets)
The metadata for the currently active receipt rule set.ListReceiptRuleSetsResult
withRuleSets(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
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 ofListReceiptRuleSets
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 ofListReceiptRuleSets
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 classObject
- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public ListReceiptRuleSetsResult clone()
-
-