public class ListReceiptRuleSetsResult
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
nextToken
A token indicating that there are additional receipt rule sets available
to be listed.
|
private SdkInternalList<ReceiptRuleSetMetadata> |
ruleSets
The metadata for the currently active receipt rule set.
|
Constructor and Description |
---|
ListReceiptRuleSetsResult() |
Modifier and Type | Method and Description |
---|---|
ListReceiptRuleSetsResult |
clone() |
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getNextToken()
A token indicating that there are additional receipt rule sets available
to be listed.
|
java.util.List<ReceiptRuleSetMetadata> |
getRuleSets()
The metadata for the currently active receipt rule set.
|
int |
hashCode() |
void |
setNextToken(java.lang.String nextToken)
A token indicating that there are additional receipt rule sets available
to be listed.
|
void |
setRuleSets(java.util.Collection<ReceiptRuleSetMetadata> ruleSets)
The metadata for the currently active receipt rule set.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
ListReceiptRuleSetsResult |
withNextToken(java.lang.String nextToken)
A token indicating that there are additional receipt rule sets available
to be listed.
|
ListReceiptRuleSetsResult |
withRuleSets(java.util.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.
|
private SdkInternalList<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.
private java.lang.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.
public java.util.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(java.util.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(java.util.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(java.lang.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 java.lang.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(java.lang.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 java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public ListReceiptRuleSetsResult clone()
clone
in class java.lang.Object