public interface InstanceApi
InstanceAsyncApi
Modifier and Type | Method and Description |
---|---|
Instance |
create(String id,
InstanceRequest instanceRequest)
Creates a new DB instance in a random, system-chosen Availability Zone in the endpoint's
region.
|
Instance |
createInAvailabilityZone(String id,
InstanceRequest instanceRequest,
String availabilityZone)
Creates a new DB instance in the specified
availabilityZone |
Instance |
createMultiAZ(String id,
InstanceRequest instanceRequest)
Creates a Multi-AZ deployment.
|
Instance |
delete(String id)
Deletes the specified Instance, skipping final snapshot.
|
Instance |
deleteAndSaveSnapshot(String id,
String snapshotId)
Deletes the specified Instance.
|
Instance |
get(String id)
Retrieves information about the specified instance.
|
PagedIterable<Instance> |
list()
Returns information about provisioned RDS instances.
|
IterableWithMarker<Instance> |
list(ListInstancesOptions options)
Returns information about provisioned RDS instances.
|
Instance create(String id, InstanceRequest instanceRequest)
id
- unique id of the new instanceinstanceRequest
- parameters to create the instance withInstance createInAvailabilityZone(String id, InstanceRequest instanceRequest, String availabilityZone)
availabilityZone
id
- unique id of the new instanceinstanceRequest
- parameters to create the instance withavailabilityZone
- The EC2 Availability Zone that the database instance will be created inInstance createMultiAZ(String id, InstanceRequest instanceRequest)
id
- unique id of the new instanceinstanceRequest
- parameters to create the instance with@Nullable Instance get(String id)
id
- The user-supplied instance identifier. If this parameter is specified, information
from only the specific DB Instance is returned. This parameter isn't case sensitive.IterableWithMarker<Instance> list(ListInstancesOptions options)
parameter
options
- the options describing the instances queryPagedIterable<Instance> list()
Instance delete(String id)
id
- The DB Instance identifier for the DB Instance to be deleted. This parameter isn't
case sensitive.Instance deleteAndSaveSnapshot(String id, String snapshotId)
id
- The DB Instance identifier for the DB Instance to be deleted. This parameter isn't
case sensitive.snapshotId
- The DBSnapshotIdentifier of the new DBSnapshot created when SkipFinalSnapshot is set
to false.Copyright © 2009-2013 jclouds. All Rights Reserved.