public class QueryObjectsRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
QueryObjects operation
.
Queries the specified pipeline for the names of objects that match the specified set of conditions.
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.
|
copyBaseTo, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, withGeneralProgressListener, withRequestMetricCollector
public String getPipelineId()
Constraints:
Length: 1 - 1024
Pattern: [\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\r\n\t]*
public void setPipelineId(String pipelineId)
Constraints:
Length: 1 - 1024
Pattern: [\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\r\n\t]*
pipelineId
- The ID of the pipeline.public QueryObjectsRequest withPipelineId(String pipelineId)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 1024
Pattern: [\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\r\n\t]*
pipelineId
- The ID of the pipeline.public Query getQuery()
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 void setQuery(Query query)
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 QueryObjectsRequest withQuery(Query query)
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.
Returns a reference to this object so that method calls can be chained together.
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 String getSphere()
COMPONENT
, INSTANCE
,
and ATTEMPT
.
Constraints:
Length: 0 - 1024
Pattern: [\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\r\n\t]*
COMPONENT
, INSTANCE
,
and ATTEMPT
.public void setSphere(String sphere)
COMPONENT
, INSTANCE
,
and ATTEMPT
.
Constraints:
Length: 0 - 1024
Pattern: [\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\r\n\t]*
sphere
- Indicates whether the query applies to components or instances. The
possible values are: COMPONENT
, INSTANCE
,
and ATTEMPT
.public QueryObjectsRequest withSphere(String sphere)
COMPONENT
, INSTANCE
,
and ATTEMPT
.
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]*
sphere
- Indicates whether the query applies to components or instances. The
possible values are: COMPONENT
, INSTANCE
,
and ATTEMPT
.public String getMarker()
QueryObjects
with the marker value from
the previous call to retrieve the next set of results.
Constraints:
Length: 0 - 1024
Pattern: [\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\r\n\t]*
QueryObjects
with the marker value from
the previous call to retrieve the next set of results.public void setMarker(String marker)
QueryObjects
with the marker value from
the previous call to retrieve the next set of results.
Constraints:
Length: 0 - 1024
Pattern: [\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\r\n\t]*
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 QueryObjectsRequest withMarker(String marker)
QueryObjects
with the marker value from
the previous call to retrieve the next set of 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 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 Integer getLimit()
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 void setLimit(Integer limit)
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 QueryObjectsRequest withLimit(Integer limit)
QueryObjects
will
return in a single call. The default value is 100.
Returns a reference to this object so that method calls can be chained together.
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 © 2015. All rights reserved.