public class QueryObjectsResult extends Object implements Serializable, Cloneable
Contains the output of QueryObjects.
Constructor and Description |
---|
QueryObjectsResult() |
Modifier and Type | Method and Description |
---|---|
QueryObjectsResult |
clone() |
boolean |
equals(Object obj) |
Boolean |
getHasMoreResults()
Indicates whether there are more results that can be obtained by a
subsequent call.
|
List<String> |
getIds()
The identifiers that match the query selectors.
|
String |
getMarker()
The starting point for the next page of results.
|
int |
hashCode() |
Boolean |
isHasMoreResults()
Indicates whether there are more results that can be obtained by a
subsequent call.
|
void |
setHasMoreResults(Boolean hasMoreResults)
Indicates whether there are more results that can be obtained by a
subsequent call.
|
void |
setIds(Collection<String> ids)
The identifiers that match the query selectors.
|
void |
setMarker(String marker)
The starting point for the next page of results.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
QueryObjectsResult |
withHasMoreResults(Boolean hasMoreResults)
Indicates whether there are more results that can be obtained by a
subsequent call.
|
QueryObjectsResult |
withIds(Collection<String> ids)
The identifiers that match the query selectors.
|
QueryObjectsResult |
withIds(String... ids)
The identifiers that match the query selectors.
|
QueryObjectsResult |
withMarker(String marker)
The starting point for the next page of results.
|
public List<String> getIds()
public void setIds(Collection<String> ids)
ids
- The identifiers that match the query selectors.public QueryObjectsResult withIds(String... ids)
NOTE: This method appends the values to the existing list (if
any). Use setIds(java.util.Collection)
or withIds(java.util.Collection)
if you want to override the existing
values.
Returns a reference to this object so that method calls can be chained together.
ids
- The 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
- The identifiers that match the query selectors.public String getMarker()
QueryObjects
again with this marker
value. If the value is null, there are no more results.
Constraints:
Length: 0 - 1024
Pattern: [\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\r\n\t]*
QueryObjects
again with this marker
value. If the value is null, there are no more results.public void setMarker(String marker)
QueryObjects
again with this marker
value. If the value is null, there are no more results.
Constraints:
Length: 0 - 1024
Pattern: [\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\r\n\t]*
marker
- The starting point for the next page of results. To view the next page
of results, call QueryObjects
again with this marker
value. If the value is null, there are no more results.public QueryObjectsResult withMarker(String marker)
QueryObjects
again with this marker
value. If the value is null, there are no more 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 next page of results. To view the next page
of results, call QueryObjects
again with this marker
value. If the value is null, there are no more results.public Boolean isHasMoreResults()
public void setHasMoreResults(Boolean hasMoreResults)
hasMoreResults
- Indicates whether there are more results that can be obtained by a
subsequent call.public QueryObjectsResult withHasMoreResults(Boolean hasMoreResults)
Returns a reference to this object so that method calls can be chained together.
hasMoreResults
- Indicates whether there are more results that can be obtained by a
subsequent call.public Boolean getHasMoreResults()
public String toString()
toString
in class Object
Object.toString()
public QueryObjectsResult clone()
Copyright © 2015. All rights reserved.