public static interface QueryObjectsRequest.Builder extends DataPipelineRequest.Builder, CopyableBuilder<QueryObjectsRequest.Builder,QueryObjectsRequest>
Modifier and Type | Method and Description |
---|---|
QueryObjectsRequest.Builder |
limit(Integer limit)
The maximum number of object names that
QueryObjects will return in a single call. |
QueryObjectsRequest.Builder |
marker(String marker)
The starting point for the results to be returned.
|
QueryObjectsRequest.Builder |
pipelineId(String pipelineId)
The ID of the pipeline.
|
default QueryObjectsRequest.Builder |
query(Consumer<Query.Builder> query)
The query that defines the objects to be returned.
|
QueryObjectsRequest.Builder |
query(Query query)
The query that defines the objects to be returned.
|
QueryObjectsRequest.Builder |
requestOverrideConfig(AwsRequestOverrideConfig awsRequestOverrideConfig)
Add an optional request override configuration.
|
QueryObjectsRequest.Builder |
requestOverrideConfig(Consumer<AwsRequestOverrideConfig.Builder> builderConsumer)
Add an optional request override configuration.
|
QueryObjectsRequest.Builder |
sphere(String sphere)
Indicates whether the query applies to components or instances.
|
build
requestOverrideConfig
copy
apply, build
QueryObjectsRequest.Builder pipelineId(String pipelineId)
The ID of the pipeline.
pipelineId
- The ID of the pipeline.QueryObjectsRequest.Builder query(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.default QueryObjectsRequest.Builder query(Consumer<Query.Builder> 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.Builder
avoiding the need to create one
manually via Query.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately and its result is
passed to query(Query)
.query
- a consumer that will call methods on Query.Builder
query(Query)
QueryObjectsRequest.Builder sphere(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
.QueryObjectsRequest.Builder marker(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.QueryObjectsRequest.Builder limit(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.QueryObjectsRequest.Builder requestOverrideConfig(AwsRequestOverrideConfig awsRequestOverrideConfig)
AwsRequest.Builder
requestOverrideConfig
in interface AwsRequest.Builder
awsRequestOverrideConfig
- The override configuration.QueryObjectsRequest.Builder requestOverrideConfig(Consumer<AwsRequestOverrideConfig.Builder> builderConsumer)
AwsRequest.Builder
requestOverrideConfig
in interface AwsRequest.Builder
builderConsumer
- A Consumer
to which an empty AwsRequestOverrideConfig.Builder
will be given.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.