@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public interface AmazonDocDBElasticAsync extends AmazonDocDBElastic
AsyncHandler
can be used to receive
notification when an asynchronous operation completes.
Note: Do not directly implement this interface, new methods are added to it regularly. Extend from
AbstractAmazonDocDBElasticAsync
instead.
Amazon DocumentDB elastic-clusters support workloads with millions of reads/writes per second and petabytes of storage capacity. Amazon DocumentDB elastic clusters also simplify how developers interact with Amazon DocumentDB elastic-clusters by eliminating the need to choose, manage or upgrade instances.
Amazon DocumentDB elastic-clusters were created to:
provide a solution for customers looking for a database that provides virtually limitless scale with rich query capabilities and MongoDB API compatibility.
give customers higher connection limits, and to reduce downtime from patching.
continue investing in a cloud-native, elastic, and class leading architecture for JSON workloads.
ENDPOINT_PREFIX
copyClusterSnapshot, createCluster, createClusterSnapshot, deleteCluster, deleteClusterSnapshot, getCachedResponseMetadata, getCluster, getClusterSnapshot, listClusters, listClusterSnapshots, listTagsForResource, restoreClusterFromSnapshot, shutdown, startCluster, stopCluster, tagResource, untagResource, updateCluster
Future<CopyClusterSnapshotResult> copyClusterSnapshotAsync(CopyClusterSnapshotRequest copyClusterSnapshotRequest)
Copies a snapshot of an elastic cluster.
copyClusterSnapshotRequest
- Future<CopyClusterSnapshotResult> copyClusterSnapshotAsync(CopyClusterSnapshotRequest copyClusterSnapshotRequest, AsyncHandler<CopyClusterSnapshotRequest,CopyClusterSnapshotResult> asyncHandler)
Copies a snapshot of an elastic cluster.
copyClusterSnapshotRequest
- asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.Future<CreateClusterResult> createClusterAsync(CreateClusterRequest createClusterRequest)
Creates a new Amazon DocumentDB elastic cluster and returns its cluster structure.
createClusterRequest
- Future<CreateClusterResult> createClusterAsync(CreateClusterRequest createClusterRequest, AsyncHandler<CreateClusterRequest,CreateClusterResult> asyncHandler)
Creates a new Amazon DocumentDB elastic cluster and returns its cluster structure.
createClusterRequest
- asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.Future<CreateClusterSnapshotResult> createClusterSnapshotAsync(CreateClusterSnapshotRequest createClusterSnapshotRequest)
Creates a snapshot of an elastic cluster.
createClusterSnapshotRequest
- Future<CreateClusterSnapshotResult> createClusterSnapshotAsync(CreateClusterSnapshotRequest createClusterSnapshotRequest, AsyncHandler<CreateClusterSnapshotRequest,CreateClusterSnapshotResult> asyncHandler)
Creates a snapshot of an elastic cluster.
createClusterSnapshotRequest
- asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.Future<DeleteClusterResult> deleteClusterAsync(DeleteClusterRequest deleteClusterRequest)
Delete an elastic cluster.
deleteClusterRequest
- Future<DeleteClusterResult> deleteClusterAsync(DeleteClusterRequest deleteClusterRequest, AsyncHandler<DeleteClusterRequest,DeleteClusterResult> asyncHandler)
Delete an elastic cluster.
deleteClusterRequest
- asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.Future<DeleteClusterSnapshotResult> deleteClusterSnapshotAsync(DeleteClusterSnapshotRequest deleteClusterSnapshotRequest)
Delete an elastic cluster snapshot.
deleteClusterSnapshotRequest
- Future<DeleteClusterSnapshotResult> deleteClusterSnapshotAsync(DeleteClusterSnapshotRequest deleteClusterSnapshotRequest, AsyncHandler<DeleteClusterSnapshotRequest,DeleteClusterSnapshotResult> asyncHandler)
Delete an elastic cluster snapshot.
deleteClusterSnapshotRequest
- asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.Future<GetClusterResult> getClusterAsync(GetClusterRequest getClusterRequest)
Returns information about a specific elastic cluster.
getClusterRequest
- Future<GetClusterResult> getClusterAsync(GetClusterRequest getClusterRequest, AsyncHandler<GetClusterRequest,GetClusterResult> asyncHandler)
Returns information about a specific elastic cluster.
getClusterRequest
- asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.Future<GetClusterSnapshotResult> getClusterSnapshotAsync(GetClusterSnapshotRequest getClusterSnapshotRequest)
Returns information about a specific elastic cluster snapshot
getClusterSnapshotRequest
- Future<GetClusterSnapshotResult> getClusterSnapshotAsync(GetClusterSnapshotRequest getClusterSnapshotRequest, AsyncHandler<GetClusterSnapshotRequest,GetClusterSnapshotResult> asyncHandler)
Returns information about a specific elastic cluster snapshot
getClusterSnapshotRequest
- asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.Future<ListClusterSnapshotsResult> listClusterSnapshotsAsync(ListClusterSnapshotsRequest listClusterSnapshotsRequest)
Returns information about snapshots for a specified elastic cluster.
listClusterSnapshotsRequest
- Future<ListClusterSnapshotsResult> listClusterSnapshotsAsync(ListClusterSnapshotsRequest listClusterSnapshotsRequest, AsyncHandler<ListClusterSnapshotsRequest,ListClusterSnapshotsResult> asyncHandler)
Returns information about snapshots for a specified elastic cluster.
listClusterSnapshotsRequest
- asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.Future<ListClustersResult> listClustersAsync(ListClustersRequest listClustersRequest)
Returns information about provisioned Amazon DocumentDB elastic clusters.
listClustersRequest
- Future<ListClustersResult> listClustersAsync(ListClustersRequest listClustersRequest, AsyncHandler<ListClustersRequest,ListClustersResult> asyncHandler)
Returns information about provisioned Amazon DocumentDB elastic clusters.
listClustersRequest
- asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.Future<ListTagsForResourceResult> listTagsForResourceAsync(ListTagsForResourceRequest listTagsForResourceRequest)
Lists all tags on a elastic cluster resource
listTagsForResourceRequest
- Future<ListTagsForResourceResult> listTagsForResourceAsync(ListTagsForResourceRequest listTagsForResourceRequest, AsyncHandler<ListTagsForResourceRequest,ListTagsForResourceResult> asyncHandler)
Lists all tags on a elastic cluster resource
listTagsForResourceRequest
- asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.Future<RestoreClusterFromSnapshotResult> restoreClusterFromSnapshotAsync(RestoreClusterFromSnapshotRequest restoreClusterFromSnapshotRequest)
Restores an elastic cluster from a snapshot.
restoreClusterFromSnapshotRequest
- Future<RestoreClusterFromSnapshotResult> restoreClusterFromSnapshotAsync(RestoreClusterFromSnapshotRequest restoreClusterFromSnapshotRequest, AsyncHandler<RestoreClusterFromSnapshotRequest,RestoreClusterFromSnapshotResult> asyncHandler)
Restores an elastic cluster from a snapshot.
restoreClusterFromSnapshotRequest
- asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.Future<StartClusterResult> startClusterAsync(StartClusterRequest startClusterRequest)
Restarts the stopped elastic cluster that is specified by clusterARN
.
startClusterRequest
- Future<StartClusterResult> startClusterAsync(StartClusterRequest startClusterRequest, AsyncHandler<StartClusterRequest,StartClusterResult> asyncHandler)
Restarts the stopped elastic cluster that is specified by clusterARN
.
startClusterRequest
- asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.Future<StopClusterResult> stopClusterAsync(StopClusterRequest stopClusterRequest)
Stops the running elastic cluster that is specified by clusterArn
. The elastic cluster must be in
the available state.
stopClusterRequest
- Future<StopClusterResult> stopClusterAsync(StopClusterRequest stopClusterRequest, AsyncHandler<StopClusterRequest,StopClusterResult> asyncHandler)
Stops the running elastic cluster that is specified by clusterArn
. The elastic cluster must be in
the available state.
stopClusterRequest
- asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.Future<TagResourceResult> tagResourceAsync(TagResourceRequest tagResourceRequest)
Adds metadata tags to an elastic cluster resource
tagResourceRequest
- Future<TagResourceResult> tagResourceAsync(TagResourceRequest tagResourceRequest, AsyncHandler<TagResourceRequest,TagResourceResult> asyncHandler)
Adds metadata tags to an elastic cluster resource
tagResourceRequest
- asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.Future<UntagResourceResult> untagResourceAsync(UntagResourceRequest untagResourceRequest)
Removes metadata tags from an elastic cluster resource
untagResourceRequest
- Future<UntagResourceResult> untagResourceAsync(UntagResourceRequest untagResourceRequest, AsyncHandler<UntagResourceRequest,UntagResourceResult> asyncHandler)
Removes metadata tags from an elastic cluster resource
untagResourceRequest
- asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.Future<UpdateClusterResult> updateClusterAsync(UpdateClusterRequest updateClusterRequest)
Modifies an elastic cluster. This includes updating admin-username/password, upgrading the API version, and setting up a backup window and maintenance window
updateClusterRequest
- Future<UpdateClusterResult> updateClusterAsync(UpdateClusterRequest updateClusterRequest, AsyncHandler<UpdateClusterRequest,UpdateClusterResult> asyncHandler)
Modifies an elastic cluster. This includes updating admin-username/password, upgrading the API version, and setting up a backup window and maintenance window
updateClusterRequest
- asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.