Package org.jclouds.ec2.features
Interface SubnetApi
-
- All Known Subinterfaces:
AWSSubnetApi
public interface SubnetApi
Provides access to Amazon EC2 via the Query API- See Also:
- doc
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description com.google.common.collect.FluentIterable<Subnet>
filter(com.google.common.collect.Multimap<String,String> filter)
Describes subnets for your EC2 resources qualified by a filtercom.google.common.collect.FluentIterable<Subnet>
list()
Describes all of your subnets for your EC2 resources.
-
-
-
Method Detail
-
list
@Named("DescribeSubnets") @POST @Path("/") com.google.common.collect.FluentIterable<Subnet> list()
Describes all of your subnets for your EC2 resources.- Returns:
- subnets or empty if there are none
- See Also:
- docs
-
filter
@Named("DescribeSubnets") @POST @Path("/") com.google.common.collect.FluentIterable<Subnet> filter(com.google.common.collect.Multimap<String,String> filter)
Describes subnets for your EC2 resources qualified by a filterexample
subnets = subnetApi.filter(new SubnetFilterBuilder().vpcId("vpc-1a2b3c4d").build());
- Parameters:
filter
- which is typically built bySubnetFilterBuilder
- Returns:
- tags or empty if there are none that match the filter
- See Also:
- docs
-
-