public class DescribeAvailabilityZonesRequest extends AmazonWebServiceRequest implements Serializable, DryRunSupportedRequest<DescribeAvailabilityZonesRequest>
DescribeAvailabilityZones operation.
The DescribeAvailabilityZones operation describes availability zones that are currently available to the account and their states.
Availability zones are not the same across accounts. The availability zone us-east-1a for account A is not necessarily the same as
us-east-1a for account B. Zone assignments are mapped independently for each account.
| Constructor and Description |
|---|
DescribeAvailabilityZonesRequest() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
Request<DescribeAvailabilityZonesRequest> |
getDryRunRequest()
This method is intended for internal use only.
|
List<Filter> |
getFilters()
A list of filters used to match properties for AvailabilityZones.
|
List<String> |
getZoneNames()
A list of the availability zone names to describe.
|
int |
hashCode() |
void |
setFilters(Collection<Filter> filters)
A list of filters used to match properties for AvailabilityZones.
|
void |
setZoneNames(Collection<String> zoneNames)
A list of the availability zone names to describe.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
DescribeAvailabilityZonesRequest |
withFilters(Collection<Filter> filters)
A list of filters used to match properties for AvailabilityZones.
|
DescribeAvailabilityZonesRequest |
withFilters(Filter... filters)
A list of filters used to match properties for AvailabilityZones.
|
DescribeAvailabilityZonesRequest |
withZoneNames(Collection<String> zoneNames)
A list of the availability zone names to describe.
|
DescribeAvailabilityZonesRequest |
withZoneNames(String... zoneNames)
A list of the availability zone names to describe.
|
copyPrivateRequestParameters, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, setRequestCredentials, setRequestMetricCollector, withRequestMetricCollectorpublic List<String> getZoneNames()
public void setZoneNames(Collection<String> zoneNames)
zoneNames - A list of the availability zone names to describe.public DescribeAvailabilityZonesRequest withZoneNames(String... zoneNames)
Returns a reference to this object so that method calls can be chained together.
zoneNames - A list of the availability zone names to describe.public DescribeAvailabilityZonesRequest withZoneNames(Collection<String> zoneNames)
Returns a reference to this object so that method calls can be chained together.
zoneNames - A list of the availability zone names to describe.public List<Filter> getFilters()
public void setFilters(Collection<Filter> filters)
filters - A list of filters used to match properties for AvailabilityZones. For
a complete reference to the available filter keys for this operation,
see the Amazon
EC2 API reference.public DescribeAvailabilityZonesRequest withFilters(Filter... filters)
Returns a reference to this object so that method calls can be chained together.
filters - A list of filters used to match properties for AvailabilityZones. For
a complete reference to the available filter keys for this operation,
see the Amazon
EC2 API reference.public DescribeAvailabilityZonesRequest withFilters(Collection<Filter> filters)
Returns a reference to this object so that method calls can be chained together.
filters - A list of filters used to match properties for AvailabilityZones. For
a complete reference to the available filter keys for this operation,
see the Amazon
EC2 API reference.public Request<DescribeAvailabilityZonesRequest> getDryRunRequest()
getDryRunRequest in interface DryRunSupportedRequest<DescribeAvailabilityZonesRequest>public String toString()
toString in class ObjectObject.toString()Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.