public class SelectResult
extends java.lang.Object
implements java.io.Serializable
Constructor and Description |
---|
SelectResult() |
Modifier and Type | Method and Description |
---|---|
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. |
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)
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(java.util.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 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 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 SelectResult withNextToken(java.lang.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 java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
Copyright © 2018 Amazon Web Services, Inc. All Rights Reserved.