public class QueryObjectsResult extends Object implements Serializable
Contains the output from the QueryObjects action.
| Constructor and Description |
|---|
QueryObjectsResult() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
Boolean |
getHasMoreResults()
If
True, there are more results that can be obtained by a
subsequent call to QueryObjects. |
List<String> |
getIds()
A list of identifiers that match the query selectors.
|
String |
getMarker()
The starting point for the results to be returned.
|
int |
hashCode() |
Boolean |
isHasMoreResults()
If
True, there are more results that can be obtained by a
subsequent call to QueryObjects. |
void |
setHasMoreResults(Boolean hasMoreResults)
If
True, there are more results that can be obtained by a
subsequent call to QueryObjects. |
void |
setIds(Collection<String> ids)
A list of identifiers that match the query selectors.
|
void |
setMarker(String marker)
The starting point for the results to be returned.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
QueryObjectsResult |
withHasMoreResults(Boolean hasMoreResults)
If
True, there are more results that can be obtained by a
subsequent call to QueryObjects. |
QueryObjectsResult |
withIds(Collection<String> ids)
A list of identifiers that match the query selectors.
|
QueryObjectsResult |
withIds(String... ids)
A list of identifiers that match the query selectors.
|
QueryObjectsResult |
withMarker(String marker)
The starting point for the results to be returned.
|
public List<String> getIds()
public void setIds(Collection<String> ids)
ids - A list of identifiers that match the query selectors.public QueryObjectsResult withIds(String... ids)
Returns a reference to this object so that method calls can be chained together.
ids - A list of identifiers that match the query selectors.public QueryObjectsResult withIds(Collection<String> ids)
Returns a reference to this object so that method calls can be chained together.
ids - A list of identifiers that match the query selectors.public String getMarker()
HasMoreResults as True, you
can call QueryObjects again and pass the marker value from the
response to retrieve the next set of results.
Constraints:
Length: 0 - 1024
Pattern: [\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\r\n\t]*
HasMoreResults as True, you
can call QueryObjects again and pass the marker value from the
response to retrieve the next set of results.public void setMarker(String marker)
HasMoreResults as True, you
can call QueryObjects again and pass the marker value from the
response to retrieve the next set of results.
Constraints:
Length: 0 - 1024
Pattern: [\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\r\n\t]*
marker - The starting point for the results to be returned. As long as the
action returns HasMoreResults as True, you
can call QueryObjects again and pass the marker value from the
response to retrieve the next set of results.public QueryObjectsResult withMarker(String marker)
HasMoreResults as True, you
can call QueryObjects again and pass the marker value from the
response to retrieve the next set of results.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 0 - 1024
Pattern: [\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\r\n\t]*
marker - The starting point for the results to be returned. As long as the
action returns HasMoreResults as True, you
can call QueryObjects again and pass the marker value from the
response to retrieve the next set of results.public Boolean isHasMoreResults()
True, there are more results that can be obtained by a
subsequent call to QueryObjects.True, there are more results that can be obtained by a
subsequent call to QueryObjects.public void setHasMoreResults(Boolean hasMoreResults)
True, there are more results that can be obtained by a
subsequent call to QueryObjects.hasMoreResults - If True, there are more results that can be obtained by a
subsequent call to QueryObjects.public QueryObjectsResult withHasMoreResults(Boolean hasMoreResults)
True, there are more results that can be obtained by a
subsequent call to QueryObjects.
Returns a reference to this object so that method calls can be chained together.
hasMoreResults - If True, there are more results that can be obtained by a
subsequent call to QueryObjects.public Boolean getHasMoreResults()
True, there are more results that can be obtained by a
subsequent call to QueryObjects.True, there are more results that can be obtained by a
subsequent call to QueryObjects.public String toString()
toString in class ObjectObject.toString()Copyright © 2015. All rights reserved.