@ThreadSafe @Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AWSBudgetsAsyncClient extends AWSBudgetsClient implements AWSBudgetsAsync
AsyncHandler
can be used to receive
notification when an asynchronous operation completes.
All public APIs for AWS Budgets
LOGGING_AWS_REQUEST_METRIC
ENDPOINT_PREFIX
Constructor and Description |
---|
AWSBudgetsAsyncClient()
Deprecated.
|
AWSBudgetsAsyncClient(AWSCredentials awsCredentials)
Deprecated.
|
AWSBudgetsAsyncClient(AWSCredentials awsCredentials,
ClientConfiguration clientConfiguration,
ExecutorService executorService)
|
AWSBudgetsAsyncClient(AWSCredentials awsCredentials,
ExecutorService executorService)
|
AWSBudgetsAsyncClient(AWSCredentialsProvider awsCredentialsProvider)
Deprecated.
|
AWSBudgetsAsyncClient(AWSCredentialsProvider awsCredentialsProvider,
ClientConfiguration clientConfiguration)
|
AWSBudgetsAsyncClient(AWSCredentialsProvider awsCredentialsProvider,
ClientConfiguration clientConfiguration,
ExecutorService executorService)
|
AWSBudgetsAsyncClient(AWSCredentialsProvider awsCredentialsProvider,
ExecutorService executorService)
|
AWSBudgetsAsyncClient(ClientConfiguration clientConfiguration)
Deprecated.
|
builder, createBudget, createNotification, createSubscriber, deleteBudget, deleteNotification, deleteSubscriber, describeBudget, describeBudgets, describeNotificationsForBudget, describeSubscribersForNotification, getCachedResponseMetadata, updateBudget, updateNotification, updateSubscriber
addRequestHandler, addRequestHandler, configureRegion, getEndpointPrefix, 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
createBudget, createNotification, createSubscriber, deleteBudget, deleteNotification, deleteSubscriber, describeBudget, describeBudgets, describeNotificationsForBudget, describeSubscribersForNotification, getCachedResponseMetadata, setEndpoint, setRegion, updateBudget, updateNotification, updateSubscriber
@Deprecated public AWSBudgetsAsyncClient()
AWSBudgetsAsyncClientBuilder.defaultClient()
Asynchronous methods are delegated to a fixed-size thread pool containing 50 threads (to match the default maximum number of concurrent connections to the service).
@Deprecated public AWSBudgetsAsyncClient(ClientConfiguration clientConfiguration)
AwsClientBuilder.withClientConfiguration(ClientConfiguration)
Asynchronous methods are delegated to a fixed-size thread pool containing a number of threads equal to the
maximum number of concurrent connections configured via ClientConfiguration.getMaxConnections()
.
clientConfiguration
- The client configuration options controlling how this client connects to AWSBudgets (ex: proxy settings,
retry counts, etc).DefaultAWSCredentialsProviderChain
,
Executors.newFixedThreadPool(int)
@Deprecated public AWSBudgetsAsyncClient(AWSCredentials awsCredentials)
AwsClientBuilder.withCredentials(AWSCredentialsProvider)
Asynchronous methods are delegated to a fixed-size thread pool containing 50 threads (to match the default maximum number of concurrent connections to the service).
awsCredentials
- The AWS credentials (access key ID and secret key) to use when authenticating with AWS services.Executors.newFixedThreadPool(int)
@Deprecated public AWSBudgetsAsyncClient(AWSCredentials awsCredentials, ExecutorService executorService)
AwsClientBuilder.withCredentials(AWSCredentialsProvider)
and
AwsAsyncClientBuilder.withExecutorFactory(com.amazonaws.client.builder.ExecutorFactory)
awsCredentials
- The AWS credentials (access key ID and secret key) to use when authenticating with AWS services.executorService
- The executor service by which all asynchronous requests will be executed.@Deprecated public AWSBudgetsAsyncClient(AWSCredentials awsCredentials, ClientConfiguration clientConfiguration, ExecutorService executorService)
AwsClientBuilder.withCredentials(AWSCredentialsProvider)
and
AwsClientBuilder.withClientConfiguration(ClientConfiguration)
and
AwsAsyncClientBuilder.withExecutorFactory(com.amazonaws.client.builder.ExecutorFactory)
awsCredentials
- The AWS credentials (access key ID and secret key) to use when authenticating with AWS services.clientConfiguration
- Client configuration options (ex: max retry limit, proxy settings, etc).executorService
- The executor service by which all asynchronous requests will be executed.@Deprecated public AWSBudgetsAsyncClient(AWSCredentialsProvider awsCredentialsProvider)
AwsClientBuilder.withCredentials(AWSCredentialsProvider)
Asynchronous methods are delegated to a fixed-size thread pool containing 50 threads (to match the default maximum number of concurrent connections to the service).
awsCredentialsProvider
- The AWS credentials provider which will provide credentials to authenticate requests with AWS services.Executors.newFixedThreadPool(int)
@Deprecated public AWSBudgetsAsyncClient(AWSCredentialsProvider awsCredentialsProvider, ClientConfiguration clientConfiguration)
AwsClientBuilder.withCredentials(AWSCredentialsProvider)
and
AwsClientBuilder.withClientConfiguration(ClientConfiguration)
Asynchronous methods are delegated to a fixed-size thread pool containing a number of threads equal to the
maximum number of concurrent connections configured via ClientConfiguration.getMaxConnections()
.
awsCredentialsProvider
- The AWS credentials provider which will provide credentials to authenticate requests with AWS services.clientConfiguration
- Client configuration options (ex: max retry limit, proxy settings, etc).DefaultAWSCredentialsProviderChain
,
Executors.newFixedThreadPool(int)
@Deprecated public AWSBudgetsAsyncClient(AWSCredentialsProvider awsCredentialsProvider, ExecutorService executorService)
AwsClientBuilder.withCredentials(AWSCredentialsProvider)
and
AwsAsyncClientBuilder.withExecutorFactory(com.amazonaws.client.builder.ExecutorFactory)
awsCredentialsProvider
- The AWS credentials provider which will provide credentials to authenticate requests with AWS services.executorService
- The executor service by which all asynchronous requests will be executed.@Deprecated public AWSBudgetsAsyncClient(AWSCredentialsProvider awsCredentialsProvider, ClientConfiguration clientConfiguration, ExecutorService executorService)
AwsClientBuilder.withCredentials(AWSCredentialsProvider)
and
AwsClientBuilder.withClientConfiguration(ClientConfiguration)
and
AwsAsyncClientBuilder.withExecutorFactory(com.amazonaws.client.builder.ExecutorFactory)
awsCredentialsProvider
- The AWS credentials provider which will provide credentials to authenticate requests with AWS services.clientConfiguration
- Client configuration options (ex: max retry limit, proxy settings, etc).executorService
- The executor service by which all asynchronous requests will be executed.public static AWSBudgetsAsyncClientBuilder asyncBuilder()
public ExecutorService getExecutorService()
public Future<CreateBudgetResult> createBudgetAsync(CreateBudgetRequest request)
AWSBudgetsAsync
createBudgetAsync
in interface AWSBudgetsAsync
request
- Request of CreateBudgetpublic Future<CreateBudgetResult> createBudgetAsync(CreateBudgetRequest request, AsyncHandler<CreateBudgetRequest,CreateBudgetResult> asyncHandler)
AWSBudgetsAsync
createBudgetAsync
in interface AWSBudgetsAsync
request
- Request of CreateBudgetasyncHandler
- 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<CreateNotificationResult> createNotificationAsync(CreateNotificationRequest request)
AWSBudgetsAsync
createNotificationAsync
in interface AWSBudgetsAsync
request
- Request of CreateNotificationpublic Future<CreateNotificationResult> createNotificationAsync(CreateNotificationRequest request, AsyncHandler<CreateNotificationRequest,CreateNotificationResult> asyncHandler)
AWSBudgetsAsync
createNotificationAsync
in interface AWSBudgetsAsync
request
- Request of CreateNotificationasyncHandler
- 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<CreateSubscriberResult> createSubscriberAsync(CreateSubscriberRequest request)
AWSBudgetsAsync
createSubscriberAsync
in interface AWSBudgetsAsync
request
- Request of CreateSubscriberpublic Future<CreateSubscriberResult> createSubscriberAsync(CreateSubscriberRequest request, AsyncHandler<CreateSubscriberRequest,CreateSubscriberResult> asyncHandler)
AWSBudgetsAsync
createSubscriberAsync
in interface AWSBudgetsAsync
request
- Request of CreateSubscriberasyncHandler
- 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<DeleteBudgetResult> deleteBudgetAsync(DeleteBudgetRequest request)
AWSBudgetsAsync
deleteBudgetAsync
in interface AWSBudgetsAsync
request
- Request of DeleteBudgetpublic Future<DeleteBudgetResult> deleteBudgetAsync(DeleteBudgetRequest request, AsyncHandler<DeleteBudgetRequest,DeleteBudgetResult> asyncHandler)
AWSBudgetsAsync
deleteBudgetAsync
in interface AWSBudgetsAsync
request
- Request of DeleteBudgetasyncHandler
- 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<DeleteNotificationResult> deleteNotificationAsync(DeleteNotificationRequest request)
AWSBudgetsAsync
deleteNotificationAsync
in interface AWSBudgetsAsync
request
- Request of DeleteNotificationpublic Future<DeleteNotificationResult> deleteNotificationAsync(DeleteNotificationRequest request, AsyncHandler<DeleteNotificationRequest,DeleteNotificationResult> asyncHandler)
AWSBudgetsAsync
deleteNotificationAsync
in interface AWSBudgetsAsync
request
- Request of DeleteNotificationasyncHandler
- 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<DeleteSubscriberResult> deleteSubscriberAsync(DeleteSubscriberRequest request)
AWSBudgetsAsync
deleteSubscriberAsync
in interface AWSBudgetsAsync
request
- Request of DeleteSubscriberpublic Future<DeleteSubscriberResult> deleteSubscriberAsync(DeleteSubscriberRequest request, AsyncHandler<DeleteSubscriberRequest,DeleteSubscriberResult> asyncHandler)
AWSBudgetsAsync
deleteSubscriberAsync
in interface AWSBudgetsAsync
request
- Request of DeleteSubscriberasyncHandler
- 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<DescribeBudgetResult> describeBudgetAsync(DescribeBudgetRequest request)
AWSBudgetsAsync
describeBudgetAsync
in interface AWSBudgetsAsync
request
- Request of DescribeBudgetpublic Future<DescribeBudgetResult> describeBudgetAsync(DescribeBudgetRequest request, AsyncHandler<DescribeBudgetRequest,DescribeBudgetResult> asyncHandler)
AWSBudgetsAsync
describeBudgetAsync
in interface AWSBudgetsAsync
request
- Request of DescribeBudgetasyncHandler
- 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<DescribeBudgetsResult> describeBudgetsAsync(DescribeBudgetsRequest request)
AWSBudgetsAsync
describeBudgetsAsync
in interface AWSBudgetsAsync
request
- Request of DescribeBudgetspublic Future<DescribeBudgetsResult> describeBudgetsAsync(DescribeBudgetsRequest request, AsyncHandler<DescribeBudgetsRequest,DescribeBudgetsResult> asyncHandler)
AWSBudgetsAsync
describeBudgetsAsync
in interface AWSBudgetsAsync
request
- Request of DescribeBudgetsasyncHandler
- 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<DescribeNotificationsForBudgetResult> describeNotificationsForBudgetAsync(DescribeNotificationsForBudgetRequest request)
AWSBudgetsAsync
describeNotificationsForBudgetAsync
in interface AWSBudgetsAsync
request
- Request of DescribeNotificationsForBudgetpublic Future<DescribeNotificationsForBudgetResult> describeNotificationsForBudgetAsync(DescribeNotificationsForBudgetRequest request, AsyncHandler<DescribeNotificationsForBudgetRequest,DescribeNotificationsForBudgetResult> asyncHandler)
AWSBudgetsAsync
describeNotificationsForBudgetAsync
in interface AWSBudgetsAsync
request
- Request of DescribeNotificationsForBudgetasyncHandler
- 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<DescribeSubscribersForNotificationResult> describeSubscribersForNotificationAsync(DescribeSubscribersForNotificationRequest request)
AWSBudgetsAsync
describeSubscribersForNotificationAsync
in interface AWSBudgetsAsync
request
- Request of DescribeSubscribersForNotificationpublic Future<DescribeSubscribersForNotificationResult> describeSubscribersForNotificationAsync(DescribeSubscribersForNotificationRequest request, AsyncHandler<DescribeSubscribersForNotificationRequest,DescribeSubscribersForNotificationResult> asyncHandler)
AWSBudgetsAsync
describeSubscribersForNotificationAsync
in interface AWSBudgetsAsync
request
- Request of DescribeSubscribersForNotificationasyncHandler
- 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<UpdateBudgetResult> updateBudgetAsync(UpdateBudgetRequest request)
AWSBudgetsAsync
updateBudgetAsync
in interface AWSBudgetsAsync
request
- Request of UpdateBudgetpublic Future<UpdateBudgetResult> updateBudgetAsync(UpdateBudgetRequest request, AsyncHandler<UpdateBudgetRequest,UpdateBudgetResult> asyncHandler)
AWSBudgetsAsync
updateBudgetAsync
in interface AWSBudgetsAsync
request
- Request of UpdateBudgetasyncHandler
- 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<UpdateNotificationResult> updateNotificationAsync(UpdateNotificationRequest request)
AWSBudgetsAsync
updateNotificationAsync
in interface AWSBudgetsAsync
request
- Request of UpdateNotificationpublic Future<UpdateNotificationResult> updateNotificationAsync(UpdateNotificationRequest request, AsyncHandler<UpdateNotificationRequest,UpdateNotificationResult> asyncHandler)
AWSBudgetsAsync
updateNotificationAsync
in interface AWSBudgetsAsync
request
- Request of UpdateNotificationasyncHandler
- 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<UpdateSubscriberResult> updateSubscriberAsync(UpdateSubscriberRequest request)
AWSBudgetsAsync
updateSubscriberAsync
in interface AWSBudgetsAsync
request
- Request of UpdateSubscriberpublic Future<UpdateSubscriberResult> updateSubscriberAsync(UpdateSubscriberRequest request, AsyncHandler<UpdateSubscriberRequest,UpdateSubscriberResult> asyncHandler)
AWSBudgetsAsync
updateSubscriberAsync
in interface AWSBudgetsAsync
request
- Request of UpdateSubscriberasyncHandler
- 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 AWSBudgets
shutdown
in class AmazonWebServiceClient
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.