public class CreateSubnetOptions extends BaseEC2RequestOptions
import static org.jclouds.aws.ec2.options.CreateSubnetOptions.Builder.*
AWSEC2Api connection = // get connection
String vpcId = "vpc-1a2b3c4d";
String cidrBlock = "10.0.1.0/24";
group = connection.getAWSSubnetApi().createSubnetInRegion(vpcId, cirdBlock, availabilityZone("us-east-1a"));
Modifier and Type | Class and Description |
---|---|
static class |
CreateSubnetOptions.Builder |
formParameters, headers, pathSuffix, payload, queryParameters
Constructor and Description |
---|
CreateSubnetOptions() |
Modifier and Type | Method and Description |
---|---|
CreateSubnetOptions |
availabilityZone(String availabilityZone)
The Availability Zone for the subnet.
|
CreateSubnetOptions |
dryRun() |
String |
getAvailabilityZone() |
boolean |
isDryRun() |
getFormValuesWithKeysPrefixedBy, indexFormValuesWithPrefix, indexFormValuesWithPrefix, toString
buildFormParameters, buildPathSuffix, buildQueryParameters, buildRequestHeaders, buildStringPayload, equals, getFirstFormOrNull, getFirstHeaderOrNull, getFirstQueryOrNull, hashCode, replaceHeader
public CreateSubnetOptions availabilityZone(String availabilityZone)
public String getAvailabilityZone()
public CreateSubnetOptions dryRun()
public boolean isDryRun()
Copyright © 2009-2018 The Apache Software Foundation. All Rights Reserved.