@ThreadSafe @Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AWSAccountAsyncClient extends AWSAccountClient implements AWSAccountAsync
AsyncHandler can be used to receive
notification when an asynchronous operation completes.
Operations for Amazon Web Services Account Management
configFactoryclient, clientConfiguration, endpoint, isEndpointOverridden, LOGGING_AWS_REQUEST_METRIC, requestHandler2s, timeOffsetENDPOINT_PREFIX| Modifier and Type | Method and Description |
|---|---|
static AWSAccountAsyncClientBuilder |
asyncBuilder() |
Future<DeleteAlternateContactResult> |
deleteAlternateContactAsync(DeleteAlternateContactRequest request)
Deletes the specified alternate contact from an Amazon Web Services account.
|
Future<DeleteAlternateContactResult> |
deleteAlternateContactAsync(DeleteAlternateContactRequest request,
AsyncHandler<DeleteAlternateContactRequest,DeleteAlternateContactResult> asyncHandler)
Deletes the specified alternate contact from an Amazon Web Services account.
|
Future<GetAlternateContactResult> |
getAlternateContactAsync(GetAlternateContactRequest request)
Retrieves the specified alternate contact attached to an Amazon Web Services account.
|
Future<GetAlternateContactResult> |
getAlternateContactAsync(GetAlternateContactRequest request,
AsyncHandler<GetAlternateContactRequest,GetAlternateContactResult> asyncHandler)
Retrieves the specified alternate contact attached to an Amazon Web Services account.
|
ExecutorService |
getExecutorService()
Returns the executor service used by this client to execute async requests.
|
Future<PutAlternateContactResult> |
putAlternateContactAsync(PutAlternateContactRequest request)
Modifies the specified alternate contact attached to an Amazon Web Services account.
|
Future<PutAlternateContactResult> |
putAlternateContactAsync(PutAlternateContactRequest request,
AsyncHandler<PutAlternateContactRequest,PutAlternateContactResult> asyncHandler)
Modifies the specified alternate contact attached to an Amazon Web Services account.
|
void |
shutdown()
Shuts down the client, releasing all managed resources.
|
builder, deleteAlternateContact, getAlternateContact, getCachedResponseMetadata, putAlternateContactaddRequestHandler, addRequestHandler, beforeClientExecution, beforeMarshalling, calculateCRC32FromCompressedData, checkMutability, configureRegion, createExecutionContext, createExecutionContext, createExecutionContext, createSignerProvider, endClientExecution, endClientExecution, getClientConfiguration, getClientId, getEndpointPrefix, getMonitoringListeners, getRequestMetricsCollector, getServiceAbbreviation, getServiceName, getServiceNameIntern, getSigner, getSignerByURI, getSignerOverride, getSignerProvider, getSignerRegionOverride, getSigningRegion, getTimeOffset, isCsmEnabled, isEndpointOverridden, isProfilingEnabled, isRequestMetricsEnabled, makeImmutable, removeRequestHandler, removeRequestHandler, requestMetricCollector, setEndpoint, setEndpoint, setEndpointPrefix, setRegion, setServiceNameIntern, setSignerRegionOverride, setTimeOffset, shouldGenerateClientSideMonitoringEvents, useStrictHostNameVerification, withEndpoint, withRegion, withRegion, withTimeOffsetclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitdeleteAlternateContact, getAlternateContact, getCachedResponseMetadata, putAlternateContactpublic static AWSAccountAsyncClientBuilder asyncBuilder()
public ExecutorService getExecutorService()
public Future<DeleteAlternateContactResult> deleteAlternateContactAsync(DeleteAlternateContactRequest request)
AWSAccountAsyncDeletes the specified alternate contact from an Amazon Web Services account.
For complete details about how to use the alternate contact operations, see Access or updating the alternate contacts.
deleteAlternateContactAsync in interface AWSAccountAsyncpublic Future<DeleteAlternateContactResult> deleteAlternateContactAsync(DeleteAlternateContactRequest request, AsyncHandler<DeleteAlternateContactRequest,DeleteAlternateContactResult> asyncHandler)
AWSAccountAsyncDeletes the specified alternate contact from an Amazon Web Services account.
For complete details about how to use the alternate contact operations, see Access or updating the alternate contacts.
deleteAlternateContactAsync in interface AWSAccountAsyncasyncHandler - 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<GetAlternateContactResult> getAlternateContactAsync(GetAlternateContactRequest request)
AWSAccountAsyncRetrieves the specified alternate contact attached to an Amazon Web Services account.
For complete details about how to use the alternate contact operations, see Access or updating the alternate contacts.
getAlternateContactAsync in interface AWSAccountAsyncpublic Future<GetAlternateContactResult> getAlternateContactAsync(GetAlternateContactRequest request, AsyncHandler<GetAlternateContactRequest,GetAlternateContactResult> asyncHandler)
AWSAccountAsyncRetrieves the specified alternate contact attached to an Amazon Web Services account.
For complete details about how to use the alternate contact operations, see Access or updating the alternate contacts.
getAlternateContactAsync in interface AWSAccountAsyncasyncHandler - 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<PutAlternateContactResult> putAlternateContactAsync(PutAlternateContactRequest request)
AWSAccountAsyncModifies the specified alternate contact attached to an Amazon Web Services account.
For complete details about how to use the alternate contact operations, see Access or updating the alternate contacts.
putAlternateContactAsync in interface AWSAccountAsyncpublic Future<PutAlternateContactResult> putAlternateContactAsync(PutAlternateContactRequest request, AsyncHandler<PutAlternateContactRequest,PutAlternateContactResult> asyncHandler)
AWSAccountAsyncModifies the specified alternate contact attached to an Amazon Web Services account.
For complete details about how to use the alternate contact operations, see Access or updating the alternate contacts.
putAlternateContactAsync in interface AWSAccountAsyncasyncHandler - 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 AWSAccountshutdown in class AWSAccountClientCopyright © 2022. All rights reserved.