@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
LOGGING_AWS_REQUEST_METRIC
ENDPOINT_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, putAlternateContact
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
deleteAlternateContact, getAlternateContact, getCachedResponseMetadata, putAlternateContact
public static AWSAccountAsyncClientBuilder asyncBuilder()
public ExecutorService getExecutorService()
public Future<DeleteAlternateContactResult> deleteAlternateContactAsync(DeleteAlternateContactRequest request)
AWSAccountAsync
Deletes 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 AWSAccountAsync
public Future<DeleteAlternateContactResult> deleteAlternateContactAsync(DeleteAlternateContactRequest request, AsyncHandler<DeleteAlternateContactRequest,DeleteAlternateContactResult> asyncHandler)
AWSAccountAsync
Deletes 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 AWSAccountAsync
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<GetAlternateContactResult> getAlternateContactAsync(GetAlternateContactRequest request)
AWSAccountAsync
Retrieves 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 AWSAccountAsync
public Future<GetAlternateContactResult> getAlternateContactAsync(GetAlternateContactRequest request, AsyncHandler<GetAlternateContactRequest,GetAlternateContactResult> asyncHandler)
AWSAccountAsync
Retrieves 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 AWSAccountAsync
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<PutAlternateContactResult> putAlternateContactAsync(PutAlternateContactRequest request)
AWSAccountAsync
Modifies 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 AWSAccountAsync
public Future<PutAlternateContactResult> putAlternateContactAsync(PutAlternateContactRequest request, AsyncHandler<PutAlternateContactRequest,PutAlternateContactResult> asyncHandler)
AWSAccountAsync
Modifies 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 AWSAccountAsync
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 AWSAccount
shutdown
in class AWSAccountClient