Interface DescribeRegionsRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<DescribeRegionsRequest.Builder,DescribeRegionsRequest>
,Ec2Request.Builder
,SdkBuilder<DescribeRegionsRequest.Builder,DescribeRegionsRequest>
,SdkPojo
,SdkRequest.Builder
- Enclosing class:
- DescribeRegionsRequest
public static interface DescribeRegionsRequest.Builder extends Ec2Request.Builder, SdkPojo, CopyableBuilder<DescribeRegionsRequest.Builder,DescribeRegionsRequest>
-
-
Method Summary
-
Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.ec2.model.Ec2Request.Builder
build
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
-
-
-
Method Detail
-
filters
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
).
- Parameters:
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
).
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-
filters
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
).
- Parameters:
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
).
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-
filters
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
).
Filter.Builder
avoiding the need to create one manually viaFilter.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed to#filters(List
.) - Parameters:
filters
- a consumer that will call methods onFilter.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#filters(java.util.Collection
)
-
-
regionNames
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.
- Parameters:
regionNames
- The names of the Regions. You can specify any Regions, whether they are enabled and disabled for your account.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
regionNames
DescribeRegionsRequest.Builder regionNames(String... regionNames)
The names of the Regions. You can specify any Regions, whether they are enabled and disabled for your account.
- Parameters:
regionNames
- The names of the Regions. You can specify any Regions, whether they are enabled and disabled for your account.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
dryRun
DescribeRegionsRequest.Builder dryRun(Boolean dryRun)
Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is
DryRunOperation
. Otherwise, it isUnauthorizedOperation
.- Parameters:
dryRun
- Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response isDryRunOperation
. Otherwise, it isUnauthorizedOperation
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
allRegions
DescribeRegionsRequest.Builder allRegions(Boolean allRegions)
Indicates whether to display all Regions, including Regions that are disabled for your account.
- Parameters:
allRegions
- Indicates whether to display all Regions, including Regions that are disabled for your account.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
DescribeRegionsRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
-
overrideConfiguration
DescribeRegionsRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
-
-