Class QueryObjectsResult
- java.lang.Object
-
- com.amazonaws.services.datapipeline.model.QueryObjectsResult
-
- All Implemented Interfaces:
Serializable
,Cloneable
public class QueryObjectsResult extends Object implements Serializable, Cloneable
Contains the output of QueryObjects.
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description QueryObjectsResult()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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(String... ids)
The identifiers that match the query selectors.QueryObjectsResult
withIds(Collection<String> ids)
The identifiers that match the query selectors.QueryObjectsResult
withMarker(String marker)
The starting point for the next page of results.
-
-
-
Method Detail
-
getIds
public List<String> getIds()
The identifiers that match the query selectors.
- Returns:
- The identifiers that match the query selectors.
-
setIds
public void setIds(Collection<String> ids)
The identifiers that match the query selectors.
- Parameters:
ids
- The identifiers that match the query selectors.
-
withIds
public QueryObjectsResult withIds(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)
orwithIds(java.util.Collection)
if you want to override the existing values.- Parameters:
ids
- The identifiers that match the query selectors.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
withIds
public QueryObjectsResult withIds(Collection<String> ids)
The identifiers that match the query selectors.
- Parameters:
ids
- The identifiers that match the query selectors.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setMarker
public void setMarker(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.- Parameters:
marker
- The starting point for the next page of results. To view the next page of results, callQueryObjects
again with this marker value. If the value is null, there are no more results.
-
getMarker
public 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.- Returns:
- 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.
-
withMarker
public QueryObjectsResult withMarker(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.- Parameters:
marker
- The starting point for the next page of results. To view the next page of results, callQueryObjects
again with this marker value. If the value is null, there are no more results.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setHasMoreResults
public void setHasMoreResults(Boolean hasMoreResults)
Indicates whether there are more results that can be obtained by a subsequent call.
- Parameters:
hasMoreResults
- Indicates whether there are more results that can be obtained by a subsequent call.
-
getHasMoreResults
public Boolean getHasMoreResults()
Indicates whether there are more results that can be obtained by a subsequent call.
- Returns:
- Indicates whether there are more results that can be obtained by a subsequent call.
-
withHasMoreResults
public QueryObjectsResult withHasMoreResults(Boolean hasMoreResults)
Indicates whether there are more results that can be obtained by a subsequent call.
- Parameters:
hasMoreResults
- Indicates whether there are more results that can be obtained by a subsequent call.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
isHasMoreResults
public Boolean isHasMoreResults()
Indicates whether there are more results that can be obtained by a subsequent call.
- Returns:
- Indicates whether there are more results that can be obtained by a subsequent call.
-
toString
public String toString()
Returns a string representation of this object; useful for testing and debugging.- Overrides:
toString
in classObject
- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public QueryObjectsResult clone()
-
-