@ThreadSafe @Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AmazonDocDBElasticAsyncClient extends AmazonDocDBElasticClient implements AmazonDocDBElasticAsync
AsyncHandler can be used to receive
notification when an asynchronous operation completes.
The new Amazon Elastic DocumentDB service endpoint.
LOGGING_AWS_REQUEST_METRICENDPOINT_PREFIXbuilder, createCluster, createClusterSnapshot, deleteCluster, deleteClusterSnapshot, getCachedResponseMetadata, getCluster, getClusterSnapshot, listClusters, listClusterSnapshots, listTagsForResource, restoreClusterFromSnapshot, tagResource, untagResource, updateClusteraddRequestHandler, addRequestHandler, configureRegion, getClientConfiguration, getEndpointPrefix, getMonitoringListeners, getRequestMetricsCollector, getServiceName, getSignerByURI, getSignerOverride, getSignerRegionOverride, getTimeOffset, makeImmutable, removeRequestHandler, removeRequestHandler, setEndpoint, setEndpoint, setRegion, setServiceNameIntern, setSignerRegionOverride, setTimeOffset, withEndpoint, withRegion, withRegion, withTimeOffsetequals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcreateCluster, createClusterSnapshot, deleteCluster, deleteClusterSnapshot, getCachedResponseMetadata, getCluster, getClusterSnapshot, listClusters, listClusterSnapshots, listTagsForResource, restoreClusterFromSnapshot, tagResource, untagResource, updateClusterpublic static AmazonDocDBElasticAsyncClientBuilder asyncBuilder()
public ExecutorService getExecutorService()
public Future<CreateClusterResult> createClusterAsync(CreateClusterRequest request)
AmazonDocDBElasticAsyncCreates a new Elastic DocumentDB cluster and returns its Cluster structure.
createClusterAsync in interface AmazonDocDBElasticAsyncpublic Future<CreateClusterResult> createClusterAsync(CreateClusterRequest request, AsyncHandler<CreateClusterRequest,CreateClusterResult> asyncHandler)
AmazonDocDBElasticAsyncCreates a new Elastic DocumentDB cluster and returns its Cluster structure.
createClusterAsync in interface AmazonDocDBElasticAsyncasyncHandler - 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.public Future<CreateClusterSnapshotResult> createClusterSnapshotAsync(CreateClusterSnapshotRequest request)
AmazonDocDBElasticAsyncCreates a snapshot of a cluster.
createClusterSnapshotAsync in interface AmazonDocDBElasticAsyncpublic Future<CreateClusterSnapshotResult> createClusterSnapshotAsync(CreateClusterSnapshotRequest request, AsyncHandler<CreateClusterSnapshotRequest,CreateClusterSnapshotResult> asyncHandler)
AmazonDocDBElasticAsyncCreates a snapshot of a cluster.
createClusterSnapshotAsync in interface AmazonDocDBElasticAsyncasyncHandler - 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.public Future<DeleteClusterResult> deleteClusterAsync(DeleteClusterRequest request)
AmazonDocDBElasticAsyncDelete a Elastic DocumentDB cluster.
deleteClusterAsync in interface AmazonDocDBElasticAsyncpublic Future<DeleteClusterResult> deleteClusterAsync(DeleteClusterRequest request, AsyncHandler<DeleteClusterRequest,DeleteClusterResult> asyncHandler)
AmazonDocDBElasticAsyncDelete a Elastic DocumentDB cluster.
deleteClusterAsync in interface AmazonDocDBElasticAsyncasyncHandler - 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.public Future<DeleteClusterSnapshotResult> deleteClusterSnapshotAsync(DeleteClusterSnapshotRequest request)
AmazonDocDBElasticAsyncDelete a Elastic DocumentDB snapshot.
deleteClusterSnapshotAsync in interface AmazonDocDBElasticAsyncpublic Future<DeleteClusterSnapshotResult> deleteClusterSnapshotAsync(DeleteClusterSnapshotRequest request, AsyncHandler<DeleteClusterSnapshotRequest,DeleteClusterSnapshotResult> asyncHandler)
AmazonDocDBElasticAsyncDelete a Elastic DocumentDB snapshot.
deleteClusterSnapshotAsync in interface AmazonDocDBElasticAsyncasyncHandler - 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.public Future<GetClusterResult> getClusterAsync(GetClusterRequest request)
AmazonDocDBElasticAsyncReturns information about a specific Elastic DocumentDB cluster.
getClusterAsync in interface AmazonDocDBElasticAsyncpublic Future<GetClusterResult> getClusterAsync(GetClusterRequest request, AsyncHandler<GetClusterRequest,GetClusterResult> asyncHandler)
AmazonDocDBElasticAsyncReturns information about a specific Elastic DocumentDB cluster.
getClusterAsync in interface AmazonDocDBElasticAsyncasyncHandler - 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.public Future<GetClusterSnapshotResult> getClusterSnapshotAsync(GetClusterSnapshotRequest request)
AmazonDocDBElasticAsyncReturns information about a specific Elastic DocumentDB snapshot
getClusterSnapshotAsync in interface AmazonDocDBElasticAsyncpublic Future<GetClusterSnapshotResult> getClusterSnapshotAsync(GetClusterSnapshotRequest request, AsyncHandler<GetClusterSnapshotRequest,GetClusterSnapshotResult> asyncHandler)
AmazonDocDBElasticAsyncReturns information about a specific Elastic DocumentDB snapshot
getClusterSnapshotAsync in interface AmazonDocDBElasticAsyncasyncHandler - 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.public Future<ListClusterSnapshotsResult> listClusterSnapshotsAsync(ListClusterSnapshotsRequest request)
AmazonDocDBElasticAsyncReturns information about Elastic DocumentDB snapshots for a specified cluster.
listClusterSnapshotsAsync in interface AmazonDocDBElasticAsyncpublic Future<ListClusterSnapshotsResult> listClusterSnapshotsAsync(ListClusterSnapshotsRequest request, AsyncHandler<ListClusterSnapshotsRequest,ListClusterSnapshotsResult> asyncHandler)
AmazonDocDBElasticAsyncReturns information about Elastic DocumentDB snapshots for a specified cluster.
listClusterSnapshotsAsync in interface AmazonDocDBElasticAsyncasyncHandler - 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.public Future<ListClustersResult> listClustersAsync(ListClustersRequest request)
AmazonDocDBElasticAsyncReturns information about provisioned Elastic DocumentDB clusters.
listClustersAsync in interface AmazonDocDBElasticAsyncpublic Future<ListClustersResult> listClustersAsync(ListClustersRequest request, AsyncHandler<ListClustersRequest,ListClustersResult> asyncHandler)
AmazonDocDBElasticAsyncReturns information about provisioned Elastic DocumentDB clusters.
listClustersAsync in interface AmazonDocDBElasticAsyncasyncHandler - 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.public Future<ListTagsForResourceResult> listTagsForResourceAsync(ListTagsForResourceRequest request)
AmazonDocDBElasticAsyncLists all tags on a Elastic DocumentDB resource
listTagsForResourceAsync in interface AmazonDocDBElasticAsyncpublic Future<ListTagsForResourceResult> listTagsForResourceAsync(ListTagsForResourceRequest request, AsyncHandler<ListTagsForResourceRequest,ListTagsForResourceResult> asyncHandler)
AmazonDocDBElasticAsyncLists all tags on a Elastic DocumentDB resource
listTagsForResourceAsync in interface AmazonDocDBElasticAsyncasyncHandler - 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.public Future<RestoreClusterFromSnapshotResult> restoreClusterFromSnapshotAsync(RestoreClusterFromSnapshotRequest request)
AmazonDocDBElasticAsyncRestores a Elastic DocumentDB cluster from a snapshot.
restoreClusterFromSnapshotAsync in interface AmazonDocDBElasticAsyncpublic Future<RestoreClusterFromSnapshotResult> restoreClusterFromSnapshotAsync(RestoreClusterFromSnapshotRequest request, AsyncHandler<RestoreClusterFromSnapshotRequest,RestoreClusterFromSnapshotResult> asyncHandler)
AmazonDocDBElasticAsyncRestores a Elastic DocumentDB cluster from a snapshot.
restoreClusterFromSnapshotAsync in interface AmazonDocDBElasticAsyncasyncHandler - 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.public Future<TagResourceResult> tagResourceAsync(TagResourceRequest request)
AmazonDocDBElasticAsyncAdds metadata tags to a Elastic DocumentDB resource
tagResourceAsync in interface AmazonDocDBElasticAsyncpublic Future<TagResourceResult> tagResourceAsync(TagResourceRequest request, AsyncHandler<TagResourceRequest,TagResourceResult> asyncHandler)
AmazonDocDBElasticAsyncAdds metadata tags to a Elastic DocumentDB resource
tagResourceAsync in interface AmazonDocDBElasticAsyncasyncHandler - 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.public Future<UntagResourceResult> untagResourceAsync(UntagResourceRequest request)
AmazonDocDBElasticAsyncRemoves metadata tags to a Elastic DocumentDB resource
untagResourceAsync in interface AmazonDocDBElasticAsyncpublic Future<UntagResourceResult> untagResourceAsync(UntagResourceRequest request, AsyncHandler<UntagResourceRequest,UntagResourceResult> asyncHandler)
AmazonDocDBElasticAsyncRemoves metadata tags to a Elastic DocumentDB resource
untagResourceAsync in interface AmazonDocDBElasticAsyncasyncHandler - 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.public Future<UpdateClusterResult> updateClusterAsync(UpdateClusterRequest request)
AmazonDocDBElasticAsyncModifies a Elastic DocumentDB cluster. This includes updating admin-username/password, upgrading API version setting up a backup window and maintenance window
updateClusterAsync in interface AmazonDocDBElasticAsyncpublic Future<UpdateClusterResult> updateClusterAsync(UpdateClusterRequest request, AsyncHandler<UpdateClusterRequest,UpdateClusterResult> asyncHandler)
AmazonDocDBElasticAsyncModifies a Elastic DocumentDB cluster. This includes updating admin-username/password, upgrading API version setting up a backup window and maintenance window
updateClusterAsync in interface AmazonDocDBElasticAsyncasyncHandler - 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.public void shutdown()
getExecutorService().shutdown() followed by getExecutorService().awaitTermination() prior to
calling this method.shutdown in interface AmazonDocDBElasticshutdown in class AmazonDocDBElasticClient