Interface DescribeAvailabilityZonesRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<DescribeAvailabilityZonesRequest.Builder,,DescribeAvailabilityZonesRequest> Ec2Request.Builder,SdkBuilder<DescribeAvailabilityZonesRequest.Builder,,DescribeAvailabilityZonesRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
DescribeAvailabilityZonesRequest
-
Method Summary
Modifier and TypeMethodDescriptionallAvailabilityZones(Boolean allAvailabilityZones) Include all Availability Zones, Local Zones, and Wavelength Zones regardless of your opt-in status.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.The IDs of the Availability Zones, Local Zones, and Wavelength Zones.zoneIds(Collection<String> zoneIds) The IDs of the Availability Zones, Local Zones, and Wavelength Zones.The names of the Availability Zones, Local Zones, and Wavelength Zones.zoneNames(Collection<String> zoneNames) The names of the Availability Zones, Local Zones, and Wavelength Zones.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.ec2.model.Ec2Request.Builder
buildMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
zoneNames
The names of the Availability Zones, Local Zones, and Wavelength Zones.
- Parameters:
zoneNames- The names of the Availability Zones, Local Zones, and Wavelength Zones.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
zoneNames
The names of the Availability Zones, Local Zones, and Wavelength Zones.
- Parameters:
zoneNames- The names of the Availability Zones, Local Zones, and Wavelength Zones.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
zoneIds
The IDs of the Availability Zones, Local Zones, and Wavelength Zones.
- Parameters:
zoneIds- The IDs of the Availability Zones, Local Zones, and Wavelength Zones.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
zoneIds
The IDs of the Availability Zones, Local Zones, and Wavelength Zones.
- Parameters:
zoneIds- The IDs of the Availability Zones, Local Zones, and Wavelength Zones.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
allAvailabilityZones
Include all Availability Zones, Local Zones, and Wavelength Zones regardless of your opt-in status.
If you do not use this parameter, the results include only the zones for the Regions where you have chosen the option to opt in.
- Parameters:
allAvailabilityZones- Include all Availability Zones, Local Zones, and Wavelength Zones regardless of your opt-in status.If you do not use this parameter, the results include only the zones for the Regions where you have chosen the option to opt in.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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.
-
filters
The filters.
-
group-name- For Availability Zones, use the Region name. For Local Zones, use the name of the group associated with the Local Zone (for example,us-west-2-lax-1) For Wavelength Zones, use the name of the group associated with the Wavelength Zone (for example,us-east-1-wl1). -
message- The Zone message. -
opt-in-status- The opt-in status (opted-in|not-opted-in|opt-in-not-required). -
parent-zone-id- The ID of the zone that handles some of the Local Zone and Wavelength Zone control plane operations, such as API calls. -
parent-zone-name- The ID of the zone that handles some of the Local Zone and Wavelength Zone control plane operations, such as API calls. -
region-name- The name of the Region for the Zone (for example,us-east-1). -
state- The state of the Availability Zone, the Local Zone, or the Wavelength Zone (available). -
zone-id- The ID of the Availability Zone (for example,use1-az1), the Local Zone (for example,usw2-lax1-az1), or the Wavelength Zone (for example,us-east-1-wl1-bos-wlz-1). -
zone-name- The name of the Availability Zone (for example,us-east-1a), the Local Zone (for example,us-west-2-lax-1a), or the Wavelength Zone (for example,us-east-1-wl1-bos-wlz-1). -
zone-type- The type of zone (availability-zone|local-zone|wavelength-zone).
- Parameters:
filters- The filters.-
group-name- For Availability Zones, use the Region name. For Local Zones, use the name of the group associated with the Local Zone (for example,us-west-2-lax-1) For Wavelength Zones, use the name of the group associated with the Wavelength Zone (for example,us-east-1-wl1). -
message- The Zone message. -
opt-in-status- The opt-in status (opted-in|not-opted-in|opt-in-not-required). -
parent-zone-id- The ID of the zone that handles some of the Local Zone and Wavelength Zone control plane operations, such as API calls. -
parent-zone-name- The ID of the zone that handles some of the Local Zone and Wavelength Zone control plane operations, such as API calls. -
region-name- The name of the Region for the Zone (for example,us-east-1). -
state- The state of the Availability Zone, the Local Zone, or the Wavelength Zone (available). -
zone-id- The ID of the Availability Zone (for example,use1-az1), the Local Zone (for example,usw2-lax1-az1), or the Wavelength Zone (for example,us-east-1-wl1-bos-wlz-1). -
zone-name- The name of the Availability Zone (for example,us-east-1a), the Local Zone (for example,us-west-2-lax-1a), or the Wavelength Zone (for example,us-east-1-wl1-bos-wlz-1). -
zone-type- The type of zone (availability-zone|local-zone|wavelength-zone).
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-
filters
The filters.
-
group-name- For Availability Zones, use the Region name. For Local Zones, use the name of the group associated with the Local Zone (for example,us-west-2-lax-1) For Wavelength Zones, use the name of the group associated with the Wavelength Zone (for example,us-east-1-wl1). -
message- The Zone message. -
opt-in-status- The opt-in status (opted-in|not-opted-in|opt-in-not-required). -
parent-zone-id- The ID of the zone that handles some of the Local Zone and Wavelength Zone control plane operations, such as API calls. -
parent-zone-name- The ID of the zone that handles some of the Local Zone and Wavelength Zone control plane operations, such as API calls. -
region-name- The name of the Region for the Zone (for example,us-east-1). -
state- The state of the Availability Zone, the Local Zone, or the Wavelength Zone (available). -
zone-id- The ID of the Availability Zone (for example,use1-az1), the Local Zone (for example,usw2-lax1-az1), or the Wavelength Zone (for example,us-east-1-wl1-bos-wlz-1). -
zone-name- The name of the Availability Zone (for example,us-east-1a), the Local Zone (for example,us-west-2-lax-1a), or the Wavelength Zone (for example,us-east-1-wl1-bos-wlz-1). -
zone-type- The type of zone (availability-zone|local-zone|wavelength-zone).
- Parameters:
filters- The filters.-
group-name- For Availability Zones, use the Region name. For Local Zones, use the name of the group associated with the Local Zone (for example,us-west-2-lax-1) For Wavelength Zones, use the name of the group associated with the Wavelength Zone (for example,us-east-1-wl1). -
message- The Zone message. -
opt-in-status- The opt-in status (opted-in|not-opted-in|opt-in-not-required). -
parent-zone-id- The ID of the zone that handles some of the Local Zone and Wavelength Zone control plane operations, such as API calls. -
parent-zone-name- The ID of the zone that handles some of the Local Zone and Wavelength Zone control plane operations, such as API calls. -
region-name- The name of the Region for the Zone (for example,us-east-1). -
state- The state of the Availability Zone, the Local Zone, or the Wavelength Zone (available). -
zone-id- The ID of the Availability Zone (for example,use1-az1), the Local Zone (for example,usw2-lax1-az1), or the Wavelength Zone (for example,us-east-1-wl1-bos-wlz-1). -
zone-name- The name of the Availability Zone (for example,us-east-1a), the Local Zone (for example,us-west-2-lax-1a), or the Wavelength Zone (for example,us-east-1-wl1-bos-wlz-1). -
zone-type- The type of zone (availability-zone|local-zone|wavelength-zone).
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-
filters
The filters.
-
group-name- For Availability Zones, use the Region name. For Local Zones, use the name of the group associated with the Local Zone (for example,us-west-2-lax-1) For Wavelength Zones, use the name of the group associated with the Wavelength Zone (for example,us-east-1-wl1). -
message- The Zone message. -
opt-in-status- The opt-in status (opted-in|not-opted-in|opt-in-not-required). -
parent-zone-id- The ID of the zone that handles some of the Local Zone and Wavelength Zone control plane operations, such as API calls. -
parent-zone-name- The ID of the zone that handles some of the Local Zone and Wavelength Zone control plane operations, such as API calls. -
region-name- The name of the Region for the Zone (for example,us-east-1). -
state- The state of the Availability Zone, the Local Zone, or the Wavelength Zone (available). -
zone-id- The ID of the Availability Zone (for example,use1-az1), the Local Zone (for example,usw2-lax1-az1), or the Wavelength Zone (for example,us-east-1-wl1-bos-wlz-1). -
zone-name- The name of the Availability Zone (for example,us-east-1a), the Local Zone (for example,us-west-2-lax-1a), or the Wavelength Zone (for example,us-east-1-wl1-bos-wlz-1). -
zone-type- The type of zone (availability-zone|local-zone|wavelength-zone).
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 onFilter.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-
overrideConfiguration
DescribeAvailabilityZonesRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
overrideConfiguration- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
DescribeAvailabilityZonesRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-