@ThreadSafe @Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AWSBackupStorageAsyncClient extends AWSBackupStorageClient implements AWSBackupStorageAsync
AsyncHandler can be used to receive
notification when an asynchronous operation completes.
The frontend service for Cryo Storage.
LOGGING_AWS_REQUEST_METRICENDPOINT_PREFIXbuilder, deleteObject, getCachedResponseMetadata, getChunk, getObjectMetadata, listChunks, listObjects, notifyObjectComplete, putChunk, putObject, startObjectaddRequestHandler, 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, waitdeleteObject, getCachedResponseMetadata, getChunk, getObjectMetadata, listChunks, listObjects, notifyObjectComplete, putChunk, putObject, startObjectpublic static AWSBackupStorageAsyncClientBuilder asyncBuilder()
public ExecutorService getExecutorService()
public Future<DeleteObjectResult> deleteObjectAsync(DeleteObjectRequest request)
AWSBackupStorageAsyncdeleteObjectAsync in interface AWSBackupStorageAsyncpublic Future<DeleteObjectResult> deleteObjectAsync(DeleteObjectRequest request, AsyncHandler<DeleteObjectRequest,DeleteObjectResult> asyncHandler)
AWSBackupStorageAsyncdeleteObjectAsync in interface AWSBackupStorageAsyncasyncHandler - 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<GetChunkResult> getChunkAsync(GetChunkRequest request)
AWSBackupStorageAsyncgetChunkAsync in interface AWSBackupStorageAsyncpublic Future<GetChunkResult> getChunkAsync(GetChunkRequest request, AsyncHandler<GetChunkRequest,GetChunkResult> asyncHandler)
AWSBackupStorageAsyncgetChunkAsync in interface AWSBackupStorageAsyncasyncHandler - 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<GetObjectMetadataResult> getObjectMetadataAsync(GetObjectMetadataRequest request)
AWSBackupStorageAsyncgetObjectMetadataAsync in interface AWSBackupStorageAsyncpublic Future<GetObjectMetadataResult> getObjectMetadataAsync(GetObjectMetadataRequest request, AsyncHandler<GetObjectMetadataRequest,GetObjectMetadataResult> asyncHandler)
AWSBackupStorageAsyncgetObjectMetadataAsync in interface AWSBackupStorageAsyncasyncHandler - 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<ListChunksResult> listChunksAsync(ListChunksRequest request)
AWSBackupStorageAsynclistChunksAsync in interface AWSBackupStorageAsyncpublic Future<ListChunksResult> listChunksAsync(ListChunksRequest request, AsyncHandler<ListChunksRequest,ListChunksResult> asyncHandler)
AWSBackupStorageAsynclistChunksAsync in interface AWSBackupStorageAsyncasyncHandler - 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<ListObjectsResult> listObjectsAsync(ListObjectsRequest request)
AWSBackupStorageAsynclistObjectsAsync in interface AWSBackupStorageAsyncpublic Future<ListObjectsResult> listObjectsAsync(ListObjectsRequest request, AsyncHandler<ListObjectsRequest,ListObjectsResult> asyncHandler)
AWSBackupStorageAsynclistObjectsAsync in interface AWSBackupStorageAsyncasyncHandler - 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<NotifyObjectCompleteResult> notifyObjectCompleteAsync(NotifyObjectCompleteRequest request)
AWSBackupStorageAsyncnotifyObjectCompleteAsync in interface AWSBackupStorageAsyncpublic Future<NotifyObjectCompleteResult> notifyObjectCompleteAsync(NotifyObjectCompleteRequest request, AsyncHandler<NotifyObjectCompleteRequest,NotifyObjectCompleteResult> asyncHandler)
AWSBackupStorageAsyncnotifyObjectCompleteAsync in interface AWSBackupStorageAsyncasyncHandler - 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<PutChunkResult> putChunkAsync(PutChunkRequest request)
AWSBackupStorageAsyncputChunkAsync in interface AWSBackupStorageAsyncpublic Future<PutChunkResult> putChunkAsync(PutChunkRequest request, AsyncHandler<PutChunkRequest,PutChunkResult> asyncHandler)
AWSBackupStorageAsyncputChunkAsync in interface AWSBackupStorageAsyncasyncHandler - 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<PutObjectResult> putObjectAsync(PutObjectRequest request)
AWSBackupStorageAsyncputObjectAsync in interface AWSBackupStorageAsyncpublic Future<PutObjectResult> putObjectAsync(PutObjectRequest request, AsyncHandler<PutObjectRequest,PutObjectResult> asyncHandler)
AWSBackupStorageAsyncputObjectAsync in interface AWSBackupStorageAsyncasyncHandler - 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<StartObjectResult> startObjectAsync(StartObjectRequest request)
AWSBackupStorageAsyncstartObjectAsync in interface AWSBackupStorageAsyncpublic Future<StartObjectResult> startObjectAsync(StartObjectRequest request, AsyncHandler<StartObjectRequest,StartObjectResult> asyncHandler)
AWSBackupStorageAsyncstartObjectAsync in interface AWSBackupStorageAsyncasyncHandler - 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 AWSBackupStorageshutdown in class AWSBackupStorageClient