public class QueryObjectsRequest extends AmazonWebServiceRequest implements Serializable
QueryObjects operation
.
Queries a pipeline for the names of objects that match a specified set of conditions.
The objects returned by QueryObjects are paginated and then filtered by the value you set for query. This means the action may return an empty result
set with a value set for marker. If HasMoreResults
is set to True
, you should continue to call QueryObjects, passing in the
returned value for marker, until HasMoreResults
returns False
.
Constructor and Description |
---|
QueryObjectsRequest() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
Integer |
getLimit()
Specifies 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()
Identifier of the pipeline to be queried for object names.
|
Query |
getQuery()
Query that defines the objects to be returned.
|
String |
getSphere()
Specifies whether the query applies to components or instances.
|
int |
hashCode() |
void |
setLimit(Integer limit)
Specifies 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)
Identifier of the pipeline to be queried for object names.
|
void |
setQuery(Query query)
Query that defines the objects to be returned.
|
void |
setSphere(String sphere)
Specifies 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)
Specifies 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)
Identifier of the pipeline to be queried for object names.
|
QueryObjectsRequest |
withQuery(Query query)
Query that defines the objects to be returned.
|
QueryObjectsRequest |
withSphere(String sphere)
Specifies whether the query applies to components or instances.
|
copyPrivateRequestParameters, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, setRequestCredentials, setRequestMetricCollector, withRequestMetricCollector
public String getPipelineId()
Constraints:
Length: 1 - 1024
Pattern: [ --�𐀀-\r\n\t]*
public void setPipelineId(String pipelineId)
Constraints:
Length: 1 - 1024
Pattern: [ --�𐀀-\r\n\t]*
pipelineId
- Identifier of the pipeline to be queried for object names.public QueryObjectsRequest withPipelineId(String pipelineId)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 1024
Pattern: [ --�𐀀-\r\n\t]*
pipelineId
- Identifier of the pipeline to be queried for object names.public Query getQuery()
public void setQuery(Query query)
query
- 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)
Returns a reference to this object so that method calls can be chained together.
query
- 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
,
ATTEMPT
.
Constraints:
Length: 0 - 1024
Pattern: [ --�𐀀-\r\n\t]*
COMPONENT
, INSTANCE
,
ATTEMPT
.public void setSphere(String sphere)
COMPONENT
, INSTANCE
,
ATTEMPT
.
Constraints:
Length: 0 - 1024
Pattern: [ --�𐀀-\r\n\t]*
sphere
- Specifies whether the query applies to components or instances.
Allowable values: COMPONENT
, INSTANCE
,
ATTEMPT
.public QueryObjectsRequest withSphere(String sphere)
COMPONENT
, INSTANCE
,
ATTEMPT
.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 0 - 1024
Pattern: [ --�𐀀-\r\n\t]*
sphere
- Specifies whether the query applies to components or instances.
Allowable values: COMPONENT
, INSTANCE
,
ATTEMPT
.public String getMarker()
HasMoreResults
as True
, you
can call QueryObjects again and pass the marker value from the
response to retrieve the next set of results.
Constraints:
Length: 0 - 1024
Pattern: [ --�𐀀-\r\n\t]*
HasMoreResults
as True
, you
can call QueryObjects again and pass the marker value from the
response to retrieve the next set of results.public void setMarker(String marker)
HasMoreResults
as True
, you
can call QueryObjects again and pass the marker value from the
response to retrieve the next set of results.
Constraints:
Length: 0 - 1024
Pattern: [ --�𐀀-\r\n\t]*
marker
- The starting point for the results to be returned. The first time you
call QueryObjects, this value should be empty. As long as the
action returns HasMoreResults
as True
, you
can call QueryObjects again and pass the marker value from the
response to retrieve the next set of results.public QueryObjectsRequest withMarker(String marker)
HasMoreResults
as True
, you
can call QueryObjects again and pass the marker value from the
response 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: [ --�𐀀-\r\n\t]*
marker
- The starting point for the results to be returned. The first time you
call QueryObjects, this value should be empty. As long as the
action returns HasMoreResults
as True
, you
can call QueryObjects again and pass the marker value from the
response to retrieve the next set of results.public Integer getLimit()
public void setLimit(Integer limit)
limit
- Specifies the maximum number of object names that QueryObjects
will return in a single call. The default value is 100.public QueryObjectsRequest withLimit(Integer limit)
Returns a reference to this object so that method calls can be chained together.
limit
- Specifies 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()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.