Package org.jclouds.ec2.options
Class DescribeRegionsOptions
- java.lang.Object
-
- org.jclouds.http.options.BaseHttpRequestOptions
-
- org.jclouds.ec2.options.internal.BaseEC2RequestOptions
-
- org.jclouds.ec2.options.DescribeRegionsOptions
-
- All Implemented Interfaces:
HttpRequestOptions
public class DescribeRegionsOptions extends BaseEC2RequestOptions
Contains options supported in the Form API for the DescribeRegions operation.Usage
The recommended way to instantiate a DescribeRegionsOptions object is to statically import DescribeRegionsOptions.Builder.* and invoke a static creation method followed by an instance mutator (if needed):import static org.jclouds.ec2.options.DescribeRegionsOptions.Builder.* EC2Api connection = // get connection Future
> images = connection.getRegionsAndRegionsServices().describeRegions(regions("us-east-1a", "us-east-1b"));
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
DescribeRegionsOptions.Builder
-
Field Summary
-
Fields inherited from class org.jclouds.http.options.BaseHttpRequestOptions
formParameters, headers, pathSuffix, payload, queryParameters
-
-
Constructor Summary
Constructors Constructor Description DescribeRegionsOptions()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Set<String>
getZones()
DescribeRegionsOptions
regions(String... regions)
Name of a Region.-
Methods inherited from class org.jclouds.ec2.options.internal.BaseEC2RequestOptions
getFormValuesWithKeysPrefixedBy, indexFormValuesWithPrefix, indexFormValuesWithPrefix, toString
-
Methods inherited from class org.jclouds.http.options.BaseHttpRequestOptions
buildFormParameters, buildPathSuffix, buildQueryParameters, buildRequestHeaders, buildStringPayload, equals, getFirstFormOrNull, getFirstHeaderOrNull, getFirstQueryOrNull, hashCode, replaceHeader
-
-
-
-
Method Detail
-
regions
public DescribeRegionsOptions regions(String... regions)
Name of a Region.
-
-