public class DescribeAvailabilityZonesRequest extends AmazonWebServiceRequest implements java.io.Serializable, 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 .
Constructor and Description |
---|
DescribeAvailabilityZonesRequest() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
Request<DescribeAvailabilityZonesRequest> |
getDryRunRequest()
This method is intended for internal use only.
|
java.util.List<Filter> |
getFilters()
One or more filters.
|
java.util.List<java.lang.String> |
getZoneNames()
The names of one or more Availability Zones.
|
int |
hashCode() |
void |
setFilters(java.util.Collection<Filter> filters)
One or more filters.
|
void |
setZoneNames(java.util.Collection<java.lang.String> zoneNames)
The names of one or more Availability Zones.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
DescribeAvailabilityZonesRequest |
withFilters(java.util.Collection<Filter> filters)
One or more filters.
|
DescribeAvailabilityZonesRequest |
withFilters(Filter... filters)
One or more filters.
|
DescribeAvailabilityZonesRequest |
withZoneNames(java.util.Collection<java.lang.String> zoneNames)
The names of one or more Availability Zones.
|
DescribeAvailabilityZonesRequest |
withZoneNames(java.lang.String... zoneNames)
The names of one or more Availability Zones.
|
clone, getCloneRoot, getCloneSource, getGeneralProgressListener, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, withGeneralProgressListener, withRequestMetricCollector
public java.util.List<java.lang.String> getZoneNames()
public void setZoneNames(java.util.Collection<java.lang.String> zoneNames)
zoneNames
- The names of one or more Availability Zones.public DescribeAvailabilityZonesRequest withZoneNames(java.lang.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 DescribeAvailabilityZonesRequest withZoneNames(java.util.Collection<java.lang.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 java.util.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(java.util.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
).
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(java.util.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 java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
Copyright © 2018 Amazon Web Services, Inc. All Rights Reserved.