public static interface GetRegionsResponse.Builder extends LightsailResponse.Builder, CopyableBuilder<GetRegionsResponse.Builder,GetRegionsResponse>
Modifier and Type | Method and Description |
---|---|
GetRegionsResponse.Builder |
regions(Collection<Region> regions)
An array of key-value pairs containing information about your get regions request.
|
GetRegionsResponse.Builder |
regions(Consumer<Region.Builder>... regions)
An array of key-value pairs containing information about your get regions request.
|
GetRegionsResponse.Builder |
regions(Region... regions)
An array of key-value pairs containing information about your get regions request.
|
build
sdkHttpResponse, sdkHttpResponse
copy
applyMutation, build
GetRegionsResponse.Builder regions(Collection<Region> regions)
An array of key-value pairs containing information about your get regions request.
regions
- An array of key-value pairs containing information about your get regions request.GetRegionsResponse.Builder regions(Region... regions)
An array of key-value pairs containing information about your get regions request.
regions
- An array of key-value pairs containing information about your get regions request.GetRegionsResponse.Builder regions(Consumer<Region.Builder>... regions)
An array of key-value pairs containing information about your get regions request.
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 #regions(List)
.regions
- a consumer that will call methods on List.Builder
#regions(List)
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.