/* * 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. *
**
*
* 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* 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* 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* 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* 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* 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* 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* 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* 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* 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* 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* 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* 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* 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* 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* 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* 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* 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* 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* 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* 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* 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* 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* 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* 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* 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* 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* 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* 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* 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* 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* 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* 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* 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* 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* 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* 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* 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* 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* 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* 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* 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