public class QueryObjectsRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
Contains the parameters for QueryObjects.
NOOP
Constructor and Description |
---|
QueryObjectsRequest() |
Modifier and Type | Method and Description |
---|---|
QueryObjectsRequest |
clone()
Creates a shallow clone of this request.
|
boolean |
equals(Object obj) |
Integer |
getLimit()
The maximum number of object names that
QueryObjects will
return in a single call. |
String |
getMarker()
The starting point for the results to be returned.
|
String |
getPipelineId()
The ID of the pipeline.
|
Query |
getQuery()
The query that defines the objects to be returned.
|
String |
getSphere()
Indicates whether the query applies to components or instances.
|
int |
hashCode() |
void |
setLimit(Integer limit)
The maximum number of object names that
QueryObjects will
return in a single call. |
void |
setMarker(String marker)
The starting point for the results to be returned.
|
void |
setPipelineId(String pipelineId)
The ID of the pipeline.
|
void |
setQuery(Query query)
The query that defines the objects to be returned.
|
void |
setSphere(String sphere)
Indicates whether the query applies to components or instances.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
QueryObjectsRequest |
withLimit(Integer limit)
The maximum number of object names that
QueryObjects will
return in a single call. |
QueryObjectsRequest |
withMarker(String marker)
The starting point for the results to be returned.
|
QueryObjectsRequest |
withPipelineId(String pipelineId)
The ID of the pipeline.
|
QueryObjectsRequest |
withQuery(Query query)
The query that defines the objects to be returned.
|
QueryObjectsRequest |
withSphere(String sphere)
Indicates whether the query applies to components or instances.
|
getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public void setPipelineId(String pipelineId)
The ID of the pipeline.
pipelineId
- The ID of the pipeline.public String getPipelineId()
The ID of the pipeline.
public QueryObjectsRequest withPipelineId(String pipelineId)
The ID of the pipeline.
pipelineId
- The ID of the pipeline.public void setQuery(Query query)
The query that defines the objects to be returned. The Query
object can contain a maximum of ten selectors. The conditions in the
query are limited to top-level String fields in the object. These filters
can be applied to components, instances, and attempts.
query
- The query that defines the objects to be returned. The
Query
object can contain a maximum of ten selectors.
The conditions in the query are limited to top-level String fields
in the object. These filters can be applied to components,
instances, and attempts.public Query getQuery()
The query that defines the objects to be returned. The Query
object can contain a maximum of ten selectors. The conditions in the
query are limited to top-level String fields in the object. These filters
can be applied to components, instances, and attempts.
Query
object can contain a maximum of ten selectors.
The conditions in the query are limited to top-level String
fields in the object. These filters can be applied to components,
instances, and attempts.public QueryObjectsRequest withQuery(Query query)
The query that defines the objects to be returned. The Query
object can contain a maximum of ten selectors. The conditions in the
query are limited to top-level String fields in the object. These filters
can be applied to components, instances, and attempts.
query
- The query that defines the objects to be returned. The
Query
object can contain a maximum of ten selectors.
The conditions in the query are limited to top-level String fields
in the object. These filters can be applied to components,
instances, and attempts.public void setSphere(String sphere)
Indicates whether the query applies to components or instances. The
possible values are: COMPONENT
, INSTANCE
, and
ATTEMPT
.
sphere
- Indicates whether the query applies to components or instances.
The possible values are: COMPONENT
,
INSTANCE
, and ATTEMPT
.public String getSphere()
Indicates whether the query applies to components or instances. The
possible values are: COMPONENT
, INSTANCE
, and
ATTEMPT
.
COMPONENT
,
INSTANCE
, and ATTEMPT
.public QueryObjectsRequest withSphere(String sphere)
Indicates whether the query applies to components or instances. The
possible values are: COMPONENT
, INSTANCE
, and
ATTEMPT
.
sphere
- Indicates whether the query applies to components or instances.
The possible values are: COMPONENT
,
INSTANCE
, and ATTEMPT
.public void setMarker(String marker)
The starting point for the results to be returned. For the first call,
this value should be empty. As long as there are more results, continue
to call QueryObjects
with the marker value from the previous
call to retrieve the next set of results.
marker
- The starting point for the results to be returned. For the first
call, this value should be empty. As long as there are more
results, continue to call QueryObjects
with the
marker value from the previous call to retrieve the next set of
results.public String getMarker()
The starting point for the results to be returned. For the first call,
this value should be empty. As long as there are more results, continue
to call QueryObjects
with the marker value from the previous
call to retrieve the next set of results.
QueryObjects
with the
marker value from the previous call to retrieve the next set of
results.public QueryObjectsRequest withMarker(String marker)
The starting point for the results to be returned. For the first call,
this value should be empty. As long as there are more results, continue
to call QueryObjects
with the marker value from the previous
call to retrieve the next set of results.
marker
- The starting point for the results to be returned. For the first
call, this value should be empty. As long as there are more
results, continue to call QueryObjects
with the
marker value from the previous call to retrieve the next set of
results.public void setLimit(Integer limit)
The maximum number of object names that QueryObjects
will
return in a single call. The default value is 100.
limit
- The maximum number of object names that QueryObjects
will return in a single call. The default value is 100.public Integer getLimit()
The maximum number of object names that QueryObjects
will
return in a single call. The default value is 100.
QueryObjects
will return in a single call. The default value is 100.public QueryObjectsRequest withLimit(Integer limit)
The maximum number of object names that QueryObjects
will
return in a single call. The default value is 100.
limit
- The maximum number of object names that QueryObjects
will return in a single call. The default value is 100.public String toString()
toString
in class Object
Object.toString()
public QueryObjectsRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.