@ThreadSafe @Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AWSS3ControlAsyncClient extends AWSS3ControlClient implements AWSS3ControlAsync
AsyncHandler can be used to receive
notification when an asynchronous operation completes.
AWS S3 Control provides access to Amazon S3 control plane operations.
LOGGING_AWS_REQUEST_METRICENDPOINT_PREFIX| Modifier and Type | Method and Description |
|---|---|
static AWSS3ControlAsyncClientBuilder |
asyncBuilder() |
Future<DeletePublicAccessBlockResult> |
deletePublicAccessBlockAsync(DeletePublicAccessBlockRequest request)
Removes the Public Access Block configuration for an Amazon Web Services account.
|
Future<DeletePublicAccessBlockResult> |
deletePublicAccessBlockAsync(DeletePublicAccessBlockRequest request,
AsyncHandler<DeletePublicAccessBlockRequest,DeletePublicAccessBlockResult> asyncHandler)
Removes the Public Access Block configuration for an Amazon Web Services account.
|
ExecutorService |
getExecutorService()
Returns the executor service used by this client to execute async requests.
|
Future<GetPublicAccessBlockResult> |
getPublicAccessBlockAsync(GetPublicAccessBlockRequest request)
Retrieves the Public Access Block configuration for an Amazon Web Services account.
|
Future<GetPublicAccessBlockResult> |
getPublicAccessBlockAsync(GetPublicAccessBlockRequest request,
AsyncHandler<GetPublicAccessBlockRequest,GetPublicAccessBlockResult> asyncHandler)
Retrieves the Public Access Block configuration for an Amazon Web Services account.
|
Future<PutPublicAccessBlockResult> |
putPublicAccessBlockAsync(PutPublicAccessBlockRequest request)
Creates or modifies the Public Access Block configuration for an Amazon Web Services account.
|
Future<PutPublicAccessBlockResult> |
putPublicAccessBlockAsync(PutPublicAccessBlockRequest request,
AsyncHandler<PutPublicAccessBlockRequest,PutPublicAccessBlockResult> asyncHandler)
Creates or modifies the Public Access Block configuration for an Amazon Web Services account.
|
void |
shutdown()
Shuts down the client, releasing all managed resources.
|
builder, deletePublicAccessBlock, getCachedResponseMetadata, getPublicAccessBlock, putPublicAccessBlockaddRequestHandler, 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, waitdeletePublicAccessBlock, getCachedResponseMetadata, getPublicAccessBlock, putPublicAccessBlockpublic static AWSS3ControlAsyncClientBuilder asyncBuilder()
public ExecutorService getExecutorService()
public Future<DeletePublicAccessBlockResult> deletePublicAccessBlockAsync(DeletePublicAccessBlockRequest request)
AWSS3ControlAsyncRemoves the Public Access Block configuration for an Amazon Web Services account.
deletePublicAccessBlockAsync in interface AWSS3ControlAsyncpublic Future<DeletePublicAccessBlockResult> deletePublicAccessBlockAsync(DeletePublicAccessBlockRequest request, AsyncHandler<DeletePublicAccessBlockRequest,DeletePublicAccessBlockResult> asyncHandler)
AWSS3ControlAsyncRemoves the Public Access Block configuration for an Amazon Web Services account.
deletePublicAccessBlockAsync in interface AWSS3ControlAsyncasyncHandler - 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<GetPublicAccessBlockResult> getPublicAccessBlockAsync(GetPublicAccessBlockRequest request)
AWSS3ControlAsyncRetrieves the Public Access Block configuration for an Amazon Web Services account.
getPublicAccessBlockAsync in interface AWSS3ControlAsyncpublic Future<GetPublicAccessBlockResult> getPublicAccessBlockAsync(GetPublicAccessBlockRequest request, AsyncHandler<GetPublicAccessBlockRequest,GetPublicAccessBlockResult> asyncHandler)
AWSS3ControlAsyncRetrieves the Public Access Block configuration for an Amazon Web Services account.
getPublicAccessBlockAsync in interface AWSS3ControlAsyncasyncHandler - 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<PutPublicAccessBlockResult> putPublicAccessBlockAsync(PutPublicAccessBlockRequest request)
AWSS3ControlAsyncCreates or modifies the Public Access Block configuration for an Amazon Web Services account.
putPublicAccessBlockAsync in interface AWSS3ControlAsyncpublic Future<PutPublicAccessBlockResult> putPublicAccessBlockAsync(PutPublicAccessBlockRequest request, AsyncHandler<PutPublicAccessBlockRequest,PutPublicAccessBlockResult> asyncHandler)
AWSS3ControlAsyncCreates or modifies the Public Access Block configuration for an Amazon Web Services account.
putPublicAccessBlockAsync in interface AWSS3ControlAsyncasyncHandler - 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 AWSS3Controlshutdown in class AmazonWebServiceClientCopyright © 2013 Amazon Web Services, Inc. All Rights Reserved.