org.jclouds.ec2.services
Interface SecurityGroupAsyncClient

All Known Subinterfaces:
AWSSecurityGroupAsyncClient

public interface SecurityGroupAsyncClient

Provides access to EC2 via their REST API.

Author:
Adrian Cole

Method Summary
 com.google.common.util.concurrent.ListenableFuture<Void> authorizeSecurityGroupIngressInRegion(String region, String groupName, IpProtocol ipProtocol, int fromPort, int toPort, String cidrIp)
           
 com.google.common.util.concurrent.ListenableFuture<Void> authorizeSecurityGroupIngressInRegion(String region, String groupName, UserIdGroupPair sourceSecurityGroup)
           
 com.google.common.util.concurrent.ListenableFuture<Void> createSecurityGroupInRegion(String region, String name, String description)
           
 com.google.common.util.concurrent.ListenableFuture<Void> deleteSecurityGroupInRegion(String region, String name)
           
 com.google.common.util.concurrent.ListenableFuture<? extends Set<SecurityGroup>> describeSecurityGroupsInRegion(String region, String... securityGroupNames)
           
 com.google.common.util.concurrent.ListenableFuture<Void> revokeSecurityGroupIngressInRegion(String region, String groupName, IpProtocol ipProtocol, int fromPort, int toPort, String cidrIp)
           
 com.google.common.util.concurrent.ListenableFuture<Void> revokeSecurityGroupIngressInRegion(String region, String groupName, UserIdGroupPair sourceSecurityGroup)
           
 

Method Detail

createSecurityGroupInRegion

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

deleteSecurityGroupInRegion

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

describeSecurityGroupsInRegion

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

authorizeSecurityGroupIngressInRegion

com.google.common.util.concurrent.ListenableFuture<Void> authorizeSecurityGroupIngressInRegion(@Nullable
                                                                                               String region,
                                                                                               String groupName,
                                                                                               UserIdGroupPair sourceSecurityGroup)
See Also:
SecurityGroupClient#authorizeSecurityGroupIngressInRegion(@ org.jclouds.javax.annotation.Nullable Region, String,UserIdGroupPair)

authorizeSecurityGroupIngressInRegion

com.google.common.util.concurrent.ListenableFuture<Void> authorizeSecurityGroupIngressInRegion(@Nullable
                                                                                               String region,
                                                                                               String groupName,
                                                                                               IpProtocol ipProtocol,
                                                                                               int fromPort,
                                                                                               int toPort,
                                                                                               String cidrIp)
See Also:
SecurityGroupClient#authorizeSecurityGroupIngressInRegion(@ org.jclouds.javax.annotation.Nullable Region, String,IpProtocol,int,int,String)

revokeSecurityGroupIngressInRegion

com.google.common.util.concurrent.ListenableFuture<Void> revokeSecurityGroupIngressInRegion(@Nullable
                                                                                            String region,
                                                                                            String groupName,
                                                                                            UserIdGroupPair sourceSecurityGroup)
See Also:
SecurityGroupClient#revokeSecurityGroupIngressInRegion(@Nullable Region, String,UserIdGroupPair)

revokeSecurityGroupIngressInRegion

com.google.common.util.concurrent.ListenableFuture<Void> revokeSecurityGroupIngressInRegion(@Nullable
                                                                                            String region,
                                                                                            String groupName,
                                                                                            IpProtocol ipProtocol,
                                                                                            int fromPort,
                                                                                            int toPort,
                                                                                            String cidrIp)
See Also:
SecurityGroupClient#revokeSecurityGroupIngressInRegion(@ org.jclouds.javax.annotation.Nullable Region, String,IpProtocol,int,int,String)


Copyright © 2009-2012 jclouds. All Rights Reserved.