public class QueryObjectsResult
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable
Contains the output of QueryObjects.
Modifier and Type | Field and Description |
---|---|
private java.lang.Boolean |
hasMoreResults
Indicates whether there are more results that can be obtained by a
subsequent call.
|
private SdkInternalList<java.lang.String> |
ids
The identifiers that match the query selectors.
|
private java.lang.String |
marker
The starting point for the next page of results.
|
Constructor and Description |
---|
QueryObjectsResult() |
Modifier and Type | Method and Description |
---|---|
QueryObjectsResult |
clone() |
boolean |
equals(java.lang.Object obj) |
java.lang.Boolean |
getHasMoreResults()
Indicates whether there are more results that can be obtained by a
subsequent call.
|
java.util.List<java.lang.String> |
getIds()
The identifiers that match the query selectors.
|
java.lang.String |
getMarker()
The starting point for the next page of results.
|
int |
hashCode() |
java.lang.Boolean |
isHasMoreResults()
Indicates whether there are more results that can be obtained by a
subsequent call.
|
void |
setHasMoreResults(java.lang.Boolean hasMoreResults)
Indicates whether there are more results that can be obtained by a
subsequent call.
|
void |
setIds(java.util.Collection<java.lang.String> ids)
The identifiers that match the query selectors.
|
void |
setMarker(java.lang.String marker)
The starting point for the next page of results.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
QueryObjectsResult |
withHasMoreResults(java.lang.Boolean hasMoreResults)
Indicates whether there are more results that can be obtained by a
subsequent call.
|
QueryObjectsResult |
withIds(java.util.Collection<java.lang.String> ids)
The identifiers that match the query selectors.
|
QueryObjectsResult |
withIds(java.lang.String... ids)
The identifiers that match the query selectors.
|
QueryObjectsResult |
withMarker(java.lang.String marker)
The starting point for the next page of results.
|
private SdkInternalList<java.lang.String> ids
The identifiers that match the query selectors.
private java.lang.String 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.
private java.lang.Boolean hasMoreResults
Indicates whether there are more results that can be obtained by a subsequent call.
public java.util.List<java.lang.String> getIds()
The identifiers that match the query selectors.
public void setIds(java.util.Collection<java.lang.String> ids)
The identifiers that match the query selectors.
ids
- The identifiers that match the query selectors.public QueryObjectsResult withIds(java.lang.String... ids)
The identifiers that match the query selectors.
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.
ids
- The identifiers that match the query selectors.public QueryObjectsResult withIds(java.util.Collection<java.lang.String> ids)
The identifiers that match the query selectors.
ids
- The identifiers that match the query selectors.public void setMarker(java.lang.String 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.
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 java.lang.String getMarker()
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.
QueryObjects
again with this
marker value. If the value is null, there are no more results.public QueryObjectsResult withMarker(java.lang.String 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.
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 void setHasMoreResults(java.lang.Boolean hasMoreResults)
Indicates whether there are more results that can be obtained by a subsequent call.
hasMoreResults
- Indicates whether there are more results that can be obtained by a
subsequent call.public java.lang.Boolean getHasMoreResults()
Indicates whether there are more results that can be obtained by a subsequent call.
public QueryObjectsResult withHasMoreResults(java.lang.Boolean hasMoreResults)
Indicates whether there are more results that can be obtained by a subsequent call.
hasMoreResults
- Indicates whether there are more results that can be obtained by a
subsequent call.public java.lang.Boolean isHasMoreResults()
Indicates whether there are more results that can be obtained by a subsequent call.
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 QueryObjectsResult clone()
clone
in class java.lang.Object