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, sdkHttpResponsecopyapplyMutation, 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 that creates an instance of theList.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 #locations(List) .locations - a consumer that will call methods on List.Builder #locations(List) Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.