public static interface ListLocationsRequest.Builder extends DataSyncRequest.Builder, SdkPojo, CopyableBuilder<ListLocationsRequest.Builder,ListLocationsRequest>
| Modifier and Type | Method and Description |
|---|---|
ListLocationsRequest.Builder |
filters(Collection<LocationFilter> filters)
You can use API filters to narrow down the list of resources returned by
ListLocations. |
ListLocationsRequest.Builder |
filters(Consumer<LocationFilter.Builder>... filters)
You can use API filters to narrow down the list of resources returned by
ListLocations. |
ListLocationsRequest.Builder |
filters(LocationFilter... filters)
You can use API filters to narrow down the list of resources returned by
ListLocations. |
ListLocationsRequest.Builder |
maxResults(Integer maxResults)
The maximum number of locations to return.
|
ListLocationsRequest.Builder |
nextToken(String nextToken)
An opaque string that indicates the position at which to begin the next list of locations.
|
ListLocationsRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) |
ListLocationsRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) |
buildoverrideConfigurationequalsBySdkFields, sdkFieldscopyapplyMutation, buildListLocationsRequest.Builder maxResults(Integer maxResults)
The maximum number of locations to return.
maxResults - The maximum number of locations to return.ListLocationsRequest.Builder nextToken(String nextToken)
An opaque string that indicates the position at which to begin the next list of locations.
nextToken - An opaque string that indicates the position at which to begin the next list of locations.ListLocationsRequest.Builder filters(Collection<LocationFilter> filters)
You can use API filters to narrow down the list of resources returned by ListLocations. For
example, to retrieve all tasks on a specific source location, you can use ListLocations with
filter name LocationType S3 and Operator Equals.
filters - You can use API filters to narrow down the list of resources returned by ListLocations.
For example, to retrieve all tasks on a specific source location, you can use
ListLocations with filter name LocationType S3 and
Operator Equals.ListLocationsRequest.Builder filters(LocationFilter... filters)
You can use API filters to narrow down the list of resources returned by ListLocations. For
example, to retrieve all tasks on a specific source location, you can use ListLocations with
filter name LocationType S3 and Operator Equals.
filters - You can use API filters to narrow down the list of resources returned by ListLocations.
For example, to retrieve all tasks on a specific source location, you can use
ListLocations with filter name LocationType S3 and
Operator Equals.ListLocationsRequest.Builder filters(Consumer<LocationFilter.Builder>... filters)
You can use API filters to narrow down the list of resources returned by ListLocations. For
example, to retrieve all tasks on a specific source location, you can use ListLocations with
filter name LocationType S3 and Operator Equals.
LocationFilter.Builder avoiding the need to create one
manually via LocationFilter.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
LocationFilter.Builder#filters(java.util.Collection) ListLocationsRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
overrideConfiguration in interface AwsRequest.BuilderListLocationsRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
overrideConfiguration in interface AwsRequest.BuilderCopyright © 2023. All rights reserved.