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

A request to describe the Amazon EC2 availability zones in the current region.


Constructor Summary
DescribeAvailabilityZonesRequest()
           
 
Method Summary
 List<String> getZoneNames()
          A list of the availability zone names to describe.
 void setZoneNames(Collection<String> zoneNames)
          A list of the availability zone names to describe.
 String toString()
           
 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
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, 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.

toString

public String toString()
Overrides:
toString in class Object


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