Interface DescribeRegionsRequest.Builder
- All Superinterfaces:
- AwsRequest.Builder,- Buildable,- CopyableBuilder<DescribeRegionsRequest.Builder,,- DescribeRegionsRequest> - Ec2Request.Builder,- SdkBuilder<DescribeRegionsRequest.Builder,,- DescribeRegionsRequest> - SdkPojo,- SdkRequest.Builder
- Enclosing class:
- DescribeRegionsRequest
- 
Method SummaryModifier and TypeMethodDescriptionallRegions(Boolean allRegions) Indicates whether to display all Regions, including Regions that are disabled for your account.Checks whether you have the required permissions for the action, without actually making the request, and provides an error response.filters(Collection<Filter> filters) The filters.filters(Consumer<Filter.Builder>... filters) The filters.The filters.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.regionNames(String... regionNames) The names of the Regions.regionNames(Collection<String> regionNames) The names of the Regions.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.BuilderoverrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuildercopyMethods inherited from interface software.amazon.awssdk.services.ec2.model.Ec2Request.BuilderbuildMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilderapplyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojoequalsBySdkFields, sdkFieldNameToField, sdkFields
- 
Method Details- 
regionNamesThe 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.
 
- 
regionNamesThe 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.
 
- 
allRegionsIndicates 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.
 
- 
dryRunChecks 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 is- DryRunOperation. Otherwise, it is- UnauthorizedOperation.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
filtersThe 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.
 
- 
 
- 
filtersThe 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.
 
- 
 
- 
filtersThe 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.Builderavoiding the need to create one manually viaFilter.builder().When the Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tofilters(List<Filter>).- Parameters:
- filters- a consumer that will call methods on- Filter.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
 
- 
overrideConfigurationDescribeRegionsRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
- overrideConfigurationin interface- AwsRequest.Builder
- Parameters:
- overrideConfiguration- The override configuration.
- Returns:
- This object for method chaining.
 
- 
overrideConfigurationDescribeRegionsRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
- overrideConfigurationin interface- AwsRequest.Builder
- Parameters:
- builderConsumer- A- Consumerto which an empty- AwsRequestOverrideConfiguration.Builderwill be given.
- Returns:
- This object for method chaining.
 
 
-