@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListReceiptRuleSetsResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
A list of receipt rule sets that exist under your AWS account.
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.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
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.
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.
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)
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.
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)
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.
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 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.
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 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.
ListReceiptRuleSets
to retrieve up to 100 receipt rule sets at a time.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.
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 © 2013 Amazon Web Services, Inc. All Rights Reserved.