public static interface DescribeRegionsRequest.Builder extends Ec2Request.Builder, SdkPojo, CopyableBuilder<DescribeRegionsRequest.Builder,DescribeRegionsRequest>
Modifier and Type | Method and Description |
---|---|
DescribeRegionsRequest.Builder |
allRegions(Boolean allRegions)
Indicates whether to display all Regions, including Regions that are disabled for your account.
|
DescribeRegionsRequest.Builder |
filters(Collection<Filter> filters)
The filters.
|
DescribeRegionsRequest.Builder |
filters(Consumer<Filter.Builder>... filters)
The filters.
|
DescribeRegionsRequest.Builder |
filters(Filter... filters)
The filters.
|
DescribeRegionsRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) |
DescribeRegionsRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) |
DescribeRegionsRequest.Builder |
regionNames(Collection<String> regionNames)
The names of the Regions.
|
DescribeRegionsRequest.Builder |
regionNames(String... regionNames)
The names of the Regions.
|
build
overrideConfiguration
equalsBySdkFields, sdkFields
copy
applyMutation, build
DescribeRegionsRequest.Builder filters(Collection<Filter> filters)
The filters.
endpoint
- The endpoint of the Region (for example, ec2.us-east-1.amazonaws.com
).
opt-in-status
- The opt-in status of the Region (opt-in-not-required
|
opted-in
| not-opted-in
).
region-name
- The name of the Region (for example, us-east-1
).
filters
- The filters.
endpoint
- The endpoint of the Region (for example,
ec2.us-east-1.amazonaws.com
).
opt-in-status
- The opt-in status of the Region (opt-in-not-required
|
opted-in
| not-opted-in
).
region-name
- The name of the Region (for example, us-east-1
).
DescribeRegionsRequest.Builder filters(Filter... filters)
The filters.
endpoint
- The endpoint of the Region (for example, ec2.us-east-1.amazonaws.com
).
opt-in-status
- The opt-in status of the Region (opt-in-not-required
|
opted-in
| not-opted-in
).
region-name
- The name of the Region (for example, us-east-1
).
filters
- The filters.
endpoint
- The endpoint of the Region (for example,
ec2.us-east-1.amazonaws.com
).
opt-in-status
- The opt-in status of the Region (opt-in-not-required
|
opted-in
| not-opted-in
).
region-name
- The name of the Region (for example, us-east-1
).
DescribeRegionsRequest.Builder filters(Consumer<Filter.Builder>... filters)
The filters.
endpoint
- The endpoint of the Region (for example, ec2.us-east-1.amazonaws.com
).
opt-in-status
- The opt-in status of the Region (opt-in-not-required
|
opted-in
| not-opted-in
).
region-name
- The name of the Region (for example, us-east-1
).
List.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 #filters(List)
.filters
- a consumer that will call methods on List.Builder
#filters(List)
DescribeRegionsRequest.Builder regionNames(Collection<String> regionNames)
The names of the Regions. You can specify any Regions, whether they are enabled and disabled for your account.
regionNames
- The names of the Regions. You can specify any Regions, whether they are enabled and disabled for your
account.DescribeRegionsRequest.Builder regionNames(String... regionNames)
The names of the Regions. You can specify any Regions, whether they are enabled and disabled for your account.
regionNames
- The names of the Regions. You can specify any Regions, whether they are enabled and disabled for your
account.DescribeRegionsRequest.Builder allRegions(Boolean allRegions)
Indicates whether to display all Regions, including Regions that are disabled for your account.
allRegions
- Indicates whether to display all Regions, including Regions that are disabled for your account.DescribeRegionsRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
overrideConfiguration
in interface AwsRequest.Builder
DescribeRegionsRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
overrideConfiguration
in interface AwsRequest.Builder
Copyright © 2022. All rights reserved.