com.amazonaws.services.ec2.model
Class DescribeAvailabilityZonesRequest

java.lang.Object
  extended by com.amazonaws.AmazonWebServiceRequest
      extended by com.amazonaws.services.ec2.model.DescribeAvailabilityZonesRequest

public class DescribeAvailabilityZonesRequest
extends AmazonWebServiceRequest

Container for the parameters to the 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.

See Also:
AmazonEC2.describeAvailabilityZones(DescribeAvailabilityZonesRequest)

Constructor Summary
DescribeAvailabilityZonesRequest()
           
 
Method Summary
 boolean equals(Object obj)
           
 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.
 
Methods inherited from class com.amazonaws.AmazonWebServiceRequest
copyPrivateRequestParameters, getDelegationToken, getRequestClientOptions, getRequestCredentials, setDelegationToken, setRequestCredentials
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DescribeAvailabilityZonesRequest

public DescribeAvailabilityZonesRequest()
Method Detail

getZoneNames

public List<String> getZoneNames()
A list of the availability zone names to describe.

Returns:
A list of the availability zone names to describe.

setZoneNames

public void setZoneNames(Collection<String> zoneNames)
A list of the availability zone names to describe.

Parameters:
zoneNames - A list of the availability zone names to describe.

withZoneNames

public DescribeAvailabilityZonesRequest withZoneNames(String... zoneNames)
A list of the availability zone names to describe.

Returns a reference to this object so that method calls can be chained together.

Parameters:
zoneNames - A list of the availability zone names to describe.
Returns:
A reference to this updated object so that method calls can be chained together.

withZoneNames

public DescribeAvailabilityZonesRequest withZoneNames(Collection<String> zoneNames)
A list of the availability zone names to describe.

Returns a reference to this object so that method calls can be chained together.

Parameters:
zoneNames - A list of the availability zone names to describe.
Returns:
A reference to this updated object so that method calls can be chained together.

getFilters

public List<Filter> getFilters()
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.

Returns:
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.

setFilters

public void setFilters(Collection<Filter> 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.

Parameters:
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.

withFilters

public DescribeAvailabilityZonesRequest withFilters(Filter... 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.

Returns a reference to this object so that method calls can be chained together.

Parameters:
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.
Returns:
A reference to this updated object so that method calls can be chained together.

withFilters

public DescribeAvailabilityZonesRequest withFilters(Collection<Filter> 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.

Returns a reference to this object so that method calls can be chained together.

Parameters:
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.
Returns:
A reference to this updated object so that method calls can be chained together.

toString

public String toString()
Returns a string representation of this object; useful for testing and debugging.

Overrides:
toString in class Object
Returns:
A string representation of this object.
See Also:
Object.toString()

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

public boolean equals(Object obj)
Overrides:
equals in class Object


Copyright © 2010 Amazon Web Services, Inc. All Rights Reserved.