/* * Copyright 2018-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with * the License. A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions * and limitations under the License. */ package com.amazonaws.services.migrationhubstrategyrecommendations; import javax.annotation.Generated; import com.amazonaws.services.migrationhubstrategyrecommendations.model.*; /** * Interface for accessing Migration Hub Strategy Recommendations asynchronously. Each asynchronous method will return a * Java Future object representing the asynchronous operation; overloads which accept an {@code AsyncHandler} can be * used to receive notification when an asynchronous operation completes. *

* Note: Do not directly implement this interface, new methods are added to it regularly. Extend from * {@link com.amazonaws.services.migrationhubstrategyrecommendations.AbstractAWSMigrationHubStrategyRecommendationsAsync} * instead. *

*

*

* Migration Hub Strategy Recommendations *

* This API reference provides descriptions, syntax, and other details about each of the actions and data types for * Migration Hub Strategy Recommendations (Strategy Recommendations). The topic for each action shows the API request * parameters and the response. Alternatively, you can use one of the AWS SDKs to access an API that is tailored to the * programming language or platform that you're using. For more information, see AWS SDKs. *

*

*/ @Generated("com.amazonaws:aws-java-sdk-code-generator") public interface AWSMigrationHubStrategyRecommendationsAsync extends AWSMigrationHubStrategyRecommendations { /** *

* Retrieves details about an application component. *

* * @param getApplicationComponentDetailsRequest * @return A Java Future containing the result of the GetApplicationComponentDetails operation returned by the * service. * @sample AWSMigrationHubStrategyRecommendationsAsync.GetApplicationComponentDetails * @see AWS API Documentation */ java.util.concurrent.Future getApplicationComponentDetailsAsync( GetApplicationComponentDetailsRequest getApplicationComponentDetailsRequest); /** *

* Retrieves details about an application component. *

* * @param getApplicationComponentDetailsRequest * @param 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. * @return A Java Future containing the result of the GetApplicationComponentDetails operation returned by the * service. * @sample AWSMigrationHubStrategyRecommendationsAsyncHandler.GetApplicationComponentDetails * @see AWS API Documentation */ java.util.concurrent.Future getApplicationComponentDetailsAsync( GetApplicationComponentDetailsRequest getApplicationComponentDetailsRequest, com.amazonaws.handlers.AsyncHandler asyncHandler); /** *

* Retrieves a list of all the recommended strategies and tools for an application component running on a server. *

* * @param getApplicationComponentStrategiesRequest * @return A Java Future containing the result of the GetApplicationComponentStrategies operation returned by the * service. * @sample AWSMigrationHubStrategyRecommendationsAsync.GetApplicationComponentStrategies * @see AWS API Documentation */ java.util.concurrent.Future getApplicationComponentStrategiesAsync( GetApplicationComponentStrategiesRequest getApplicationComponentStrategiesRequest); /** *

* Retrieves a list of all the recommended strategies and tools for an application component running on a server. *

* * @param getApplicationComponentStrategiesRequest * @param 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. * @return A Java Future containing the result of the GetApplicationComponentStrategies operation returned by the * service. * @sample AWSMigrationHubStrategyRecommendationsAsyncHandler.GetApplicationComponentStrategies * @see AWS API Documentation */ java.util.concurrent.Future getApplicationComponentStrategiesAsync( GetApplicationComponentStrategiesRequest getApplicationComponentStrategiesRequest, com.amazonaws.handlers.AsyncHandler asyncHandler); /** *

* Retrieves the status of an on-going assessment. *

* * @param getAssessmentRequest * @return A Java Future containing the result of the GetAssessment operation returned by the service. * @sample AWSMigrationHubStrategyRecommendationsAsync.GetAssessment * @see AWS API Documentation */ java.util.concurrent.Future getAssessmentAsync(GetAssessmentRequest getAssessmentRequest); /** *

* Retrieves the status of an on-going assessment. *

* * @param getAssessmentRequest * @param 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. * @return A Java Future containing the result of the GetAssessment operation returned by the service. * @sample AWSMigrationHubStrategyRecommendationsAsyncHandler.GetAssessment * @see AWS API Documentation */ java.util.concurrent.Future getAssessmentAsync(GetAssessmentRequest getAssessmentRequest, com.amazonaws.handlers.AsyncHandler asyncHandler); /** *

* Retrieves the details about a specific import task. *

* * @param getImportFileTaskRequest * @return A Java Future containing the result of the GetImportFileTask operation returned by the service. * @sample AWSMigrationHubStrategyRecommendationsAsync.GetImportFileTask * @see AWS API Documentation */ java.util.concurrent.Future getImportFileTaskAsync(GetImportFileTaskRequest getImportFileTaskRequest); /** *

* Retrieves the details about a specific import task. *

* * @param getImportFileTaskRequest * @param 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. * @return A Java Future containing the result of the GetImportFileTask operation returned by the service. * @sample AWSMigrationHubStrategyRecommendationsAsyncHandler.GetImportFileTask * @see AWS API Documentation */ java.util.concurrent.Future getImportFileTaskAsync(GetImportFileTaskRequest getImportFileTaskRequest, com.amazonaws.handlers.AsyncHandler asyncHandler); /** *

* Retrieve the latest ID of a specific assessment task. *

* * @param getLatestAssessmentIdRequest * @return A Java Future containing the result of the GetLatestAssessmentId operation returned by the service. * @sample AWSMigrationHubStrategyRecommendationsAsync.GetLatestAssessmentId * @see AWS API Documentation */ java.util.concurrent.Future getLatestAssessmentIdAsync(GetLatestAssessmentIdRequest getLatestAssessmentIdRequest); /** *

* Retrieve the latest ID of a specific assessment task. *

* * @param getLatestAssessmentIdRequest * @param 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. * @return A Java Future containing the result of the GetLatestAssessmentId operation returned by the service. * @sample AWSMigrationHubStrategyRecommendationsAsyncHandler.GetLatestAssessmentId * @see AWS API Documentation */ java.util.concurrent.Future getLatestAssessmentIdAsync(GetLatestAssessmentIdRequest getLatestAssessmentIdRequest, com.amazonaws.handlers.AsyncHandler asyncHandler); /** *

* Retrieves your migration and modernization preferences. *

* * @param getPortfolioPreferencesRequest * @return A Java Future containing the result of the GetPortfolioPreferences operation returned by the service. * @sample AWSMigrationHubStrategyRecommendationsAsync.GetPortfolioPreferences * @see AWS API Documentation */ java.util.concurrent.Future getPortfolioPreferencesAsync(GetPortfolioPreferencesRequest getPortfolioPreferencesRequest); /** *

* Retrieves your migration and modernization preferences. *

* * @param getPortfolioPreferencesRequest * @param 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. * @return A Java Future containing the result of the GetPortfolioPreferences operation returned by the service. * @sample AWSMigrationHubStrategyRecommendationsAsyncHandler.GetPortfolioPreferences * @see AWS API Documentation */ java.util.concurrent.Future getPortfolioPreferencesAsync(GetPortfolioPreferencesRequest getPortfolioPreferencesRequest, com.amazonaws.handlers.AsyncHandler asyncHandler); /** *

* Retrieves overall summary including the number of servers to rehost and the overall number of anti-patterns. *

* * @param getPortfolioSummaryRequest * @return A Java Future containing the result of the GetPortfolioSummary operation returned by the service. * @sample AWSMigrationHubStrategyRecommendationsAsync.GetPortfolioSummary * @see AWS API Documentation */ java.util.concurrent.Future getPortfolioSummaryAsync(GetPortfolioSummaryRequest getPortfolioSummaryRequest); /** *

* Retrieves overall summary including the number of servers to rehost and the overall number of anti-patterns. *

* * @param getPortfolioSummaryRequest * @param 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. * @return A Java Future containing the result of the GetPortfolioSummary operation returned by the service. * @sample AWSMigrationHubStrategyRecommendationsAsyncHandler.GetPortfolioSummary * @see AWS API Documentation */ java.util.concurrent.Future getPortfolioSummaryAsync(GetPortfolioSummaryRequest getPortfolioSummaryRequest, com.amazonaws.handlers.AsyncHandler asyncHandler); /** *

* Retrieves detailed information about the specified recommendation report. *

* * @param getRecommendationReportDetailsRequest * @return A Java Future containing the result of the GetRecommendationReportDetails operation returned by the * service. * @sample AWSMigrationHubStrategyRecommendationsAsync.GetRecommendationReportDetails * @see AWS API Documentation */ java.util.concurrent.Future getRecommendationReportDetailsAsync( GetRecommendationReportDetailsRequest getRecommendationReportDetailsRequest); /** *

* Retrieves detailed information about the specified recommendation report. *

* * @param getRecommendationReportDetailsRequest * @param 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. * @return A Java Future containing the result of the GetRecommendationReportDetails operation returned by the * service. * @sample AWSMigrationHubStrategyRecommendationsAsyncHandler.GetRecommendationReportDetails * @see AWS API Documentation */ java.util.concurrent.Future getRecommendationReportDetailsAsync( GetRecommendationReportDetailsRequest getRecommendationReportDetailsRequest, com.amazonaws.handlers.AsyncHandler asyncHandler); /** *

* Retrieves detailed information about a specified server. *

* * @param getServerDetailsRequest * @return A Java Future containing the result of the GetServerDetails operation returned by the service. * @sample AWSMigrationHubStrategyRecommendationsAsync.GetServerDetails * @see AWS API Documentation */ java.util.concurrent.Future getServerDetailsAsync(GetServerDetailsRequest getServerDetailsRequest); /** *

* Retrieves detailed information about a specified server. *

* * @param getServerDetailsRequest * @param 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. * @return A Java Future containing the result of the GetServerDetails operation returned by the service. * @sample AWSMigrationHubStrategyRecommendationsAsyncHandler.GetServerDetails * @see AWS API Documentation */ java.util.concurrent.Future getServerDetailsAsync(GetServerDetailsRequest getServerDetailsRequest, com.amazonaws.handlers.AsyncHandler asyncHandler); /** *

* Retrieves recommended strategies and tools for the specified server. *

* * @param getServerStrategiesRequest * @return A Java Future containing the result of the GetServerStrategies operation returned by the service. * @sample AWSMigrationHubStrategyRecommendationsAsync.GetServerStrategies * @see AWS API Documentation */ java.util.concurrent.Future getServerStrategiesAsync(GetServerStrategiesRequest getServerStrategiesRequest); /** *

* Retrieves recommended strategies and tools for the specified server. *

* * @param getServerStrategiesRequest * @param 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. * @return A Java Future containing the result of the GetServerStrategies operation returned by the service. * @sample AWSMigrationHubStrategyRecommendationsAsyncHandler.GetServerStrategies * @see AWS API Documentation */ java.util.concurrent.Future getServerStrategiesAsync(GetServerStrategiesRequest getServerStrategiesRequest, com.amazonaws.handlers.AsyncHandler asyncHandler); /** *

* Retrieves a list of all the application components (processes). *

* * @param listApplicationComponentsRequest * @return A Java Future containing the result of the ListApplicationComponents operation returned by the service. * @sample AWSMigrationHubStrategyRecommendationsAsync.ListApplicationComponents * @see AWS API Documentation */ java.util.concurrent.Future listApplicationComponentsAsync( ListApplicationComponentsRequest listApplicationComponentsRequest); /** *

* Retrieves a list of all the application components (processes). *

* * @param listApplicationComponentsRequest * @param 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. * @return A Java Future containing the result of the ListApplicationComponents operation returned by the service. * @sample AWSMigrationHubStrategyRecommendationsAsyncHandler.ListApplicationComponents * @see AWS API Documentation */ java.util.concurrent.Future listApplicationComponentsAsync( ListApplicationComponentsRequest listApplicationComponentsRequest, com.amazonaws.handlers.AsyncHandler asyncHandler); /** *

* Retrieves a list of all the installed collectors. *

* * @param listCollectorsRequest * @return A Java Future containing the result of the ListCollectors operation returned by the service. * @sample AWSMigrationHubStrategyRecommendationsAsync.ListCollectors * @see AWS API Documentation */ java.util.concurrent.Future listCollectorsAsync(ListCollectorsRequest listCollectorsRequest); /** *

* Retrieves a list of all the installed collectors. *

* * @param listCollectorsRequest * @param 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. * @return A Java Future containing the result of the ListCollectors operation returned by the service. * @sample AWSMigrationHubStrategyRecommendationsAsyncHandler.ListCollectors * @see AWS API Documentation */ java.util.concurrent.Future listCollectorsAsync(ListCollectorsRequest listCollectorsRequest, com.amazonaws.handlers.AsyncHandler asyncHandler); /** *

* Retrieves a list of all the imports performed. *

* * @param listImportFileTaskRequest * @return A Java Future containing the result of the ListImportFileTask operation returned by the service. * @sample AWSMigrationHubStrategyRecommendationsAsync.ListImportFileTask * @see AWS API Documentation */ java.util.concurrent.Future listImportFileTaskAsync(ListImportFileTaskRequest listImportFileTaskRequest); /** *

* Retrieves a list of all the imports performed. *

* * @param listImportFileTaskRequest * @param 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. * @return A Java Future containing the result of the ListImportFileTask operation returned by the service. * @sample AWSMigrationHubStrategyRecommendationsAsyncHandler.ListImportFileTask * @see AWS API Documentation */ java.util.concurrent.Future listImportFileTaskAsync(ListImportFileTaskRequest listImportFileTaskRequest, com.amazonaws.handlers.AsyncHandler asyncHandler); /** *

* Returns a list of all the servers. *

* * @param listServersRequest * @return A Java Future containing the result of the ListServers operation returned by the service. * @sample AWSMigrationHubStrategyRecommendationsAsync.ListServers * @see AWS API Documentation */ java.util.concurrent.Future listServersAsync(ListServersRequest listServersRequest); /** *

* Returns a list of all the servers. *

* * @param listServersRequest * @param 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. * @return A Java Future containing the result of the ListServers operation returned by the service. * @sample AWSMigrationHubStrategyRecommendationsAsyncHandler.ListServers * @see AWS API Documentation */ java.util.concurrent.Future listServersAsync(ListServersRequest listServersRequest, com.amazonaws.handlers.AsyncHandler asyncHandler); /** *

* Saves the specified migration and modernization preferences. *

* * @param putPortfolioPreferencesRequest * @return A Java Future containing the result of the PutPortfolioPreferences operation returned by the service. * @sample AWSMigrationHubStrategyRecommendationsAsync.PutPortfolioPreferences * @see AWS API Documentation */ java.util.concurrent.Future putPortfolioPreferencesAsync(PutPortfolioPreferencesRequest putPortfolioPreferencesRequest); /** *

* Saves the specified migration and modernization preferences. *

* * @param putPortfolioPreferencesRequest * @param 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. * @return A Java Future containing the result of the PutPortfolioPreferences operation returned by the service. * @sample AWSMigrationHubStrategyRecommendationsAsyncHandler.PutPortfolioPreferences * @see AWS API Documentation */ java.util.concurrent.Future putPortfolioPreferencesAsync(PutPortfolioPreferencesRequest putPortfolioPreferencesRequest, com.amazonaws.handlers.AsyncHandler asyncHandler); /** *

* Starts the assessment of an on-premises environment. *

* * @param startAssessmentRequest * @return A Java Future containing the result of the StartAssessment operation returned by the service. * @sample AWSMigrationHubStrategyRecommendationsAsync.StartAssessment * @see AWS API Documentation */ java.util.concurrent.Future startAssessmentAsync(StartAssessmentRequest startAssessmentRequest); /** *

* Starts the assessment of an on-premises environment. *

* * @param startAssessmentRequest * @param 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. * @return A Java Future containing the result of the StartAssessment operation returned by the service. * @sample AWSMigrationHubStrategyRecommendationsAsyncHandler.StartAssessment * @see AWS API Documentation */ java.util.concurrent.Future startAssessmentAsync(StartAssessmentRequest startAssessmentRequest, com.amazonaws.handlers.AsyncHandler asyncHandler); /** *

* Starts a file import. *

* * @param startImportFileTaskRequest * @return A Java Future containing the result of the StartImportFileTask operation returned by the service. * @sample AWSMigrationHubStrategyRecommendationsAsync.StartImportFileTask * @see AWS API Documentation */ java.util.concurrent.Future startImportFileTaskAsync(StartImportFileTaskRequest startImportFileTaskRequest); /** *

* Starts a file import. *

* * @param startImportFileTaskRequest * @param 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. * @return A Java Future containing the result of the StartImportFileTask operation returned by the service. * @sample AWSMigrationHubStrategyRecommendationsAsyncHandler.StartImportFileTask * @see AWS API Documentation */ java.util.concurrent.Future startImportFileTaskAsync(StartImportFileTaskRequest startImportFileTaskRequest, com.amazonaws.handlers.AsyncHandler asyncHandler); /** *

* Starts generating a recommendation report. *

* * @param startRecommendationReportGenerationRequest * @return A Java Future containing the result of the StartRecommendationReportGeneration operation returned by the * service. * @sample AWSMigrationHubStrategyRecommendationsAsync.StartRecommendationReportGeneration * @see AWS API Documentation */ java.util.concurrent.Future startRecommendationReportGenerationAsync( StartRecommendationReportGenerationRequest startRecommendationReportGenerationRequest); /** *

* Starts generating a recommendation report. *

* * @param startRecommendationReportGenerationRequest * @param 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. * @return A Java Future containing the result of the StartRecommendationReportGeneration operation returned by the * service. * @sample AWSMigrationHubStrategyRecommendationsAsyncHandler.StartRecommendationReportGeneration * @see AWS API Documentation */ java.util.concurrent.Future startRecommendationReportGenerationAsync( StartRecommendationReportGenerationRequest startRecommendationReportGenerationRequest, com.amazonaws.handlers.AsyncHandler asyncHandler); /** *

* Stops the assessment of an on-premises environment. *

* * @param stopAssessmentRequest * @return A Java Future containing the result of the StopAssessment operation returned by the service. * @sample AWSMigrationHubStrategyRecommendationsAsync.StopAssessment * @see AWS API Documentation */ java.util.concurrent.Future stopAssessmentAsync(StopAssessmentRequest stopAssessmentRequest); /** *

* Stops the assessment of an on-premises environment. *

* * @param stopAssessmentRequest * @param 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. * @return A Java Future containing the result of the StopAssessment operation returned by the service. * @sample AWSMigrationHubStrategyRecommendationsAsyncHandler.StopAssessment * @see AWS API Documentation */ java.util.concurrent.Future stopAssessmentAsync(StopAssessmentRequest stopAssessmentRequest, com.amazonaws.handlers.AsyncHandler asyncHandler); /** *

* Updates the configuration of an application component. *

* * @param updateApplicationComponentConfigRequest * @return A Java Future containing the result of the UpdateApplicationComponentConfig operation returned by the * service. * @sample AWSMigrationHubStrategyRecommendationsAsync.UpdateApplicationComponentConfig * @see AWS API Documentation */ java.util.concurrent.Future updateApplicationComponentConfigAsync( UpdateApplicationComponentConfigRequest updateApplicationComponentConfigRequest); /** *

* Updates the configuration of an application component. *

* * @param updateApplicationComponentConfigRequest * @param 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. * @return A Java Future containing the result of the UpdateApplicationComponentConfig operation returned by the * service. * @sample AWSMigrationHubStrategyRecommendationsAsyncHandler.UpdateApplicationComponentConfig * @see AWS API Documentation */ java.util.concurrent.Future updateApplicationComponentConfigAsync( UpdateApplicationComponentConfigRequest updateApplicationComponentConfigRequest, com.amazonaws.handlers.AsyncHandler asyncHandler); /** *

* Updates the configuration of the specified server. *

* * @param updateServerConfigRequest * @return A Java Future containing the result of the UpdateServerConfig operation returned by the service. * @sample AWSMigrationHubStrategyRecommendationsAsync.UpdateServerConfig * @see AWS API Documentation */ java.util.concurrent.Future updateServerConfigAsync(UpdateServerConfigRequest updateServerConfigRequest); /** *

* Updates the configuration of the specified server. *

* * @param updateServerConfigRequest * @param 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. * @return A Java Future containing the result of the UpdateServerConfig operation returned by the service. * @sample AWSMigrationHubStrategyRecommendationsAsyncHandler.UpdateServerConfig * @see AWS API Documentation */ java.util.concurrent.Future updateServerConfigAsync(UpdateServerConfigRequest updateServerConfigRequest, com.amazonaws.handlers.AsyncHandler asyncHandler); }