Interface DescribeAvailabilityZonesRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<DescribeAvailabilityZonesRequest.Builder,DescribeAvailabilityZonesRequest>,Ec2Request.Builder,SdkBuilder<DescribeAvailabilityZonesRequest.Builder,DescribeAvailabilityZonesRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- DescribeAvailabilityZonesRequest
@Mutable @NotThreadSafe public static interface DescribeAvailabilityZonesRequest.Builder extends Ec2Request.Builder, SdkPojo, CopyableBuilder<DescribeAvailabilityZonesRequest.Builder,DescribeAvailabilityZonesRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description DescribeAvailabilityZonesRequest.BuilderallAvailabilityZones(Boolean allAvailabilityZones)Include all Availability Zones, Local Zones, and Wavelength Zones regardless of your opt-in status.DescribeAvailabilityZonesRequest.BuilderdryRun(Boolean dryRun)Checks whether you have the required permissions for the action, without actually making the request, and provides an error response.DescribeAvailabilityZonesRequest.Builderfilters(Collection<Filter> filters)The filters.DescribeAvailabilityZonesRequest.Builderfilters(Consumer<Filter.Builder>... filters)The filters.DescribeAvailabilityZonesRequest.Builderfilters(Filter... filters)The filters.DescribeAvailabilityZonesRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)DescribeAvailabilityZonesRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)DescribeAvailabilityZonesRequest.BuilderzoneIds(String... zoneIds)The IDs of the Availability Zones, Local Zones, and Wavelength Zones.DescribeAvailabilityZonesRequest.BuilderzoneIds(Collection<String> zoneIds)The IDs of the Availability Zones, Local Zones, and Wavelength Zones.DescribeAvailabilityZonesRequest.BuilderzoneNames(String... zoneNames)The names of the Availability Zones, Local Zones, and Wavelength Zones.DescribeAvailabilityZonesRequest.BuilderzoneNames(Collection<String> zoneNames)The names of the Availability Zones, Local Zones, and Wavelength Zones.-
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, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
zoneNames
DescribeAvailabilityZonesRequest.Builder zoneNames(Collection<String> 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
DescribeAvailabilityZonesRequest.Builder zoneNames(String... 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
DescribeAvailabilityZonesRequest.Builder zoneIds(Collection<String> 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
DescribeAvailabilityZonesRequest.Builder zoneIds(String... 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
DescribeAvailabilityZonesRequest.Builder allAvailabilityZones(Boolean 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
DescribeAvailabilityZonesRequest.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.
-
filters
DescribeAvailabilityZonesRequest.Builder filters(Collection<Filter> filters)
The filters.
-
group-long-name- The long name of the zone group for the Availability Zone (for example,US West (Oregon) 1), the Local Zone (for example, for Zone groupus-west-2-lax-1, it isUS West (Los Angeles), or the Wavelength Zone (for example, for Zone groupus-east-1-wl1, it isUS East (Verizon). -
group-name- The name of the zone group for the Availability Zone (for example,us-east-1-zg-1), the Local Zone (for example,us-west-2-lax-1), or 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|unavailable|constrained). -
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-long-name- The long name of the zone group for the Availability Zone (for example,US West (Oregon) 1), the Local Zone (for example, for Zone groupus-west-2-lax-1, it isUS West (Los Angeles), or the Wavelength Zone (for example, for Zone groupus-east-1-wl1, it isUS East (Verizon). -
group-name- The name of the zone group for the Availability Zone (for example,us-east-1-zg-1), the Local Zone (for example,us-west-2-lax-1), or 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|unavailable|constrained). -
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
DescribeAvailabilityZonesRequest.Builder filters(Filter... filters)
The filters.
-
group-long-name- The long name of the zone group for the Availability Zone (for example,US West (Oregon) 1), the Local Zone (for example, for Zone groupus-west-2-lax-1, it isUS West (Los Angeles), or the Wavelength Zone (for example, for Zone groupus-east-1-wl1, it isUS East (Verizon). -
group-name- The name of the zone group for the Availability Zone (for example,us-east-1-zg-1), the Local Zone (for example,us-west-2-lax-1), or 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|unavailable|constrained). -
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-long-name- The long name of the zone group for the Availability Zone (for example,US West (Oregon) 1), the Local Zone (for example, for Zone groupus-west-2-lax-1, it isUS West (Los Angeles), or the Wavelength Zone (for example, for Zone groupus-east-1-wl1, it isUS East (Verizon). -
group-name- The name of the zone group for the Availability Zone (for example,us-east-1-zg-1), the Local Zone (for example,us-west-2-lax-1), or 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|unavailable|constrained). -
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
DescribeAvailabilityZonesRequest.Builder filters(Consumer<Filter.Builder>... filters)
The filters.
-
group-long-name- The long name of the zone group for the Availability Zone (for example,US West (Oregon) 1), the Local Zone (for example, for Zone groupus-west-2-lax-1, it isUS West (Los Angeles), or the Wavelength Zone (for example, for Zone groupus-east-1-wl1, it isUS East (Verizon). -
group-name- The name of the zone group for the Availability Zone (for example,us-east-1-zg-1), the Local Zone (for example,us-west-2-lax-1), or 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|unavailable|constrained). -
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 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)
-
-
overrideConfiguration
DescribeAvailabilityZonesRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
DescribeAvailabilityZonesRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-