@ThreadSafe @Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AWSLicenseManagerLinuxSubscriptionsAsyncClient extends AWSLicenseManagerLinuxSubscriptionsClient implements AWSLicenseManagerLinuxSubscriptionsAsync
AsyncHandler can be
used to receive notification when an asynchronous operation completes.
With License Manager, you can discover and track your commercial Linux subscriptions on running Amazon EC2 instances.
LOGGING_AWS_REQUEST_METRICENDPOINT_PREFIXbuilder, getCachedResponseMetadata, getServiceSettings, listLinuxSubscriptionInstances, listLinuxSubscriptions, updateServiceSettingsaddRequestHandler, addRequestHandler, configureRegion, getClientConfiguration, getEndpointPrefix, getMonitoringListeners, 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, getServiceSettings, listLinuxSubscriptionInstances, listLinuxSubscriptions, updateServiceSettingspublic static AWSLicenseManagerLinuxSubscriptionsAsyncClientBuilder asyncBuilder()
public ExecutorService getExecutorService()
public Future<GetServiceSettingsResult> getServiceSettingsAsync(GetServiceSettingsRequest request)
AWSLicenseManagerLinuxSubscriptionsAsyncLists the Linux subscriptions service settings.
getServiceSettingsAsync in interface AWSLicenseManagerLinuxSubscriptionsAsyncpublic Future<GetServiceSettingsResult> getServiceSettingsAsync(GetServiceSettingsRequest request, AsyncHandler<GetServiceSettingsRequest,GetServiceSettingsResult> asyncHandler)
AWSLicenseManagerLinuxSubscriptionsAsyncLists the Linux subscriptions service settings.
getServiceSettingsAsync in interface AWSLicenseManagerLinuxSubscriptionsAsyncasyncHandler - 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<ListLinuxSubscriptionInstancesResult> listLinuxSubscriptionInstancesAsync(ListLinuxSubscriptionInstancesRequest request)
AWSLicenseManagerLinuxSubscriptionsAsyncLists the running Amazon EC2 instances that were discovered with commercial Linux subscriptions.
listLinuxSubscriptionInstancesAsync in interface AWSLicenseManagerLinuxSubscriptionsAsyncrequest - NextToken length limit is half of ddb accepted limit. Increase this limit if parameters in request
increases.public Future<ListLinuxSubscriptionInstancesResult> listLinuxSubscriptionInstancesAsync(ListLinuxSubscriptionInstancesRequest request, AsyncHandler<ListLinuxSubscriptionInstancesRequest,ListLinuxSubscriptionInstancesResult> asyncHandler)
AWSLicenseManagerLinuxSubscriptionsAsyncLists the running Amazon EC2 instances that were discovered with commercial Linux subscriptions.
listLinuxSubscriptionInstancesAsync in interface AWSLicenseManagerLinuxSubscriptionsAsyncrequest - NextToken length limit is half of ddb accepted limit. Increase this limit if parameters in request
increases.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<ListLinuxSubscriptionsResult> listLinuxSubscriptionsAsync(ListLinuxSubscriptionsRequest request)
AWSLicenseManagerLinuxSubscriptionsAsyncLists the Linux subscriptions that have been discovered. If you have linked your organization, the returned results will include data aggregated across your accounts in Organizations.
listLinuxSubscriptionsAsync in interface AWSLicenseManagerLinuxSubscriptionsAsyncrequest - NextToken length limit is half of ddb accepted limit. Increase this limit if parameters in request
increases.public Future<ListLinuxSubscriptionsResult> listLinuxSubscriptionsAsync(ListLinuxSubscriptionsRequest request, AsyncHandler<ListLinuxSubscriptionsRequest,ListLinuxSubscriptionsResult> asyncHandler)
AWSLicenseManagerLinuxSubscriptionsAsyncLists the Linux subscriptions that have been discovered. If you have linked your organization, the returned results will include data aggregated across your accounts in Organizations.
listLinuxSubscriptionsAsync in interface AWSLicenseManagerLinuxSubscriptionsAsyncrequest - NextToken length limit is half of ddb accepted limit. Increase this limit if parameters in request
increases.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<UpdateServiceSettingsResult> updateServiceSettingsAsync(UpdateServiceSettingsRequest request)
AWSLicenseManagerLinuxSubscriptionsAsyncUpdates the service settings for Linux subscriptions.
updateServiceSettingsAsync in interface AWSLicenseManagerLinuxSubscriptionsAsyncpublic Future<UpdateServiceSettingsResult> updateServiceSettingsAsync(UpdateServiceSettingsRequest request, AsyncHandler<UpdateServiceSettingsRequest,UpdateServiceSettingsResult> asyncHandler)
AWSLicenseManagerLinuxSubscriptionsAsyncUpdates the service settings for Linux subscriptions.
updateServiceSettingsAsync in interface AWSLicenseManagerLinuxSubscriptionsAsyncasyncHandler - 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 AWSLicenseManagerLinuxSubscriptionsshutdown in class AWSLicenseManagerLinuxSubscriptionsClient