org.jclouds.ec2.options
Class DescribeAvailabilityZonesOptions

java.lang.Object
  extended by org.jclouds.http.options.BaseHttpRequestOptions
      extended by org.jclouds.ec2.options.internal.BaseEC2RequestOptions
          extended by org.jclouds.ec2.options.DescribeAvailabilityZonesOptions
All Implemented Interfaces:
HttpRequestOptions

public class DescribeAvailabilityZonesOptions
extends BaseEC2RequestOptions

Contains options supported in the Form API for the DescribeAvailabilityZones operation.

Usage

The recommended way to instantiate a DescribeAvailabilityZonesOptions object is to statically import DescribeAvailabilityZonesOptions.Builder.* and invoke a static creation method followed by an instance mutator (if needed):

import static org.jclouds.ec2.options.DescribeAvailabilityZonesOptions.Builder.*

EC2Client connection = // get connection Future> images = connection.getAvailabilityZoneAndRegionServices().describeAvailabilityZones(zones("us-east-1a", "us-east-1b"));

Author:
Adrian Cole
See Also:

Nested Class Summary
static class DescribeAvailabilityZonesOptions.Builder
           
 
Field Summary
 
Fields inherited from class org.jclouds.http.options.BaseHttpRequestOptions
formParameters, headers, matrixParameters, pathSuffix, payload, queryParameters
 
Constructor Summary
DescribeAvailabilityZonesOptions()
           
 
Method Summary
 Set<String> getZones()
           
 DescribeAvailabilityZonesOptions zones(String... zones)
          Availability Zone name.
 
Methods inherited from class org.jclouds.ec2.options.internal.BaseEC2RequestOptions
getFormValuesWithKeysPrefixedBy, indexFormValuesWithPrefix, indexFormValuesWithPrefix, toString
 
Methods inherited from class org.jclouds.http.options.BaseHttpRequestOptions
buildFormParameters, buildMatrixParameters, buildPathSuffix, buildQueryParameters, buildRequestHeaders, buildStringPayload, equals, getFirstFormOrNull, getFirstHeaderOrNull, getFirstMatrixOrNull, getFirstQueryOrNull, hashCode, replaceHeader
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DescribeAvailabilityZonesOptions

public DescribeAvailabilityZonesOptions()
Method Detail

zones

public DescribeAvailabilityZonesOptions zones(String... zones)
Availability Zone name.


getZones

public Set<String> getZones()


Copyright © 2009-2011 jclouds. All Rights Reserved.