@ThreadSafe @Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AWSMarketplaceEntitlementAsyncClient extends AWSMarketplaceEntitlementClient implements AWSMarketplaceEntitlementAsync
AsyncHandler can be used to
receive notification when an asynchronous operation completes.
This reference provides descriptions of the AWS Marketplace Entitlement Service API.
AWS Marketplace Entitlement Service is used to determine the entitlement of a customer to a given product. An entitlement represents capacity in a product owned by the customer. For example, a customer might own some number of users or seats in an SaaS application or some amount of data capacity in a multi-tenant database.
Getting Entitlement Records
GetEntitlements- Gets the entitlements for a Marketplace product.
LOGGING_AWS_REQUEST_METRICENDPOINT_PREFIX| Modifier and Type | Method and Description |
|---|---|
static AWSMarketplaceEntitlementAsyncClientBuilder |
asyncBuilder() |
Future<GetEntitlementsResult> |
getEntitlementsAsync(GetEntitlementsRequest request)
GetEntitlements retrieves entitlement values for a given product.
|
Future<GetEntitlementsResult> |
getEntitlementsAsync(GetEntitlementsRequest request,
AsyncHandler<GetEntitlementsRequest,GetEntitlementsResult> asyncHandler)
GetEntitlements retrieves entitlement values for a given product.
|
ExecutorService |
getExecutorService()
Returns the executor service used by this client to execute async requests.
|
void |
shutdown()
Shuts down the client, releasing all managed resources.
|
builder, getCachedResponseMetadata, getEntitlementsaddRequestHandler, addRequestHandler, configureRegion, getEndpointPrefix, getRequestMetricsCollector, getServiceName, getSignerByURI, getSignerOverride, getSignerRegionOverride, getTimeOffset, makeImmutable, removeRequestHandler, removeRequestHandler, setEndpoint, setEndpoint, setRegion, setServiceNameIntern, setSignerRegionOverride, setTimeOffset, withEndpoint, withRegion, withRegion, withTimeOffsetequals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetCachedResponseMetadata, getEntitlementspublic static AWSMarketplaceEntitlementAsyncClientBuilder asyncBuilder()
public ExecutorService getExecutorService()
public Future<GetEntitlementsResult> getEntitlementsAsync(GetEntitlementsRequest request)
AWSMarketplaceEntitlementAsyncGetEntitlements retrieves entitlement values for a given product. The results can be filtered based on customer identifier or product dimensions.
getEntitlementsAsync in interface AWSMarketplaceEntitlementAsyncrequest - The GetEntitlementsRequest contains parameters for the GetEntitlements operation.public Future<GetEntitlementsResult> getEntitlementsAsync(GetEntitlementsRequest request, AsyncHandler<GetEntitlementsRequest,GetEntitlementsResult> asyncHandler)
AWSMarketplaceEntitlementAsyncGetEntitlements retrieves entitlement values for a given product. The results can be filtered based on customer identifier or product dimensions.
getEntitlementsAsync in interface AWSMarketplaceEntitlementAsyncrequest - The GetEntitlementsRequest contains parameters for the GetEntitlements operation.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 AWSMarketplaceEntitlementshutdown in class AmazonWebServiceClientCopyright © 2013 Amazon Web Services, Inc. All Rights Reserved.