@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_METRIC
ENDPOINT_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, putPublicAccessBlock
addRequestHandler, addRequestHandler, configureRegion, getClientConfiguration, getEndpointPrefix, getMonitoringListeners, getRequestMetricsCollector, getServiceName, getSignerByURI, getSignerOverride, getSignerRegionOverride, getTimeOffset, makeImmutable, removeRequestHandler, removeRequestHandler, setEndpoint, setEndpoint, setRegion, setServiceNameIntern, setSignerRegionOverride, setTimeOffset, withEndpoint, withRegion, withRegion, withTimeOffset
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
deletePublicAccessBlock, getCachedResponseMetadata, getPublicAccessBlock, putPublicAccessBlock
public static AWSS3ControlAsyncClientBuilder asyncBuilder()
public ExecutorService getExecutorService()
public Future<DeletePublicAccessBlockResult> deletePublicAccessBlockAsync(DeletePublicAccessBlockRequest request)
AWSS3ControlAsync
Removes the Public Access Block configuration for an Amazon Web Services account.
deletePublicAccessBlockAsync
in interface AWSS3ControlAsync
public Future<DeletePublicAccessBlockResult> deletePublicAccessBlockAsync(DeletePublicAccessBlockRequest request, AsyncHandler<DeletePublicAccessBlockRequest,DeletePublicAccessBlockResult> asyncHandler)
AWSS3ControlAsync
Removes the Public Access Block configuration for an Amazon Web Services account.
deletePublicAccessBlockAsync
in interface AWSS3ControlAsync
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.public Future<GetPublicAccessBlockResult> getPublicAccessBlockAsync(GetPublicAccessBlockRequest request)
AWSS3ControlAsync
Retrieves the Public Access Block configuration for an Amazon Web Services account.
getPublicAccessBlockAsync
in interface AWSS3ControlAsync
public Future<GetPublicAccessBlockResult> getPublicAccessBlockAsync(GetPublicAccessBlockRequest request, AsyncHandler<GetPublicAccessBlockRequest,GetPublicAccessBlockResult> asyncHandler)
AWSS3ControlAsync
Retrieves the Public Access Block configuration for an Amazon Web Services account.
getPublicAccessBlockAsync
in interface AWSS3ControlAsync
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.public Future<PutPublicAccessBlockResult> putPublicAccessBlockAsync(PutPublicAccessBlockRequest request)
AWSS3ControlAsync
Creates or modifies the Public Access Block configuration for an Amazon Web Services account.
putPublicAccessBlockAsync
in interface AWSS3ControlAsync
public Future<PutPublicAccessBlockResult> putPublicAccessBlockAsync(PutPublicAccessBlockRequest request, AsyncHandler<PutPublicAccessBlockRequest,PutPublicAccessBlockResult> asyncHandler)
AWSS3ControlAsync
Creates or modifies the Public Access Block configuration for an Amazon Web Services account.
putPublicAccessBlockAsync
in interface AWSS3ControlAsync
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.public void shutdown()
getExecutorService().shutdown()
followed by getExecutorService().awaitTermination()
prior to
calling this method.shutdown
in interface AWSS3Control
shutdown
in class AmazonWebServiceClient
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.