|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.amazonaws.AmazonWebServiceRequest
com.amazonaws.services.ec2.model.DescribeAvailabilityZonesRequest
public class DescribeAvailabilityZonesRequest
Container for the parameters to the 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 .
AmazonEC2.describeAvailabilityZones(DescribeAvailabilityZonesRequest)
,
Serialized FormConstructor Summary | |
---|---|
DescribeAvailabilityZonesRequest()
|
Method Summary | |
---|---|
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. |
Methods inherited from class com.amazonaws.AmazonWebServiceRequest |
---|
copyPrivateRequestParameters, getDelegationToken, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, setDelegationToken, setRequestCredentials, setRequestMetricCollector, withRequestMetricCollector |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public DescribeAvailabilityZonesRequest()
Method Detail |
---|
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
|
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
|
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
|
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
|
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
|
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
|
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
|
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
|
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
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |