public static interface DescribeLocationsResponse.Builder extends DirectConnectResponse.Builder, SdkPojo, CopyableBuilder<DescribeLocationsResponse.Builder,DescribeLocationsResponse>
| Modifier and Type | Method and Description |
|---|---|
DescribeLocationsResponse.Builder |
locations(Collection<Location> locations)
The locations.
|
DescribeLocationsResponse.Builder |
locations(Consumer<Location.Builder>... locations)
The locations.
|
DescribeLocationsResponse.Builder |
locations(Location... locations)
The locations.
|
build, responseMetadata, responseMetadatasdkHttpResponse, sdkHttpResponseequalsBySdkFields, sdkFieldscopyapplyMutation, buildDescribeLocationsResponse.Builder locations(Collection<Location> locations)
The locations.
locations - The locations.DescribeLocationsResponse.Builder locations(Location... locations)
The locations.
locations - The locations.DescribeLocationsResponse.Builder locations(Consumer<Location.Builder>... locations)
The locations.
This is a convenience method that creates an instance of theLocation.Builder avoiding the need to create one
manually via Location.builder().
When the Consumer completes,
SdkBuilder.build() is called immediately
and its result is passed to #locations(List.
locations - a consumer that will call methods on
Location.Builder#locations(java.util.Collection) Copyright © 2022. All rights reserved.