@ThreadSafe @Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AWSTrustedAdvisorAsyncClient extends AWSTrustedAdvisorClient implements AWSTrustedAdvisorAsync
AsyncHandler
can be used to receive
notification when an asynchronous operation completes.
TrustedAdvisor Public API
LOGGING_AWS_REQUEST_METRIC
ENDPOINT_PREFIX
builder, getCachedResponseMetadata, getOrganizationRecommendation, getRecommendation, listChecks, listOrganizationRecommendationAccounts, listOrganizationRecommendationResources, listOrganizationRecommendations, listRecommendationResources, listRecommendations, updateOrganizationRecommendationLifecycle, updateRecommendationLifecycle
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
getCachedResponseMetadata, getOrganizationRecommendation, getRecommendation, listChecks, listOrganizationRecommendationAccounts, listOrganizationRecommendationResources, listOrganizationRecommendations, listRecommendationResources, listRecommendations, updateOrganizationRecommendationLifecycle, updateRecommendationLifecycle
public static AWSTrustedAdvisorAsyncClientBuilder asyncBuilder()
public ExecutorService getExecutorService()
public Future<GetOrganizationRecommendationResult> getOrganizationRecommendationAsync(GetOrganizationRecommendationRequest request)
AWSTrustedAdvisorAsync
Get a specific recommendation within an AWS Organizations organization. This API supports only prioritized recommendations.
getOrganizationRecommendationAsync
in interface AWSTrustedAdvisorAsync
public Future<GetOrganizationRecommendationResult> getOrganizationRecommendationAsync(GetOrganizationRecommendationRequest request, AsyncHandler<GetOrganizationRecommendationRequest,GetOrganizationRecommendationResult> asyncHandler)
AWSTrustedAdvisorAsync
Get a specific recommendation within an AWS Organizations organization. This API supports only prioritized recommendations.
getOrganizationRecommendationAsync
in interface AWSTrustedAdvisorAsync
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<GetRecommendationResult> getRecommendationAsync(GetRecommendationRequest request)
AWSTrustedAdvisorAsync
Get a specific Recommendation
getRecommendationAsync
in interface AWSTrustedAdvisorAsync
public Future<GetRecommendationResult> getRecommendationAsync(GetRecommendationRequest request, AsyncHandler<GetRecommendationRequest,GetRecommendationResult> asyncHandler)
AWSTrustedAdvisorAsync
Get a specific Recommendation
getRecommendationAsync
in interface AWSTrustedAdvisorAsync
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<ListChecksResult> listChecksAsync(ListChecksRequest request)
AWSTrustedAdvisorAsync
List a filterable set of Checks
listChecksAsync
in interface AWSTrustedAdvisorAsync
public Future<ListChecksResult> listChecksAsync(ListChecksRequest request, AsyncHandler<ListChecksRequest,ListChecksResult> asyncHandler)
AWSTrustedAdvisorAsync
List a filterable set of Checks
listChecksAsync
in interface AWSTrustedAdvisorAsync
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<ListOrganizationRecommendationAccountsResult> listOrganizationRecommendationAccountsAsync(ListOrganizationRecommendationAccountsRequest request)
AWSTrustedAdvisorAsync
Lists the accounts that own the resources for an organization aggregate recommendation. This API only supports prioritized recommendations.
listOrganizationRecommendationAccountsAsync
in interface AWSTrustedAdvisorAsync
public Future<ListOrganizationRecommendationAccountsResult> listOrganizationRecommendationAccountsAsync(ListOrganizationRecommendationAccountsRequest request, AsyncHandler<ListOrganizationRecommendationAccountsRequest,ListOrganizationRecommendationAccountsResult> asyncHandler)
AWSTrustedAdvisorAsync
Lists the accounts that own the resources for an organization aggregate recommendation. This API only supports prioritized recommendations.
listOrganizationRecommendationAccountsAsync
in interface AWSTrustedAdvisorAsync
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<ListOrganizationRecommendationResourcesResult> listOrganizationRecommendationResourcesAsync(ListOrganizationRecommendationResourcesRequest request)
AWSTrustedAdvisorAsync
List Resources of a Recommendation within an Organization. This API only supports prioritized recommendations.
listOrganizationRecommendationResourcesAsync
in interface AWSTrustedAdvisorAsync
public Future<ListOrganizationRecommendationResourcesResult> listOrganizationRecommendationResourcesAsync(ListOrganizationRecommendationResourcesRequest request, AsyncHandler<ListOrganizationRecommendationResourcesRequest,ListOrganizationRecommendationResourcesResult> asyncHandler)
AWSTrustedAdvisorAsync
List Resources of a Recommendation within an Organization. This API only supports prioritized recommendations.
listOrganizationRecommendationResourcesAsync
in interface AWSTrustedAdvisorAsync
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<ListOrganizationRecommendationsResult> listOrganizationRecommendationsAsync(ListOrganizationRecommendationsRequest request)
AWSTrustedAdvisorAsync
List a filterable set of Recommendations within an Organization. This API only supports prioritized recommendations.
listOrganizationRecommendationsAsync
in interface AWSTrustedAdvisorAsync
public Future<ListOrganizationRecommendationsResult> listOrganizationRecommendationsAsync(ListOrganizationRecommendationsRequest request, AsyncHandler<ListOrganizationRecommendationsRequest,ListOrganizationRecommendationsResult> asyncHandler)
AWSTrustedAdvisorAsync
List a filterable set of Recommendations within an Organization. This API only supports prioritized recommendations.
listOrganizationRecommendationsAsync
in interface AWSTrustedAdvisorAsync
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<ListRecommendationResourcesResult> listRecommendationResourcesAsync(ListRecommendationResourcesRequest request)
AWSTrustedAdvisorAsync
List Resources of a Recommendation
listRecommendationResourcesAsync
in interface AWSTrustedAdvisorAsync
public Future<ListRecommendationResourcesResult> listRecommendationResourcesAsync(ListRecommendationResourcesRequest request, AsyncHandler<ListRecommendationResourcesRequest,ListRecommendationResourcesResult> asyncHandler)
AWSTrustedAdvisorAsync
List Resources of a Recommendation
listRecommendationResourcesAsync
in interface AWSTrustedAdvisorAsync
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<ListRecommendationsResult> listRecommendationsAsync(ListRecommendationsRequest request)
AWSTrustedAdvisorAsync
List a filterable set of Recommendations
listRecommendationsAsync
in interface AWSTrustedAdvisorAsync
public Future<ListRecommendationsResult> listRecommendationsAsync(ListRecommendationsRequest request, AsyncHandler<ListRecommendationsRequest,ListRecommendationsResult> asyncHandler)
AWSTrustedAdvisorAsync
List a filterable set of Recommendations
listRecommendationsAsync
in interface AWSTrustedAdvisorAsync
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<UpdateOrganizationRecommendationLifecycleResult> updateOrganizationRecommendationLifecycleAsync(UpdateOrganizationRecommendationLifecycleRequest request)
AWSTrustedAdvisorAsync
Update the lifecyle of a Recommendation within an Organization. This API only supports prioritized recommendations.
updateOrganizationRecommendationLifecycleAsync
in interface AWSTrustedAdvisorAsync
public Future<UpdateOrganizationRecommendationLifecycleResult> updateOrganizationRecommendationLifecycleAsync(UpdateOrganizationRecommendationLifecycleRequest request, AsyncHandler<UpdateOrganizationRecommendationLifecycleRequest,UpdateOrganizationRecommendationLifecycleResult> asyncHandler)
AWSTrustedAdvisorAsync
Update the lifecyle of a Recommendation within an Organization. This API only supports prioritized recommendations.
updateOrganizationRecommendationLifecycleAsync
in interface AWSTrustedAdvisorAsync
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<UpdateRecommendationLifecycleResult> updateRecommendationLifecycleAsync(UpdateRecommendationLifecycleRequest request)
AWSTrustedAdvisorAsync
Update the lifecyle of a Recommendation. This API only supports prioritized recommendations.
updateRecommendationLifecycleAsync
in interface AWSTrustedAdvisorAsync
public Future<UpdateRecommendationLifecycleResult> updateRecommendationLifecycleAsync(UpdateRecommendationLifecycleRequest request, AsyncHandler<UpdateRecommendationLifecycleRequest,UpdateRecommendationLifecycleResult> asyncHandler)
AWSTrustedAdvisorAsync
Update the lifecyle of a Recommendation. This API only supports prioritized recommendations.
updateRecommendationLifecycleAsync
in interface AWSTrustedAdvisorAsync
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 AWSTrustedAdvisor
shutdown
in class AWSTrustedAdvisorClient