@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.
The new Amazon Elastic DocumentDB service endpoint.
ENDPOINT_PREFIX
createCluster, createClusterSnapshot, deleteCluster, deleteClusterSnapshot, getCachedResponseMetadata, getCluster, getClusterSnapshot, listClusters, listClusterSnapshots, listTagsForResource, restoreClusterFromSnapshot, shutdown, tagResource, untagResource, updateCluster
Future<CreateClusterResult> createClusterAsync(CreateClusterRequest createClusterRequest)
Creates a new Elastic DocumentDB cluster and returns its Cluster structure.
createClusterRequest
- Future<CreateClusterResult> createClusterAsync(CreateClusterRequest createClusterRequest, AsyncHandler<CreateClusterRequest,CreateClusterResult> asyncHandler)
Creates a new Elastic DocumentDB 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 a cluster.
createClusterSnapshotRequest
- Future<CreateClusterSnapshotResult> createClusterSnapshotAsync(CreateClusterSnapshotRequest createClusterSnapshotRequest, AsyncHandler<CreateClusterSnapshotRequest,CreateClusterSnapshotResult> asyncHandler)
Creates a snapshot of a 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 a Elastic DocumentDB cluster.
deleteClusterRequest
- Future<DeleteClusterResult> deleteClusterAsync(DeleteClusterRequest deleteClusterRequest, AsyncHandler<DeleteClusterRequest,DeleteClusterResult> asyncHandler)
Delete a Elastic DocumentDB 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 a Elastic DocumentDB snapshot.
deleteClusterSnapshotRequest
- Future<DeleteClusterSnapshotResult> deleteClusterSnapshotAsync(DeleteClusterSnapshotRequest deleteClusterSnapshotRequest, AsyncHandler<DeleteClusterSnapshotRequest,DeleteClusterSnapshotResult> asyncHandler)
Delete a Elastic DocumentDB 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 DocumentDB cluster.
getClusterRequest
- Future<GetClusterResult> getClusterAsync(GetClusterRequest getClusterRequest, AsyncHandler<GetClusterRequest,GetClusterResult> asyncHandler)
Returns information about a specific Elastic DocumentDB 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 DocumentDB snapshot
getClusterSnapshotRequest
- Future<GetClusterSnapshotResult> getClusterSnapshotAsync(GetClusterSnapshotRequest getClusterSnapshotRequest, AsyncHandler<GetClusterSnapshotRequest,GetClusterSnapshotResult> asyncHandler)
Returns information about a specific Elastic DocumentDB 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 Elastic DocumentDB snapshots for a specified cluster.
listClusterSnapshotsRequest
- Future<ListClusterSnapshotsResult> listClusterSnapshotsAsync(ListClusterSnapshotsRequest listClusterSnapshotsRequest, AsyncHandler<ListClusterSnapshotsRequest,ListClusterSnapshotsResult> asyncHandler)
Returns information about Elastic DocumentDB snapshots for a specified 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 Elastic DocumentDB clusters.
listClustersRequest
- Future<ListClustersResult> listClustersAsync(ListClustersRequest listClustersRequest, AsyncHandler<ListClustersRequest,ListClustersResult> asyncHandler)
Returns information about provisioned Elastic DocumentDB 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 DocumentDB resource
listTagsForResourceRequest
- Future<ListTagsForResourceResult> listTagsForResourceAsync(ListTagsForResourceRequest listTagsForResourceRequest, AsyncHandler<ListTagsForResourceRequest,ListTagsForResourceResult> asyncHandler)
Lists all tags on a Elastic DocumentDB 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 a Elastic DocumentDB cluster from a snapshot.
restoreClusterFromSnapshotRequest
- Future<RestoreClusterFromSnapshotResult> restoreClusterFromSnapshotAsync(RestoreClusterFromSnapshotRequest restoreClusterFromSnapshotRequest, AsyncHandler<RestoreClusterFromSnapshotRequest,RestoreClusterFromSnapshotResult> asyncHandler)
Restores a Elastic DocumentDB 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<TagResourceResult> tagResourceAsync(TagResourceRequest tagResourceRequest)
Adds metadata tags to a Elastic DocumentDB resource
tagResourceRequest
- Future<TagResourceResult> tagResourceAsync(TagResourceRequest tagResourceRequest, AsyncHandler<TagResourceRequest,TagResourceResult> asyncHandler)
Adds metadata tags to a Elastic DocumentDB 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 to a Elastic DocumentDB resource
untagResourceRequest
- Future<UntagResourceResult> untagResourceAsync(UntagResourceRequest untagResourceRequest, AsyncHandler<UntagResourceRequest,UntagResourceResult> asyncHandler)
Removes metadata tags to a Elastic DocumentDB 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 a Elastic DocumentDB cluster. This includes updating admin-username/password, upgrading API version setting up a backup window and maintenance window
updateClusterRequest
- Future<UpdateClusterResult> updateClusterAsync(UpdateClusterRequest updateClusterRequest, AsyncHandler<UpdateClusterRequest,UpdateClusterResult> asyncHandler)
Modifies a Elastic DocumentDB cluster. This includes updating admin-username/password, upgrading API version 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.