@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
builder, createJob, deletePublicAccessBlock, describeJob, getCachedResponseMetadata, getPublicAccessBlock, listJobs, putPublicAccessBlock, updateJobPriority, updateJobStatus
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
createJob, deletePublicAccessBlock, describeJob, getCachedResponseMetadata, getPublicAccessBlock, listJobs, putPublicAccessBlock, updateJobPriority, updateJobStatus
public static AWSS3ControlAsyncClientBuilder asyncBuilder()
public ExecutorService getExecutorService()
public Future<CreateJobResult> createJobAsync(CreateJobRequest request)
AWSS3ControlAsync
Creates an Amazon S3 batch operations job.
createJobAsync
in interface AWSS3ControlAsync
public Future<CreateJobResult> createJobAsync(CreateJobRequest request, AsyncHandler<CreateJobRequest,CreateJobResult> asyncHandler)
AWSS3ControlAsync
Creates an Amazon S3 batch operations job.
createJobAsync
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<DeletePublicAccessBlockResult> deletePublicAccessBlockAsync(DeletePublicAccessBlockRequest request)
AWSS3ControlAsync
Deletes the block public access configuration for the specified account.
deletePublicAccessBlockAsync
in interface AWSS3ControlAsync
public Future<DeletePublicAccessBlockResult> deletePublicAccessBlockAsync(DeletePublicAccessBlockRequest request, AsyncHandler<DeletePublicAccessBlockRequest,DeletePublicAccessBlockResult> asyncHandler)
AWSS3ControlAsync
Deletes the block public access configuration for the specified 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<DescribeJobResult> describeJobAsync(DescribeJobRequest request)
AWSS3ControlAsync
Retrieves the configuration parameters and status for a batch operations job.
describeJobAsync
in interface AWSS3ControlAsync
public Future<DescribeJobResult> describeJobAsync(DescribeJobRequest request, AsyncHandler<DescribeJobRequest,DescribeJobResult> asyncHandler)
AWSS3ControlAsync
Retrieves the configuration parameters and status for a batch operations job.
describeJobAsync
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
getPublicAccessBlockAsync
in interface AWSS3ControlAsync
public Future<GetPublicAccessBlockResult> getPublicAccessBlockAsync(GetPublicAccessBlockRequest request, AsyncHandler<GetPublicAccessBlockRequest,GetPublicAccessBlockResult> asyncHandler)
AWSS3ControlAsync
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<ListJobsResult> listJobsAsync(ListJobsRequest request)
AWSS3ControlAsync
Lists current jobs and jobs that have ended within the last 30 days for the AWS account making the request.
listJobsAsync
in interface AWSS3ControlAsync
public Future<ListJobsResult> listJobsAsync(ListJobsRequest request, AsyncHandler<ListJobsRequest,ListJobsResult> asyncHandler)
AWSS3ControlAsync
Lists current jobs and jobs that have ended within the last 30 days for the AWS account making the request.
listJobsAsync
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
putPublicAccessBlockAsync
in interface AWSS3ControlAsync
public Future<PutPublicAccessBlockResult> putPublicAccessBlockAsync(PutPublicAccessBlockRequest request, AsyncHandler<PutPublicAccessBlockRequest,PutPublicAccessBlockResult> asyncHandler)
AWSS3ControlAsync
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 Future<UpdateJobPriorityResult> updateJobPriorityAsync(UpdateJobPriorityRequest request)
AWSS3ControlAsync
Updates an existing job's priority.
updateJobPriorityAsync
in interface AWSS3ControlAsync
public Future<UpdateJobPriorityResult> updateJobPriorityAsync(UpdateJobPriorityRequest request, AsyncHandler<UpdateJobPriorityRequest,UpdateJobPriorityResult> asyncHandler)
AWSS3ControlAsync
Updates an existing job's priority.
updateJobPriorityAsync
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<UpdateJobStatusResult> updateJobStatusAsync(UpdateJobStatusRequest request)
AWSS3ControlAsync
Updates the status for the specified job. Use this operation to confirm that you want to run a job or to cancel an existing job.
updateJobStatusAsync
in interface AWSS3ControlAsync
public Future<UpdateJobStatusResult> updateJobStatusAsync(UpdateJobStatusRequest request, AsyncHandler<UpdateJobStatusRequest,UpdateJobStatusResult> asyncHandler)
AWSS3ControlAsync
Updates the status for the specified job. Use this operation to confirm that you want to run a job or to cancel an existing job.
updateJobStatusAsync
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.