public static interface ListRegionsResponse.Builder extends AccountResponse.Builder, SdkPojo, CopyableBuilder<ListRegionsResponse.Builder,ListRegionsResponse>
| Modifier and Type | Method and Description |
|---|---|
ListRegionsResponse.Builder |
nextToken(String nextToken)
If there is more data to be returned, this will be populated.
|
ListRegionsResponse.Builder |
regions(Collection<Region> regions)
This is a list of Regions for a given account, or if the filtered parameter was used, a list of Regions that
match the filter criteria set in the
filter parameter. |
ListRegionsResponse.Builder |
regions(Consumer<Region.Builder>... regions)
This is a list of Regions for a given account, or if the filtered parameter was used, a list of Regions that
match the filter criteria set in the
filter parameter. |
ListRegionsResponse.Builder |
regions(Region... regions)
This is a list of Regions for a given account, or if the filtered parameter was used, a list of Regions that
match the filter criteria set in the
filter parameter. |
build, responseMetadata, responseMetadatasdkHttpResponse, sdkHttpResponseequalsBySdkFields, sdkFieldscopyapplyMutation, buildListRegionsResponse.Builder nextToken(String nextToken)
If there is more data to be returned, this will be populated. It should be passed into the
next-token request parameter of list-regions.
nextToken - If there is more data to be returned, this will be populated. It should be passed into the
next-token request parameter of list-regions.ListRegionsResponse.Builder regions(Collection<Region> regions)
This is a list of Regions for a given account, or if the filtered parameter was used, a list of Regions that
match the filter criteria set in the filter parameter.
regions - This is a list of Regions for a given account, or if the filtered parameter was used, a list of
Regions that match the filter criteria set in the filter parameter.ListRegionsResponse.Builder regions(Region... regions)
This is a list of Regions for a given account, or if the filtered parameter was used, a list of Regions that
match the filter criteria set in the filter parameter.
regions - This is a list of Regions for a given account, or if the filtered parameter was used, a list of
Regions that match the filter criteria set in the filter parameter.ListRegionsResponse.Builder regions(Consumer<Region.Builder>... regions)
This is a list of Regions for a given account, or if the filtered parameter was used, a list of Regions that
match the filter criteria set in the filter parameter.
Region.Builder avoiding the need to create one manually
via Region.builder().
When the Consumer completes,
SdkBuilder.build() is called immediately and its
result is passed to #regions(List.
regions - a consumer that will call methods on
Region.Builder#regions(java.util.Collection) Copyright © 2023. All rights reserved.