org.jclouds.aws.ec2.services
Interface AWSSecurityGroupClient

All Superinterfaces:
SecurityGroupClient

@Beta
public interface AWSSecurityGroupClient
extends SecurityGroupClient

Provides access to EC2 via their REST API.

Author:
Adrian Cole

Method Summary
 void authorizeSecurityGroupIngressInRegion(String region, String groupId, IpPermission perm)
           
 void authorizeSecurityGroupIngressInRegion(String region, String groupId, Iterable<IpPermission> perm)
           
 String createSecurityGroupInRegionAndReturnId(String region, String name, String desc, CreateSecurityGroupOptions... options)
           
 void deleteSecurityGroupInRegionById(String region, String name)
           
 Set<SecurityGroup> describeSecurityGroupsInRegionById(String region, String... securityGroupIds)
           
 void revokeSecurityGroupIngressInRegion(String region, String groupId, IpPermission perm)
           
 void revokeSecurityGroupIngressInRegion(String region, String groupId, Iterable<IpPermission> perm)
           
 
Methods inherited from interface org.jclouds.ec2.services.SecurityGroupClient
authorizeSecurityGroupIngressInRegion, authorizeSecurityGroupIngressInRegion, createSecurityGroupInRegion, deleteSecurityGroupInRegion, describeSecurityGroupsInRegion, revokeSecurityGroupIngressInRegion, revokeSecurityGroupIngressInRegion
 

Method Detail

createSecurityGroupInRegionAndReturnId

String createSecurityGroupInRegionAndReturnId(@Nullable
                                              String region,
                                              String name,
                                              String desc,
                                              CreateSecurityGroupOptions... options)

authorizeSecurityGroupIngressInRegion

void authorizeSecurityGroupIngressInRegion(@Nullable
                                           String region,
                                           String groupId,
                                           IpPermission perm)

authorizeSecurityGroupIngressInRegion

void authorizeSecurityGroupIngressInRegion(@Nullable
                                           String region,
                                           String groupId,
                                           Iterable<IpPermission> perm)

revokeSecurityGroupIngressInRegion

void revokeSecurityGroupIngressInRegion(@Nullable
                                        String region,
                                        String groupId,
                                        IpPermission perm)

revokeSecurityGroupIngressInRegion

void revokeSecurityGroupIngressInRegion(@Nullable
                                        String region,
                                        String groupId,
                                        Iterable<IpPermission> perm)

describeSecurityGroupsInRegionById

Set<SecurityGroup> describeSecurityGroupsInRegionById(@Nullable
                                                      String region,
                                                      String... securityGroupIds)

deleteSecurityGroupInRegionById

void deleteSecurityGroupInRegionById(@Nullable
                                     String region,
                                     String name)


Copyright © 2009-2011 jclouds. All Rights Reserved.