public class DescribeAvailabilityZonesRequest extends AmazonWebServiceRequest implements Serializable, Cloneable, DryRunSupportedRequest<DescribeAvailabilityZonesRequest>
DescribeAvailabilityZones operation
.
Describes one or more of the Availability Zones that are available to you. The results include zones only for the region you're currently using. If there is an event impacting an Availability Zone, you can use this request to view the state and any provided message for that Availability Zone.
For more information, see Regions and Availability Zones in the Amazon Elastic Compute Cloud User Guide .
NOOP
Constructor and Description |
---|
DescribeAvailabilityZonesRequest() |
Modifier and Type | Method and Description |
---|---|
DescribeAvailabilityZonesRequest |
clone()
Creates a shallow clone of this request.
|
boolean |
equals(Object obj) |
Request<DescribeAvailabilityZonesRequest> |
getDryRunRequest()
This method is intended for internal use only.
|
List<Filter> |
getFilters()
One or more filters.
|
List<String> |
getZoneNames()
The names of one or more Availability Zones.
|
int |
hashCode() |
void |
setFilters(Collection<Filter> filters)
One or more filters.
|
void |
setZoneNames(Collection<String> zoneNames)
The names of one or more Availability Zones.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
DescribeAvailabilityZonesRequest |
withFilters(Collection<Filter> filters)
One or more filters.
|
DescribeAvailabilityZonesRequest |
withFilters(Filter... filters)
One or more filters.
|
DescribeAvailabilityZonesRequest |
withZoneNames(Collection<String> zoneNames)
The names of one or more Availability Zones.
|
DescribeAvailabilityZonesRequest |
withZoneNames(String... zoneNames)
The names of one or more Availability Zones.
|
copyBaseTo, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, withGeneralProgressListener, withRequestMetricCollector
public List<String> getZoneNames()
public void setZoneNames(Collection<String> zoneNames)
zoneNames
- The names of one or more Availability Zones.public DescribeAvailabilityZonesRequest withZoneNames(String... zoneNames)
NOTE: This method appends the values to the existing list (if
any). Use setZoneNames(java.util.Collection)
or withZoneNames(java.util.Collection)
if you want to override the
existing values.
Returns a reference to this object so that method calls can be chained together.
zoneNames
- The names of one or more Availability Zones.public DescribeAvailabilityZonesRequest withZoneNames(Collection<String> zoneNames)
Returns a reference to this object so that method calls can be chained together.
zoneNames
- The names of one or more Availability Zones.public List<Filter> getFilters()
message
- Information
about the Availability Zone.
region-name
-
The name of the region for the Availability Zone (for example,
us-east-1
).
state
- The state
of the Availability Zone (available
|
information
| impaired
|
unavailable
).
zone-name
- The
name of the Availability Zone (for example, us-east-1a
).
message
- Information
about the Availability Zone.
region-name
-
The name of the region for the Availability Zone (for example,
us-east-1
).
state
- The state
of the Availability Zone (available
|
information
| impaired
|
unavailable
).
zone-name
- The
name of the Availability Zone (for example, us-east-1a
).
public void setFilters(Collection<Filter> filters)
message
- Information
about the Availability Zone.
region-name
-
The name of the region for the Availability Zone (for example,
us-east-1
).
state
- The state
of the Availability Zone (available
|
information
| impaired
|
unavailable
).
zone-name
- The
name of the Availability Zone (for example, us-east-1a
).
filters
- One or more filters. message
- Information
about the Availability Zone.
region-name
-
The name of the region for the Availability Zone (for example,
us-east-1
).
state
- The state
of the Availability Zone (available
|
information
| impaired
|
unavailable
).
zone-name
- The
name of the Availability Zone (for example, us-east-1a
).
public DescribeAvailabilityZonesRequest withFilters(Filter... filters)
message
- Information
about the Availability Zone.
region-name
-
The name of the region for the Availability Zone (for example,
us-east-1
).
state
- The state
of the Availability Zone (available
|
information
| impaired
|
unavailable
).
zone-name
- The
name of the Availability Zone (for example, us-east-1a
).
NOTE: This method appends the values to the existing list (if
any). Use setFilters(java.util.Collection)
or withFilters(java.util.Collection)
if you want to override the
existing values.
Returns a reference to this object so that method calls can be chained together.
filters
- One or more filters. message
- Information
about the Availability Zone.
region-name
-
The name of the region for the Availability Zone (for example,
us-east-1
).
state
- The state
of the Availability Zone (available
|
information
| impaired
|
unavailable
).
zone-name
- The
name of the Availability Zone (for example, us-east-1a
).
public DescribeAvailabilityZonesRequest withFilters(Collection<Filter> filters)
message
- Information
about the Availability Zone.
region-name
-
The name of the region for the Availability Zone (for example,
us-east-1
).
state
- The state
of the Availability Zone (available
|
information
| impaired
|
unavailable
).
zone-name
- The
name of the Availability Zone (for example, us-east-1a
).
Returns a reference to this object so that method calls can be chained together.
filters
- One or more filters. message
- Information
about the Availability Zone.
region-name
-
The name of the region for the Availability Zone (for example,
us-east-1
).
state
- The state
of the Availability Zone (available
|
information
| impaired
|
unavailable
).
zone-name
- The
name of the Availability Zone (for example, us-east-1a
).
public Request<DescribeAvailabilityZonesRequest> getDryRunRequest()
getDryRunRequest
in interface DryRunSupportedRequest<DescribeAvailabilityZonesRequest>
public String toString()
toString
in class Object
Object.toString()
public DescribeAvailabilityZonesRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Copyright © 2015. All rights reserved.