Interface QueryObjectsRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<QueryObjectsRequest.Builder,
,QueryObjectsRequest> DataPipelineRequest.Builder
,SdkBuilder<QueryObjectsRequest.Builder,
,QueryObjectsRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
QueryObjectsRequest
-
Method Summary
Modifier and TypeMethodDescriptionThe maximum number of object names thatQueryObjects
will return in a single call.The starting point for the results to be returned.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.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.The query that defines the objects to be returned.Indicates whether the query applies to components or instances.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.datapipeline.model.DataPipelineRequest.Builder
build
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
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.
-
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.- Parameters:
query
- The query that defines the objects to be returned. TheQuery
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:
- 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
This is a convenience method that creates an instance of theQuery
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 viaQuery.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toquery(Query)
.- Parameters:
query
- a consumer that will call methods onQuery.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
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.
-
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.- 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 callQueryObjects
with 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.
-
limit
The maximum number of object names that
QueryObjects
will return in a single call. The default value is 100.- Parameters:
limit
- The maximum number of object names thatQueryObjects
will 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.
-
overrideConfiguration
QueryObjectsRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
overrideConfiguration
- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
QueryObjectsRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-