public static interface DescribeLocationsResponse.Builder extends DirectConnectResponse.Builder, CopyableBuilder<DescribeLocationsResponse.Builder,DescribeLocationsResponse>
Modifier and Type | Method and Description |
---|---|
DescribeLocationsResponse.Builder |
locations(Collection<Location> locations)
A list of colocation hubs where network providers have equipment.
|
DescribeLocationsResponse.Builder |
locations(Consumer<Location.Builder>... locations)
A list of colocation hubs where network providers have equipment.
|
DescribeLocationsResponse.Builder |
locations(Location... locations)
A list of colocation hubs where network providers have equipment.
|
build
sdkHttpResponse, sdkHttpResponse
copy
applyMutation, build
DescribeLocationsResponse.Builder locations(Collection<Location> locations)
A list of colocation hubs where network providers have equipment. Most regions have multiple locations available.
locations
- A list of colocation hubs where network providers have equipment. Most regions have multiple locations
available.DescribeLocationsResponse.Builder locations(Location... locations)
A list of colocation hubs where network providers have equipment. Most regions have multiple locations available.
locations
- A list of colocation hubs where network providers have equipment. Most regions have multiple locations
available.DescribeLocationsResponse.Builder locations(Consumer<Location.Builder>... locations)
A list of colocation hubs where network providers have equipment. Most regions have multiple locations available.
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.