org.jclouds.aws.ec2.services
Interface AWSSecurityGroupAsyncClient

All Superinterfaces:
SecurityGroupAsyncClient

@Beta
public interface AWSSecurityGroupAsyncClient
extends SecurityGroupAsyncClient

Provides access to EC2 SecurityGroup Services via their REST API.

Author:
Adrian Cole

Method Summary
 com.google.common.util.concurrent.ListenableFuture<Void> authorizeSecurityGroupIngressInRegion(String region, String groupId, IpPermission perm)
           
 com.google.common.util.concurrent.ListenableFuture<Void> authorizeSecurityGroupIngressInRegion(String region, String groupId, Iterable<IpPermission> perms)
           
 com.google.common.util.concurrent.ListenableFuture<String> createSecurityGroupInRegionAndReturnId(String region, String name, String description, CreateSecurityGroupOptions... options)
           
 com.google.common.util.concurrent.ListenableFuture<Void> deleteSecurityGroupInRegionById(String region, String name)
           
 com.google.common.util.concurrent.ListenableFuture<? extends Set<SecurityGroup>> describeSecurityGroupsInRegionById(String region, String... securityGroupNames)
           
 com.google.common.util.concurrent.ListenableFuture<Void> revokeSecurityGroupIngressInRegion(String region, String groupId, IpPermission perm)
           
 com.google.common.util.concurrent.ListenableFuture<Void> revokeSecurityGroupIngressInRegion(String region, String groupId, Iterable<IpPermission> perms)
           
 
Methods inherited from interface org.jclouds.ec2.services.SecurityGroupAsyncClient
authorizeSecurityGroupIngressInRegion, authorizeSecurityGroupIngressInRegion, createSecurityGroupInRegion, deleteSecurityGroupInRegion, describeSecurityGroupsInRegion, revokeSecurityGroupIngressInRegion, revokeSecurityGroupIngressInRegion
 

Method Detail

createSecurityGroupInRegionAndReturnId

com.google.common.util.concurrent.ListenableFuture<String> createSecurityGroupInRegionAndReturnId(@Nullable
                                                                                                  String region,
                                                                                                  String name,
                                                                                                  String description,
                                                                                                  CreateSecurityGroupOptions... options)
See Also:
SecurityGroupClient.createSecurityGroupInRegion(java.lang.String, java.lang.String, java.lang.String)

authorizeSecurityGroupIngressInRegion

com.google.common.util.concurrent.ListenableFuture<Void> authorizeSecurityGroupIngressInRegion(@Nullable
                                                                                               String region,
                                                                                               String groupId,
                                                                                               IpPermission perm)
See Also:
AWSSecurityGroupClient.authorizeSecurityGroupIngressInRegion(String, String,IpPermission)

authorizeSecurityGroupIngressInRegion

com.google.common.util.concurrent.ListenableFuture<Void> authorizeSecurityGroupIngressInRegion(@Nullable
                                                                                               String region,
                                                                                               String groupId,
                                                                                               Iterable<IpPermission> perms)
See Also:
AWSSecurityGroupClient.authorizeSecurityGroupIngressInRegion(String, String,Iterable)

revokeSecurityGroupIngressInRegion

com.google.common.util.concurrent.ListenableFuture<Void> revokeSecurityGroupIngressInRegion(@Nullable
                                                                                            String region,
                                                                                            String groupId,
                                                                                            IpPermission perm)
See Also:
AWSSecurityGroupClient#revokeSecurityGroupIngressInRegion(@Nullable Region, String,IpPermission)

revokeSecurityGroupIngressInRegion

com.google.common.util.concurrent.ListenableFuture<Void> revokeSecurityGroupIngressInRegion(@Nullable
                                                                                            String region,
                                                                                            String groupId,
                                                                                            Iterable<IpPermission> perms)
See Also:
AWSSecurityGroupClient#revokeSecurityGroupIngressInRegion(@Nullable Region, String,Iterable)

deleteSecurityGroupInRegionById

com.google.common.util.concurrent.ListenableFuture<Void> deleteSecurityGroupInRegionById(@Nullable
                                                                                         String region,
                                                                                         String name)
See Also:
AWSSecurityGroupClient.deleteSecurityGroupInRegionById(java.lang.String, java.lang.String)

describeSecurityGroupsInRegionById

com.google.common.util.concurrent.ListenableFuture<? extends Set<SecurityGroup>> describeSecurityGroupsInRegionById(@Nullable
                                                                                                                    String region,
                                                                                                                    String... securityGroupNames)
See Also:
AWSSecurityGroupClient.describeSecurityGroupsInRegionById(java.lang.String, java.lang.String...)


Copyright © 2009-2011 jclouds. All Rights Reserved.