Class QueryObjectsRequest
- java.lang.Object
-
- com.amazonaws.AmazonWebServiceRequest
-
- com.amazonaws.services.datapipeline.model.QueryObjectsRequest
-
- All Implemented Interfaces:
ReadLimitInfo,Serializable,Cloneable
public class QueryObjectsRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
Contains the parameters for QueryObjects.
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class com.amazonaws.AmazonWebServiceRequest
NOOP
-
-
Constructor Summary
Constructors Constructor Description QueryObjectsRequest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description QueryObjectsRequestclone()Creates a shallow clone of this request.booleanequals(Object obj)IntegergetLimit()The maximum number of object names thatQueryObjectswill return in a single call.StringgetMarker()The starting point for the results to be returned.StringgetPipelineId()The ID of the pipeline.QuerygetQuery()The query that defines the objects to be returned.StringgetSphere()Indicates whether the query applies to components or instances.inthashCode()voidsetLimit(Integer limit)The maximum number of object names thatQueryObjectswill return in a single call.voidsetMarker(String marker)The starting point for the results to be returned.voidsetPipelineId(String pipelineId)The ID of the pipeline.voidsetQuery(Query query)The query that defines the objects to be returned.voidsetSphere(String sphere)Indicates whether the query applies to components or instances.StringtoString()Returns a string representation of this object; useful for testing and debugging.QueryObjectsRequestwithLimit(Integer limit)The maximum number of object names thatQueryObjectswill return in a single call.QueryObjectsRequestwithMarker(String marker)The starting point for the results to be returned.QueryObjectsRequestwithPipelineId(String pipelineId)The ID of the pipeline.QueryObjectsRequestwithQuery(Query query)The query that defines the objects to be returned.QueryObjectsRequestwithSphere(String sphere)Indicates whether the query applies to components or instances.-
Methods inherited from class com.amazonaws.AmazonWebServiceRequest
copyBaseTo, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
-
-
-
-
Method Detail
-
setPipelineId
public void setPipelineId(String pipelineId)
The ID of the pipeline.
- Parameters:
pipelineId- The ID of the pipeline.
-
getPipelineId
public String getPipelineId()
The ID of the pipeline.
- Returns:
- The ID of the pipeline.
-
withPipelineId
public QueryObjectsRequest withPipelineId(String pipelineId)
The ID of the pipeline.
- Parameters:
pipelineId- The ID of the pipeline.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setQuery
public void setQuery(Query query)
The query that defines the objects to be returned. The
Queryobject 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.- Parameters:
query- The query that defines the objects to be returned. TheQueryobject 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.
-
getQuery
public Query getQuery()
The query that defines the objects to be returned. The
Queryobject 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.- Returns:
- The query that defines the objects to be returned. The
Queryobject 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.
-
withQuery
public QueryObjectsRequest withQuery(Query query)
The query that defines the objects to be returned. The
Queryobject 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.- Parameters:
query- The query that defines the objects to be returned. TheQueryobject 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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setSphere
public void setSphere(String sphere)
Indicates whether the query applies to components or instances. The possible values are:
COMPONENT,INSTANCE, andATTEMPT.- Parameters:
sphere- Indicates whether the query applies to components or instances. The possible values are:COMPONENT,INSTANCE, andATTEMPT.
-
getSphere
public String getSphere()
Indicates whether the query applies to components or instances. The possible values are:
COMPONENT,INSTANCE, andATTEMPT.- Returns:
- Indicates whether the query applies to components or instances.
The possible values are:
COMPONENT,INSTANCE, andATTEMPT.
-
withSphere
public QueryObjectsRequest withSphere(String sphere)
Indicates whether the query applies to components or instances. The possible values are:
COMPONENT,INSTANCE, andATTEMPT.- Parameters:
sphere- Indicates whether the query applies to components or instances. The possible values are:COMPONENT,INSTANCE, andATTEMPT.- 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 results to be returned. For the first call, this value should be empty. As long as there are more results, continue to call
QueryObjectswith the marker value from the previous call to retrieve the next set of results.- Parameters:
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 callQueryObjectswith the marker value from the previous call to retrieve the next set of results.
-
getMarker
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
QueryObjectswith the marker value from the previous call to retrieve the next set of results.- Returns:
- 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
QueryObjectswith the marker value from the previous call to retrieve the next set of results.
-
withMarker
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
QueryObjectswith the marker value from the previous call to retrieve the next set of results.- Parameters:
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 callQueryObjectswith the marker value from the previous call to retrieve the next set of results.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setLimit
public void setLimit(Integer limit)
The maximum number of object names that
QueryObjectswill return in a single call. The default value is 100.- Parameters:
limit- The maximum number of object names thatQueryObjectswill return in a single call. The default value is 100.
-
getLimit
public Integer getLimit()
The maximum number of object names that
QueryObjectswill return in a single call. The default value is 100.- Returns:
- The maximum number of object names that
QueryObjectswill return in a single call. The default value is 100.
-
withLimit
public QueryObjectsRequest withLimit(Integer limit)
The maximum number of object names that
QueryObjectswill return in a single call. The default value is 100.- Parameters:
limit- The maximum number of object names thatQueryObjectswill return in a single call. The default value is 100.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
public String toString()
Returns a string representation of this object; useful for testing and debugging.- Overrides:
toStringin classObject- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public QueryObjectsRequest clone()
Description copied from class:AmazonWebServiceRequestCreates a shallow clone of this request. Explicitly does not clone the deep structure of the request object.- Overrides:
clonein classAmazonWebServiceRequest- See Also:
Object.clone()
-
-