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) |
ListTasksRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) |
buildoverrideConfigurationequalsBySdkFields, sdkFieldscopyapplyMutation, buildListTasksRequest.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.
TaskFilter.Builder avoiding the need to create one
manually via TaskFilter.builder().
When the Consumer completes,
SdkBuilder.build() is called immediately and
its result is passed to #filters(List.
filters - a consumer that will call methods on
TaskFilter.Builder#filters(java.util.Collection) ListTasksRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
overrideConfiguration in interface AwsRequest.BuilderListTasksRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
overrideConfiguration in interface AwsRequest.BuilderCopyright © 2022. All rights reserved.