Modifier and Type | Method and Description |
---|---|
Subnet |
createSubnetInRegion(String region,
String vpcId,
String cidrBlock,
CreateSubnetOptions... options)
Creates a subnet in an existing VPC.
|
void |
deleteSubnetInRegion(String region,
String subnetId)
Deletes a subnet.
|
com.google.common.collect.FluentIterable<Subnet> |
describeSubnetsInRegion(String region,
String... subnetIds)
Describes one or more of your subnets.
|
com.google.common.collect.FluentIterable<Subnet> |
describeSubnetsInRegionWithFilter(String region,
com.google.common.collect.Multimap<String,String> filter)
Returns information about subnets available to you.
|
boolean |
modifySubnetAttribute(String region,
String subnetId,
ModifySubnetAttributeOptions options)
Modifies a subnet attribute.
|
@Named(value="CreateSubnet") @POST @Path(value="/") Subnet createSubnetInRegion(@Nullable String region, @FormParam(value="VpcId") String vpcId, @FormParam(value="CidrBlock") String cidrBlock, CreateSubnetOptions... options)
region
- vpcId
- The ID of the VPC.cidrBlock
- The network range for the subnet, in CIDR notation. For example, 10.0.0.0/24.options
- @Named(value="DeleteSubnet") @POST @Path(value="/") void deleteSubnetInRegion(@Nullable String region, @FormParam(value="SubnetId") String subnetId)
region
- subnetId
- @Named(value="DescribeSubnets") @POST @Path(value="/") com.google.common.collect.FluentIterable<Subnet> describeSubnetsInRegion(@Nullable String region, String... subnetIds)
region
- Subnet are Region-specific.subnetIds
- Subnet to describe.@Named(value="DescribeSubnets") @POST @Path(value="/") com.google.common.collect.FluentIterable<Subnet> describeSubnetsInRegionWithFilter(@Nullable String region, com.google.common.collect.Multimap<String,String> filter)
region
- Subnets are Region-specific.filter
- Multimap of filter key/values.@Named(value="ModifySubnetAttribute") @POST @Path(value="/") boolean modifySubnetAttribute(@Nullable String region, @FormParam(value="SubnetId") String subnetId, ModifySubnetAttributeOptions options)
region
- The region for the subnetsubnetId
- The ID of the subnetoptions
- The options containing the attribute to modify. You can only modify one attribute at a time.Copyright © 2009-2018 The Apache Software Foundation. All Rights Reserved.