@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.
configFactoryclient, clientConfiguration, endpoint, isEndpointOverridden, LOGGING_AWS_REQUEST_METRIC, requestHandler2s, timeOffsetENDPOINT_PREFIXbuilder, createSavingsPlan, deleteQueuedSavingsPlan, describeSavingsPlanRates, describeSavingsPlans, describeSavingsPlansOfferingRates, describeSavingsPlansOfferings, getCachedResponseMetadata, listTagsForResource, tagResource, untagResourceaddRequestHandler, 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, waitcreateSavingsPlan, deleteQueuedSavingsPlan, describeSavingsPlanRates, describeSavingsPlans, describeSavingsPlansOfferingRates, describeSavingsPlansOfferings, getCachedResponseMetadata, listTagsForResource, tagResource, untagResourcepublic static AWSSavingsPlansAsyncClientBuilder asyncBuilder()
public ExecutorService getExecutorService()
public Future<CreateSavingsPlanResult> createSavingsPlanAsync(CreateSavingsPlanRequest request)
AWSSavingsPlansAsyncCreates a Savings Plan.
createSavingsPlanAsync in interface AWSSavingsPlansAsyncpublic Future<CreateSavingsPlanResult> createSavingsPlanAsync(CreateSavingsPlanRequest request, AsyncHandler<CreateSavingsPlanRequest,CreateSavingsPlanResult> asyncHandler)
AWSSavingsPlansAsyncCreates a Savings Plan.
createSavingsPlanAsync in interface AWSSavingsPlansAsyncasyncHandler - 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<DeleteQueuedSavingsPlanResult> deleteQueuedSavingsPlanAsync(DeleteQueuedSavingsPlanRequest request)
AWSSavingsPlansAsyncDeletes the queued purchase for the specified Savings Plan.
deleteQueuedSavingsPlanAsync in interface AWSSavingsPlansAsyncpublic Future<DeleteQueuedSavingsPlanResult> deleteQueuedSavingsPlanAsync(DeleteQueuedSavingsPlanRequest request, AsyncHandler<DeleteQueuedSavingsPlanRequest,DeleteQueuedSavingsPlanResult> asyncHandler)
AWSSavingsPlansAsyncDeletes the queued purchase for the specified Savings Plan.
deleteQueuedSavingsPlanAsync in interface AWSSavingsPlansAsyncasyncHandler - 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)
AWSSavingsPlansAsyncDescribes the specified Savings Plans rates.
describeSavingsPlanRatesAsync in interface AWSSavingsPlansAsyncpublic Future<DescribeSavingsPlanRatesResult> describeSavingsPlanRatesAsync(DescribeSavingsPlanRatesRequest request, AsyncHandler<DescribeSavingsPlanRatesRequest,DescribeSavingsPlanRatesResult> asyncHandler)
AWSSavingsPlansAsyncDescribes the specified Savings Plans rates.
describeSavingsPlanRatesAsync in interface AWSSavingsPlansAsyncasyncHandler - 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)
AWSSavingsPlansAsyncDescribes the specified Savings Plans.
describeSavingsPlansAsync in interface AWSSavingsPlansAsyncpublic Future<DescribeSavingsPlansResult> describeSavingsPlansAsync(DescribeSavingsPlansRequest request, AsyncHandler<DescribeSavingsPlansRequest,DescribeSavingsPlansResult> asyncHandler)
AWSSavingsPlansAsyncDescribes the specified Savings Plans.
describeSavingsPlansAsync in interface AWSSavingsPlansAsyncasyncHandler - 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)
AWSSavingsPlansAsyncDescribes the specified Savings Plans offering rates.
describeSavingsPlansOfferingRatesAsync in interface AWSSavingsPlansAsyncpublic Future<DescribeSavingsPlansOfferingRatesResult> describeSavingsPlansOfferingRatesAsync(DescribeSavingsPlansOfferingRatesRequest request, AsyncHandler<DescribeSavingsPlansOfferingRatesRequest,DescribeSavingsPlansOfferingRatesResult> asyncHandler)
AWSSavingsPlansAsyncDescribes the specified Savings Plans offering rates.
describeSavingsPlansOfferingRatesAsync in interface AWSSavingsPlansAsyncasyncHandler - 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)
AWSSavingsPlansAsyncDescribes the specified Savings Plans offerings.
describeSavingsPlansOfferingsAsync in interface AWSSavingsPlansAsyncpublic Future<DescribeSavingsPlansOfferingsResult> describeSavingsPlansOfferingsAsync(DescribeSavingsPlansOfferingsRequest request, AsyncHandler<DescribeSavingsPlansOfferingsRequest,DescribeSavingsPlansOfferingsResult> asyncHandler)
AWSSavingsPlansAsyncDescribes the specified Savings Plans offerings.
describeSavingsPlansOfferingsAsync in interface AWSSavingsPlansAsyncasyncHandler - 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)
AWSSavingsPlansAsyncLists the tags for the specified resource.
listTagsForResourceAsync in interface AWSSavingsPlansAsyncpublic Future<ListTagsForResourceResult> listTagsForResourceAsync(ListTagsForResourceRequest request, AsyncHandler<ListTagsForResourceRequest,ListTagsForResourceResult> asyncHandler)
AWSSavingsPlansAsyncLists the tags for the specified resource.
listTagsForResourceAsync in interface AWSSavingsPlansAsyncasyncHandler - 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)
AWSSavingsPlansAsyncAdds the specified tags to the specified resource.
tagResourceAsync in interface AWSSavingsPlansAsyncpublic Future<TagResourceResult> tagResourceAsync(TagResourceRequest request, AsyncHandler<TagResourceRequest,TagResourceResult> asyncHandler)
AWSSavingsPlansAsyncAdds the specified tags to the specified resource.
tagResourceAsync in interface AWSSavingsPlansAsyncasyncHandler - 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)
AWSSavingsPlansAsyncRemoves the specified tags from the specified resource.
untagResourceAsync in interface AWSSavingsPlansAsyncpublic Future<UntagResourceResult> untagResourceAsync(UntagResourceRequest request, AsyncHandler<UntagResourceRequest,UntagResourceResult> asyncHandler)
AWSSavingsPlansAsyncRemoves the specified tags from the specified resource.
untagResourceAsync in interface AWSSavingsPlansAsyncasyncHandler - 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 AWSSavingsPlansshutdown in class AWSSavingsPlansClientCopyright © 2021. All rights reserved.