public class SelectResult
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable
Modifier and Type | Field and Description |
---|---|
private SdkInternalList<Item> |
items
A list of items that match the select expression.
|
private java.lang.String |
nextToken
An opaque token indicating that more items than
MaxNumberOfItems were matched, the response size exceeded 1
megabyte, or the execution time exceeded 5 seconds. |
Constructor and Description |
---|
SelectResult() |
Modifier and Type | Method and Description |
---|---|
SelectResult |
clone() |
boolean |
equals(java.lang.Object obj) |
java.util.List<Item> |
getItems()
A list of items that match the select expression.
|
java.lang.String |
getNextToken()
An opaque token indicating that more items than
MaxNumberOfItems were matched, the response size exceeded 1
megabyte, or the execution time exceeded 5 seconds. |
int |
hashCode() |
void |
setItems(java.util.Collection<Item> items)
A list of items that match the select expression.
|
void |
setNextToken(java.lang.String nextToken)
An opaque token indicating that more items than
MaxNumberOfItems were matched, the response size exceeded 1
megabyte, or the execution time exceeded 5 seconds. |
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
SelectResult |
withItems(java.util.Collection<Item> items)
A list of items that match the select expression.
|
SelectResult |
withItems(Item... items)
A list of items that match the select expression.
|
SelectResult |
withNextToken(java.lang.String nextToken)
An opaque token indicating that more items than
MaxNumberOfItems were matched, the response size exceeded 1
megabyte, or the execution time exceeded 5 seconds. |
private SdkInternalList<Item> items
private java.lang.String nextToken
MaxNumberOfItems
were matched, the response size exceeded 1
megabyte, or the execution time exceeded 5 seconds.public java.util.List<Item> getItems()
public void setItems(java.util.Collection<Item> items)
items
- A list of items that match the select expression.public SelectResult withItems(Item... items)
NOTE: This method appends the values to the existing list (if
any). Use setItems(java.util.Collection)
or
withItems(java.util.Collection)
if you want to override the
existing values.
items
- A list of items that match the select expression.public SelectResult withItems(java.util.Collection<Item> items)
items
- A list of items that match the select expression.public void setNextToken(java.lang.String nextToken)
MaxNumberOfItems
were matched, the response size exceeded 1
megabyte, or the execution time exceeded 5 seconds.nextToken
- An opaque token indicating that more items than
MaxNumberOfItems
were matched, the response size
exceeded 1 megabyte, or the execution time exceeded 5 seconds.public java.lang.String getNextToken()
MaxNumberOfItems
were matched, the response size exceeded 1
megabyte, or the execution time exceeded 5 seconds.MaxNumberOfItems
were matched, the response size
exceeded 1 megabyte, or the execution time exceeded 5 seconds.public SelectResult withNextToken(java.lang.String nextToken)
MaxNumberOfItems
were matched, the response size exceeded 1
megabyte, or the execution time exceeded 5 seconds.nextToken
- An opaque token indicating that more items than
MaxNumberOfItems
were matched, the response size
exceeded 1 megabyte, or the execution time exceeded 5 seconds.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 SelectResult clone()
clone
in class java.lang.Object