public class ListReceiptRuleSetsResult extends Object implements Serializable, Cloneable
Constructor and Description |
---|
ListReceiptRuleSetsResult() |
Modifier and Type | Method and 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(Collection<ReceiptRuleSetMetadata> ruleSets)
The metadata for the currently active receipt rule set.
|
ListReceiptRuleSetsResult |
withRuleSets(ReceiptRuleSetMetadata... ruleSets)
The metadata for the currently active receipt rule set.
|
public List<ReceiptRuleSetMetadata> getRuleSets()
public void setRuleSets(Collection<ReceiptRuleSetMetadata> ruleSets)
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.public ListReceiptRuleSetsResult withRuleSets(ReceiptRuleSetMetadata... ruleSets)
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.
Returns a reference to this object so that method calls can be chained together.
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.public ListReceiptRuleSetsResult withRuleSets(Collection<ReceiptRuleSetMetadata> ruleSets)
Returns a reference to this object so that method calls can be chained together.
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.public String getNextToken()
ListReceiptRuleSets
to retrieve up to 100 receipt rule
sets at a time.ListReceiptRuleSets
to retrieve up to 100 receipt rule
sets at a time.public void setNextToken(String nextToken)
ListReceiptRuleSets
to retrieve up to 100 receipt rule
sets at a time.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.public ListReceiptRuleSetsResult withNextToken(String nextToken)
ListReceiptRuleSets
to retrieve up to 100 receipt rule
sets at a time.
Returns a reference to this object so that method calls can be chained together.
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.public String toString()
toString
in class Object
Object.toString()
public ListReceiptRuleSetsResult clone()
Copyright © 2015. All rights reserved.