org.jclouds.rds.features
Interface SecurityGroupApi


public interface SecurityGroupApi

Provides access to Amazon RDS via the Query API

Author:
Adrian Cole
See Also:
doc, SecurityGroupAsyncApi

Method Summary
 void delete(String name)
          Deletes a DB security group.
 SecurityGroup get(String name)
          Retrieves information about the specified SecurityGroup.
 PagedIterable<SecurityGroup> list()
          Returns a list of SecurityGroups.
 IterableWithMarker<SecurityGroup> list(ListSecurityGroupsOptions options)
          Returns a list of SecurityGroups.
 

Method Detail

get

@Nullable
SecurityGroup get(String name)
Retrieves information about the specified SecurityGroup.

Parameters:
name - Name of the security group to get information about.
Returns:
null if not found

list

IterableWithMarker<SecurityGroup> list(ListSecurityGroupsOptions options)
Returns a list of SecurityGroups.
You can paginate the results using the parameter

Parameters:
options - the options describing the security groups query
Returns:
the response object

list

PagedIterable<SecurityGroup> list()
Returns a list of SecurityGroups.

Returns:
the response object

delete

void delete(String name)
Deletes a DB security group.

Naming Constraints

Parameters:
name - The name of the database security group to delete.

Note

You cannot delete the default security group.


Copyright © 2009-2012 jclouds. All Rights Reserved.