public class SelectResult extends Object implements Serializable
Constructor and Description |
---|
SelectResult() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
List<Item> |
getItems()
A list of items that match the select expression.
|
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(Collection<Item> items)
A list of items that match the select expression.
|
void |
setNextToken(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. |
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
SelectResult |
withItems(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(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. |
public List<Item> getItems()
public void setItems(Collection<Item> items)
items
- A list of items that match the select expression.public SelectResult withItems(Item... items)
Returns a reference to this object so that method calls can be chained together.
items
- A list of items that match the select expression.public SelectResult withItems(Collection<Item> items)
Returns a reference to this object so that method calls can be chained together.
items
- A list of items that match the select expression.public 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 void setNextToken(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 SelectResult withNextToken(String nextToken)
MaxNumberOfItems
were matched, the response size exceeded
1 megabyte, or the execution time exceeded 5 seconds.
Returns a reference to this object so that method calls can be chained together.
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 String toString()
toString
in class Object
Object.toString()
Copyright © 2014. All rights reserved.