org.jclouds.rds.features
Interface SubnetGroupApi


public interface SubnetGroupApi

Provides access to Amazon RDS via the Query API

Author:
Adrian Cole
See Also:
doc, SubnetGroupAsyncApi

Method Summary
 void delete(String name)
          Deletes a DB subnet group.
 SubnetGroup get(String name)
          Retrieves information about the specified SubnetGroup.
 PagedIterable<SubnetGroup> list()
          Returns a list of SubnetGroups.
 IterableWithMarker<SubnetGroup> list(ListSubnetGroupsOptions options)
          Returns a list of SubnetGroups.
 

Method Detail

get

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

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

list

IterableWithMarker<SubnetGroup> list(ListSubnetGroupsOptions options)
Returns a list of SubnetGroups.
You can paginate the results using the parameter

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

list

PagedIterable<SubnetGroup> list()
Returns a list of SubnetGroups.

Returns:
the response object

delete

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

Note

The specified database subnet group must not be associated with any DB instances.

Note

By design, if the SubnetGroup does not exist or has already been deleted, DeleteSubnetGroup still succeeds.

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

Note

You cannot delete the default subnet group.


Copyright © 2009-2012 jclouds. All Rights Reserved.