@ThreadSafe @Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AWSSavingsPlansAsyncClient extends AWSSavingsPlansClient implements AWSSavingsPlansAsync
AsyncHandler
can be used to receive
notification when an asynchronous operation completes.
Savings Plans are a pricing model that offer significant savings on AWS usage (for example, on Amazon EC2 instances). You commit to a consistent amount of usage, in USD per hour, for a term of 1 or 3 years, and receive a lower price for that usage. For more information, see the AWS Savings Plans User Guide.
LOGGING_AWS_REQUEST_METRIC
ENDPOINT_PREFIX
builder, createSavingsPlan, describeSavingsPlanRates, describeSavingsPlans, describeSavingsPlansOfferingRates, describeSavingsPlansOfferings, getCachedResponseMetadata, listTagsForResource, tagResource, untagResource
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
createSavingsPlan, describeSavingsPlanRates, describeSavingsPlans, describeSavingsPlansOfferingRates, describeSavingsPlansOfferings, getCachedResponseMetadata, listTagsForResource, tagResource, untagResource
public static AWSSavingsPlansAsyncClientBuilder asyncBuilder()
public ExecutorService getExecutorService()
public Future<CreateSavingsPlanResult> createSavingsPlanAsync(CreateSavingsPlanRequest request)
AWSSavingsPlansAsync
Creates a Savings Plan.
createSavingsPlanAsync
in interface AWSSavingsPlansAsync
public Future<CreateSavingsPlanResult> createSavingsPlanAsync(CreateSavingsPlanRequest request, AsyncHandler<CreateSavingsPlanRequest,CreateSavingsPlanResult> asyncHandler)
AWSSavingsPlansAsync
Creates a Savings Plan.
createSavingsPlanAsync
in interface AWSSavingsPlansAsync
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<DescribeSavingsPlanRatesResult> describeSavingsPlanRatesAsync(DescribeSavingsPlanRatesRequest request)
AWSSavingsPlansAsync
Describes the specified Savings Plans rates.
describeSavingsPlanRatesAsync
in interface AWSSavingsPlansAsync
public Future<DescribeSavingsPlanRatesResult> describeSavingsPlanRatesAsync(DescribeSavingsPlanRatesRequest request, AsyncHandler<DescribeSavingsPlanRatesRequest,DescribeSavingsPlanRatesResult> asyncHandler)
AWSSavingsPlansAsync
Describes the specified Savings Plans rates.
describeSavingsPlanRatesAsync
in interface AWSSavingsPlansAsync
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<DescribeSavingsPlansResult> describeSavingsPlansAsync(DescribeSavingsPlansRequest request)
AWSSavingsPlansAsync
Describes the specified Savings Plans.
describeSavingsPlansAsync
in interface AWSSavingsPlansAsync
public Future<DescribeSavingsPlansResult> describeSavingsPlansAsync(DescribeSavingsPlansRequest request, AsyncHandler<DescribeSavingsPlansRequest,DescribeSavingsPlansResult> asyncHandler)
AWSSavingsPlansAsync
Describes the specified Savings Plans.
describeSavingsPlansAsync
in interface AWSSavingsPlansAsync
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<DescribeSavingsPlansOfferingRatesResult> describeSavingsPlansOfferingRatesAsync(DescribeSavingsPlansOfferingRatesRequest request)
AWSSavingsPlansAsync
Describes the specified Savings Plans offering rates.
describeSavingsPlansOfferingRatesAsync
in interface AWSSavingsPlansAsync
public Future<DescribeSavingsPlansOfferingRatesResult> describeSavingsPlansOfferingRatesAsync(DescribeSavingsPlansOfferingRatesRequest request, AsyncHandler<DescribeSavingsPlansOfferingRatesRequest,DescribeSavingsPlansOfferingRatesResult> asyncHandler)
AWSSavingsPlansAsync
Describes the specified Savings Plans offering rates.
describeSavingsPlansOfferingRatesAsync
in interface AWSSavingsPlansAsync
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<DescribeSavingsPlansOfferingsResult> describeSavingsPlansOfferingsAsync(DescribeSavingsPlansOfferingsRequest request)
AWSSavingsPlansAsync
Describes the specified Savings Plans offerings.
describeSavingsPlansOfferingsAsync
in interface AWSSavingsPlansAsync
public Future<DescribeSavingsPlansOfferingsResult> describeSavingsPlansOfferingsAsync(DescribeSavingsPlansOfferingsRequest request, AsyncHandler<DescribeSavingsPlansOfferingsRequest,DescribeSavingsPlansOfferingsResult> asyncHandler)
AWSSavingsPlansAsync
Describes the specified Savings Plans offerings.
describeSavingsPlansOfferingsAsync
in interface AWSSavingsPlansAsync
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<ListTagsForResourceResult> listTagsForResourceAsync(ListTagsForResourceRequest request)
AWSSavingsPlansAsync
Lists the tags for the specified resource.
listTagsForResourceAsync
in interface AWSSavingsPlansAsync
public Future<ListTagsForResourceResult> listTagsForResourceAsync(ListTagsForResourceRequest request, AsyncHandler<ListTagsForResourceRequest,ListTagsForResourceResult> asyncHandler)
AWSSavingsPlansAsync
Lists the tags for the specified resource.
listTagsForResourceAsync
in interface AWSSavingsPlansAsync
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<TagResourceResult> tagResourceAsync(TagResourceRequest request)
AWSSavingsPlansAsync
Adds the specified tags to the specified resource.
tagResourceAsync
in interface AWSSavingsPlansAsync
public Future<TagResourceResult> tagResourceAsync(TagResourceRequest request, AsyncHandler<TagResourceRequest,TagResourceResult> asyncHandler)
AWSSavingsPlansAsync
Adds the specified tags to the specified resource.
tagResourceAsync
in interface AWSSavingsPlansAsync
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<UntagResourceResult> untagResourceAsync(UntagResourceRequest request)
AWSSavingsPlansAsync
Removes the specified tags from the specified resource.
untagResourceAsync
in interface AWSSavingsPlansAsync
public Future<UntagResourceResult> untagResourceAsync(UntagResourceRequest request, AsyncHandler<UntagResourceRequest,UntagResourceResult> asyncHandler)
AWSSavingsPlansAsync
Removes the specified tags from the specified resource.
untagResourceAsync
in interface AWSSavingsPlansAsync
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 AWSSavingsPlans
shutdown
in class AmazonWebServiceClient
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.