public static interface ListTasksRequest.Builder extends DataSyncRequest.Builder, SdkPojo, CopyableBuilder<ListTasksRequest.Builder,ListTasksRequest>
Modifier and Type | Method and Description |
---|---|
ListTasksRequest.Builder |
filters(Collection<TaskFilter> filters)
You can use API filters to narrow down the list of resources returned by
ListTasks . |
ListTasksRequest.Builder |
filters(Consumer<TaskFilter.Builder>... filters)
You can use API filters to narrow down the list of resources returned by
ListTasks . |
ListTasksRequest.Builder |
filters(TaskFilter... filters)
You can use API filters to narrow down the list of resources returned by
ListTasks . |
ListTasksRequest.Builder |
maxResults(Integer maxResults)
The maximum number of tasks to return.
|
ListTasksRequest.Builder |
nextToken(String nextToken)
An opaque string that indicates the position at which to begin the next list of tasks.
|
ListTasksRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
Add an optional request override configuration.
|
ListTasksRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
Add an optional request override configuration.
|
build
overrideConfiguration
equalsBySdkFields, sdkFields
copy
applyMutation, build
ListTasksRequest.Builder maxResults(Integer maxResults)
The maximum number of tasks to return.
maxResults
- The maximum number of tasks to return.ListTasksRequest.Builder nextToken(String nextToken)
An opaque string that indicates the position at which to begin the next list of tasks.
nextToken
- An opaque string that indicates the position at which to begin the next list of tasks.ListTasksRequest.Builder filters(Collection<TaskFilter> filters)
You can use API filters to narrow down the list of resources returned by ListTasks
. For example,
to retrieve all tasks on a specific source location, you can use ListTasks
with filter name
LocationId
and Operator Equals
with the ARN for the location.
filters
- You can use API filters to narrow down the list of resources returned by ListTasks
. For
example, to retrieve all tasks on a specific source location, you can use ListTasks
with
filter name LocationId
and Operator Equals
with the ARN for the location.ListTasksRequest.Builder filters(TaskFilter... filters)
You can use API filters to narrow down the list of resources returned by ListTasks
. For example,
to retrieve all tasks on a specific source location, you can use ListTasks
with filter name
LocationId
and Operator Equals
with the ARN for the location.
filters
- You can use API filters to narrow down the list of resources returned by ListTasks
. For
example, to retrieve all tasks on a specific source location, you can use ListTasks
with
filter name LocationId
and Operator Equals
with the ARN for the location.ListTasksRequest.Builder filters(Consumer<TaskFilter.Builder>... filters)
You can use API filters to narrow down the list of resources returned by ListTasks
. For example,
to retrieve all tasks on a specific source location, you can use ListTasks
with filter name
LocationId
and Operator Equals
with the ARN for the location.
List.Builder
avoiding the need to
create one manually via List#builder()
.
When the Consumer
completes, List.Builder#build()
is called immediately and its
result is passed to #filters(List)
.filters
- a consumer that will call methods on List.Builder
#filters(List)
ListTasksRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
AwsRequest.Builder
overrideConfiguration
in interface AwsRequest.Builder
overrideConfiguration
- The override configuration.ListTasksRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
AwsRequest.Builder
overrideConfiguration
in interface AwsRequest.Builder
builderConsumer
- A Consumer
to which an empty AwsRequestOverrideConfiguration.Builder
will be
given.Copyright © 2021 Amazon Web Services, Inc. All Rights Reserved.