Interface MigrationHubStrategyAsyncClient

  • All Superinterfaces:
    AutoCloseable, AwsClient, SdkAutoCloseable, SdkClient

    @Generated("software.amazon.awssdk:codegen")
    @ThreadSafe
    public interface MigrationHubStrategyAsyncClient
    extends AwsClient
    Service client for accessing Migration Hub Strategy Recommendations asynchronously. This can be created using the static builder() method.

    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.

    • Method Detail

      • getApplicationComponentDetails

        default CompletableFuture<GetApplicationComponentDetailsResponse> getApplicationComponentDetails​(GetApplicationComponentDetailsRequest getApplicationComponentDetailsRequest)

        Retrieves details about an application component.

        Parameters:
        getApplicationComponentDetailsRequest -
        Returns:
        A Java Future containing the result of the GetApplicationComponentDetails operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
        • ResourceNotFoundException The specified ID in the request is not found.
        • ThrottlingException The request was denied due to request throttling.
        • InternalServerException The server experienced an internal error. Try again.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • MigrationHubStrategyException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • getApplicationComponentDetails

        default CompletableFuture<GetApplicationComponentDetailsResponse> getApplicationComponentDetails​(Consumer<GetApplicationComponentDetailsRequest.Builder> getApplicationComponentDetailsRequest)

        Retrieves details about an application component.


        This is a convenience which creates an instance of the GetApplicationComponentDetailsRequest.Builder avoiding the need to create one manually via GetApplicationComponentDetailsRequest.builder()

        Parameters:
        getApplicationComponentDetailsRequest - A Consumer that will call methods on GetApplicationComponentDetailsRequest.Builder to create a request.
        Returns:
        A Java Future containing the result of the GetApplicationComponentDetails operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
        • ResourceNotFoundException The specified ID in the request is not found.
        • ThrottlingException The request was denied due to request throttling.
        • InternalServerException The server experienced an internal error. Try again.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • MigrationHubStrategyException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • getApplicationComponentStrategies

        default CompletableFuture<GetApplicationComponentStrategiesResponse> getApplicationComponentStrategies​(GetApplicationComponentStrategiesRequest getApplicationComponentStrategiesRequest)

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

        Parameters:
        getApplicationComponentStrategiesRequest -
        Returns:
        A Java Future containing the result of the GetApplicationComponentStrategies operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
        • ResourceNotFoundException The specified ID in the request is not found.
        • ThrottlingException The request was denied due to request throttling.
        • InternalServerException The server experienced an internal error. Try again.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • MigrationHubStrategyException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • getApplicationComponentStrategies

        default CompletableFuture<GetApplicationComponentStrategiesResponse> getApplicationComponentStrategies​(Consumer<GetApplicationComponentStrategiesRequest.Builder> getApplicationComponentStrategiesRequest)

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


        This is a convenience which creates an instance of the GetApplicationComponentStrategiesRequest.Builder avoiding the need to create one manually via GetApplicationComponentStrategiesRequest.builder()

        Parameters:
        getApplicationComponentStrategiesRequest - A Consumer that will call methods on GetApplicationComponentStrategiesRequest.Builder to create a request.
        Returns:
        A Java Future containing the result of the GetApplicationComponentStrategies operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
        • ResourceNotFoundException The specified ID in the request is not found.
        • ThrottlingException The request was denied due to request throttling.
        • InternalServerException The server experienced an internal error. Try again.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • MigrationHubStrategyException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • getAssessment

        default CompletableFuture<GetAssessmentResponse> getAssessment​(GetAssessmentRequest getAssessmentRequest)

        Retrieves the status of an on-going assessment.

        Parameters:
        getAssessmentRequest -
        Returns:
        A Java Future containing the result of the GetAssessment operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
        • ResourceNotFoundException The specified ID in the request is not found.
        • AccessDeniedException The user does not have permission to perform the action. Check the AWS Identity and Access Management (IAM) policy associated with this user.
        • ThrottlingException The request was denied due to request throttling.
        • InternalServerException The server experienced an internal error. Try again.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • MigrationHubStrategyException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • getAssessment

        default CompletableFuture<GetAssessmentResponse> getAssessment​(Consumer<GetAssessmentRequest.Builder> getAssessmentRequest)

        Retrieves the status of an on-going assessment.


        This is a convenience which creates an instance of the GetAssessmentRequest.Builder avoiding the need to create one manually via GetAssessmentRequest.builder()

        Parameters:
        getAssessmentRequest - A Consumer that will call methods on GetAssessmentRequest.Builder to create a request.
        Returns:
        A Java Future containing the result of the GetAssessment operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
        • ResourceNotFoundException The specified ID in the request is not found.
        • AccessDeniedException The user does not have permission to perform the action. Check the AWS Identity and Access Management (IAM) policy associated with this user.
        • ThrottlingException The request was denied due to request throttling.
        • InternalServerException The server experienced an internal error. Try again.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • MigrationHubStrategyException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • getImportFileTask

        default CompletableFuture<GetImportFileTaskResponse> getImportFileTask​(GetImportFileTaskRequest getImportFileTaskRequest)

        Retrieves the details about a specific import task.

        Parameters:
        getImportFileTaskRequest -
        Returns:
        A Java Future containing the result of the GetImportFileTask operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
        • ResourceNotFoundException The specified ID in the request is not found.
        • AccessDeniedException The user does not have permission to perform the action. Check the AWS Identity and Access Management (IAM) policy associated with this user.
        • ThrottlingException The request was denied due to request throttling.
        • ValidationException The request body isn't valid.
        • InternalServerException The server experienced an internal error. Try again.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • MigrationHubStrategyException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • getImportFileTask

        default CompletableFuture<GetImportFileTaskResponse> getImportFileTask​(Consumer<GetImportFileTaskRequest.Builder> getImportFileTaskRequest)

        Retrieves the details about a specific import task.


        This is a convenience which creates an instance of the GetImportFileTaskRequest.Builder avoiding the need to create one manually via GetImportFileTaskRequest.builder()

        Parameters:
        getImportFileTaskRequest - A Consumer that will call methods on GetImportFileTaskRequest.Builder to create a request.
        Returns:
        A Java Future containing the result of the GetImportFileTask operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
        • ResourceNotFoundException The specified ID in the request is not found.
        • AccessDeniedException The user does not have permission to perform the action. Check the AWS Identity and Access Management (IAM) policy associated with this user.
        • ThrottlingException The request was denied due to request throttling.
        • ValidationException The request body isn't valid.
        • InternalServerException The server experienced an internal error. Try again.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • MigrationHubStrategyException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • getLatestAssessmentId

        default CompletableFuture<GetLatestAssessmentIdResponse> getLatestAssessmentId​(GetLatestAssessmentIdRequest getLatestAssessmentIdRequest)

        Retrieve the latest ID of a specific assessment task.

        Parameters:
        getLatestAssessmentIdRequest -
        Returns:
        A Java Future containing the result of the GetLatestAssessmentId operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
        • DependencyException Dependency encountered an error.
        • AccessDeniedException The user does not have permission to perform the action. Check the AWS Identity and Access Management (IAM) policy associated with this user.
        • ValidationException The request body isn't valid.
        • InternalServerException The server experienced an internal error. Try again.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • MigrationHubStrategyException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • getLatestAssessmentId

        default CompletableFuture<GetLatestAssessmentIdResponse> getLatestAssessmentId​(Consumer<GetLatestAssessmentIdRequest.Builder> getLatestAssessmentIdRequest)

        Retrieve the latest ID of a specific assessment task.


        This is a convenience which creates an instance of the GetLatestAssessmentIdRequest.Builder avoiding the need to create one manually via GetLatestAssessmentIdRequest.builder()

        Parameters:
        getLatestAssessmentIdRequest - A Consumer that will call methods on GetLatestAssessmentIdRequest.Builder to create a request.
        Returns:
        A Java Future containing the result of the GetLatestAssessmentId operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
        • DependencyException Dependency encountered an error.
        • AccessDeniedException The user does not have permission to perform the action. Check the AWS Identity and Access Management (IAM) policy associated with this user.
        • ValidationException The request body isn't valid.
        • InternalServerException The server experienced an internal error. Try again.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • MigrationHubStrategyException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • getPortfolioPreferences

        default CompletableFuture<GetPortfolioPreferencesResponse> getPortfolioPreferences​(GetPortfolioPreferencesRequest getPortfolioPreferencesRequest)

        Retrieves your migration and modernization preferences.

        Parameters:
        getPortfolioPreferencesRequest -
        Returns:
        A Java Future containing the result of the GetPortfolioPreferences operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
        • ResourceNotFoundException The specified ID in the request is not found.
        • AccessDeniedException The user does not have permission to perform the action. Check the AWS Identity and Access Management (IAM) policy associated with this user.
        • ThrottlingException The request was denied due to request throttling.
        • InternalServerException The server experienced an internal error. Try again.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • MigrationHubStrategyException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • getPortfolioPreferences

        default CompletableFuture<GetPortfolioPreferencesResponse> getPortfolioPreferences​(Consumer<GetPortfolioPreferencesRequest.Builder> getPortfolioPreferencesRequest)

        Retrieves your migration and modernization preferences.


        This is a convenience which creates an instance of the GetPortfolioPreferencesRequest.Builder avoiding the need to create one manually via GetPortfolioPreferencesRequest.builder()

        Parameters:
        getPortfolioPreferencesRequest - A Consumer that will call methods on GetPortfolioPreferencesRequest.Builder to create a request.
        Returns:
        A Java Future containing the result of the GetPortfolioPreferences operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
        • ResourceNotFoundException The specified ID in the request is not found.
        • AccessDeniedException The user does not have permission to perform the action. Check the AWS Identity and Access Management (IAM) policy associated with this user.
        • ThrottlingException The request was denied due to request throttling.
        • InternalServerException The server experienced an internal error. Try again.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • MigrationHubStrategyException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • getPortfolioSummary

        default CompletableFuture<GetPortfolioSummaryResponse> getPortfolioSummary​(GetPortfolioSummaryRequest getPortfolioSummaryRequest)

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

        Parameters:
        getPortfolioSummaryRequest -
        Returns:
        A Java Future containing the result of the GetPortfolioSummary operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
        • AccessDeniedException The user does not have permission to perform the action. Check the AWS Identity and Access Management (IAM) policy associated with this user.
        • ThrottlingException The request was denied due to request throttling.
        • InternalServerException The server experienced an internal error. Try again.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • MigrationHubStrategyException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • getPortfolioSummary

        default CompletableFuture<GetPortfolioSummaryResponse> getPortfolioSummary​(Consumer<GetPortfolioSummaryRequest.Builder> getPortfolioSummaryRequest)

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


        This is a convenience which creates an instance of the GetPortfolioSummaryRequest.Builder avoiding the need to create one manually via GetPortfolioSummaryRequest.builder()

        Parameters:
        getPortfolioSummaryRequest - A Consumer that will call methods on GetPortfolioSummaryRequest.Builder to create a request.
        Returns:
        A Java Future containing the result of the GetPortfolioSummary operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
        • AccessDeniedException The user does not have permission to perform the action. Check the AWS Identity and Access Management (IAM) policy associated with this user.
        • ThrottlingException The request was denied due to request throttling.
        • InternalServerException The server experienced an internal error. Try again.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • MigrationHubStrategyException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • getRecommendationReportDetails

        default CompletableFuture<GetRecommendationReportDetailsResponse> getRecommendationReportDetails​(GetRecommendationReportDetailsRequest getRecommendationReportDetailsRequest)

        Retrieves detailed information about the specified recommendation report.

        Parameters:
        getRecommendationReportDetailsRequest -
        Returns:
        A Java Future containing the result of the GetRecommendationReportDetails operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
        • ResourceNotFoundException The specified ID in the request is not found.
        • AccessDeniedException The user does not have permission to perform the action. Check the AWS Identity and Access Management (IAM) policy associated with this user.
        • ThrottlingException The request was denied due to request throttling.
        • ValidationException The request body isn't valid.
        • InternalServerException The server experienced an internal error. Try again.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • MigrationHubStrategyException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • getRecommendationReportDetails

        default CompletableFuture<GetRecommendationReportDetailsResponse> getRecommendationReportDetails​(Consumer<GetRecommendationReportDetailsRequest.Builder> getRecommendationReportDetailsRequest)

        Retrieves detailed information about the specified recommendation report.


        This is a convenience which creates an instance of the GetRecommendationReportDetailsRequest.Builder avoiding the need to create one manually via GetRecommendationReportDetailsRequest.builder()

        Parameters:
        getRecommendationReportDetailsRequest - A Consumer that will call methods on GetRecommendationReportDetailsRequest.Builder to create a request.
        Returns:
        A Java Future containing the result of the GetRecommendationReportDetails operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
        • ResourceNotFoundException The specified ID in the request is not found.
        • AccessDeniedException The user does not have permission to perform the action. Check the AWS Identity and Access Management (IAM) policy associated with this user.
        • ThrottlingException The request was denied due to request throttling.
        • ValidationException The request body isn't valid.
        • InternalServerException The server experienced an internal error. Try again.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • MigrationHubStrategyException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • getServerDetails

        default CompletableFuture<GetServerDetailsResponse> getServerDetails​(GetServerDetailsRequest getServerDetailsRequest)

        Retrieves detailed information about a specified server.

        Parameters:
        getServerDetailsRequest -
        Returns:
        A Java Future containing the result of the GetServerDetails operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
        • ResourceNotFoundException The specified ID in the request is not found.
        • AccessDeniedException The user does not have permission to perform the action. Check the AWS Identity and Access Management (IAM) policy associated with this user.
        • ThrottlingException The request was denied due to request throttling.
        • ValidationException The request body isn't valid.
        • InternalServerException The server experienced an internal error. Try again.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • MigrationHubStrategyException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • getServerDetails

        default CompletableFuture<GetServerDetailsResponse> getServerDetails​(Consumer<GetServerDetailsRequest.Builder> getServerDetailsRequest)

        Retrieves detailed information about a specified server.


        This is a convenience which creates an instance of the GetServerDetailsRequest.Builder avoiding the need to create one manually via GetServerDetailsRequest.builder()

        Parameters:
        getServerDetailsRequest - A Consumer that will call methods on GetServerDetailsRequest.Builder to create a request.
        Returns:
        A Java Future containing the result of the GetServerDetails operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
        • ResourceNotFoundException The specified ID in the request is not found.
        • AccessDeniedException The user does not have permission to perform the action. Check the AWS Identity and Access Management (IAM) policy associated with this user.
        • ThrottlingException The request was denied due to request throttling.
        • ValidationException The request body isn't valid.
        • InternalServerException The server experienced an internal error. Try again.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • MigrationHubStrategyException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • getServerDetailsPaginator

        default GetServerDetailsPublisher getServerDetailsPaginator​(GetServerDetailsRequest getServerDetailsRequest)

        This is a variant of getServerDetails(software.amazon.awssdk.services.migrationhubstrategy.model.GetServerDetailsRequest) operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.

        When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a new Subscription i.e., a new contract to stream data from the starting request.

        The following are few ways to use the response class:

        1) Using the subscribe helper method
         
         software.amazon.awssdk.services.migrationhubstrategy.paginators.GetServerDetailsPublisher publisher = client.getServerDetailsPaginator(request);
         CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
         future.get();
         
         
        2) Using a custom subscriber
         
         software.amazon.awssdk.services.migrationhubstrategy.paginators.GetServerDetailsPublisher publisher = client.getServerDetailsPaginator(request);
         publisher.subscribe(new Subscriber<software.amazon.awssdk.services.migrationhubstrategy.model.GetServerDetailsResponse>() {
         
         public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
         
         
         public void onNext(software.amazon.awssdk.services.migrationhubstrategy.model.GetServerDetailsResponse response) { //... };
         });
         
        As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.

        Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.

        Note: If you prefer to have control on service calls, use the getServerDetails(software.amazon.awssdk.services.migrationhubstrategy.model.GetServerDetailsRequest) operation.

        Parameters:
        getServerDetailsRequest -
        Returns:
        A custom publisher that can be subscribed to request a stream of response pages.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
        • ResourceNotFoundException The specified ID in the request is not found.
        • AccessDeniedException The user does not have permission to perform the action. Check the AWS Identity and Access Management (IAM) policy associated with this user.
        • ThrottlingException The request was denied due to request throttling.
        • ValidationException The request body isn't valid.
        • InternalServerException The server experienced an internal error. Try again.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • MigrationHubStrategyException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • getServerDetailsPaginator

        default GetServerDetailsPublisher getServerDetailsPaginator​(Consumer<GetServerDetailsRequest.Builder> getServerDetailsRequest)

        This is a variant of getServerDetails(software.amazon.awssdk.services.migrationhubstrategy.model.GetServerDetailsRequest) operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.

        When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a new Subscription i.e., a new contract to stream data from the starting request.

        The following are few ways to use the response class:

        1) Using the subscribe helper method
         
         software.amazon.awssdk.services.migrationhubstrategy.paginators.GetServerDetailsPublisher publisher = client.getServerDetailsPaginator(request);
         CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
         future.get();
         
         
        2) Using a custom subscriber
         
         software.amazon.awssdk.services.migrationhubstrategy.paginators.GetServerDetailsPublisher publisher = client.getServerDetailsPaginator(request);
         publisher.subscribe(new Subscriber<software.amazon.awssdk.services.migrationhubstrategy.model.GetServerDetailsResponse>() {
         
         public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
         
         
         public void onNext(software.amazon.awssdk.services.migrationhubstrategy.model.GetServerDetailsResponse response) { //... };
         });
         
        As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.

        Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.

        Note: If you prefer to have control on service calls, use the getServerDetails(software.amazon.awssdk.services.migrationhubstrategy.model.GetServerDetailsRequest) operation.


        This is a convenience which creates an instance of the GetServerDetailsRequest.Builder avoiding the need to create one manually via GetServerDetailsRequest.builder()

        Parameters:
        getServerDetailsRequest - A Consumer that will call methods on GetServerDetailsRequest.Builder to create a request.
        Returns:
        A custom publisher that can be subscribed to request a stream of response pages.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
        • ResourceNotFoundException The specified ID in the request is not found.
        • AccessDeniedException The user does not have permission to perform the action. Check the AWS Identity and Access Management (IAM) policy associated with this user.
        • ThrottlingException The request was denied due to request throttling.
        • ValidationException The request body isn't valid.
        • InternalServerException The server experienced an internal error. Try again.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • MigrationHubStrategyException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • getServerStrategies

        default CompletableFuture<GetServerStrategiesResponse> getServerStrategies​(GetServerStrategiesRequest getServerStrategiesRequest)

        Retrieves recommended strategies and tools for the specified server.

        Parameters:
        getServerStrategiesRequest -
        Returns:
        A Java Future containing the result of the GetServerStrategies operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
        • ResourceNotFoundException The specified ID in the request is not found.
        • AccessDeniedException The user does not have permission to perform the action. Check the AWS Identity and Access Management (IAM) policy associated with this user.
        • ThrottlingException The request was denied due to request throttling.
        • ValidationException The request body isn't valid.
        • InternalServerException The server experienced an internal error. Try again.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • MigrationHubStrategyException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • getServerStrategies

        default CompletableFuture<GetServerStrategiesResponse> getServerStrategies​(Consumer<GetServerStrategiesRequest.Builder> getServerStrategiesRequest)

        Retrieves recommended strategies and tools for the specified server.


        This is a convenience which creates an instance of the GetServerStrategiesRequest.Builder avoiding the need to create one manually via GetServerStrategiesRequest.builder()

        Parameters:
        getServerStrategiesRequest - A Consumer that will call methods on GetServerStrategiesRequest.Builder to create a request.
        Returns:
        A Java Future containing the result of the GetServerStrategies operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
        • ResourceNotFoundException The specified ID in the request is not found.
        • AccessDeniedException The user does not have permission to perform the action. Check the AWS Identity and Access Management (IAM) policy associated with this user.
        • ThrottlingException The request was denied due to request throttling.
        • ValidationException The request body isn't valid.
        • InternalServerException The server experienced an internal error. Try again.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • MigrationHubStrategyException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • listAnalyzableServers

        default CompletableFuture<ListAnalyzableServersResponse> listAnalyzableServers​(ListAnalyzableServersRequest listAnalyzableServersRequest)

        Retrieves a list of all the servers fetched from customer vCenter using Strategy Recommendation Collector.

        Parameters:
        listAnalyzableServersRequest - Represents input for ListAnalyzableServers operation.
        Returns:
        A Java Future containing the result of the ListAnalyzableServers operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
        • AccessDeniedException The user does not have permission to perform the action. Check the AWS Identity and Access Management (IAM) policy associated with this user.
        • ThrottlingException The request was denied due to request throttling.
        • ValidationException The request body isn't valid.
        • InternalServerException The server experienced an internal error. Try again.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • MigrationHubStrategyException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • listAnalyzableServers

        default CompletableFuture<ListAnalyzableServersResponse> listAnalyzableServers​(Consumer<ListAnalyzableServersRequest.Builder> listAnalyzableServersRequest)

        Retrieves a list of all the servers fetched from customer vCenter using Strategy Recommendation Collector.


        This is a convenience which creates an instance of the ListAnalyzableServersRequest.Builder avoiding the need to create one manually via ListAnalyzableServersRequest.builder()

        Parameters:
        listAnalyzableServersRequest - A Consumer that will call methods on ListAnalyzableServersRequest.Builder to create a request. Represents input for ListAnalyzableServers operation.
        Returns:
        A Java Future containing the result of the ListAnalyzableServers operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
        • AccessDeniedException The user does not have permission to perform the action. Check the AWS Identity and Access Management (IAM) policy associated with this user.
        • ThrottlingException The request was denied due to request throttling.
        • ValidationException The request body isn't valid.
        • InternalServerException The server experienced an internal error. Try again.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • MigrationHubStrategyException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • listAnalyzableServersPaginator

        default ListAnalyzableServersPublisher listAnalyzableServersPaginator​(ListAnalyzableServersRequest listAnalyzableServersRequest)

        This is a variant of listAnalyzableServers(software.amazon.awssdk.services.migrationhubstrategy.model.ListAnalyzableServersRequest) operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.

        When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a new Subscription i.e., a new contract to stream data from the starting request.

        The following are few ways to use the response class:

        1) Using the subscribe helper method
         
         software.amazon.awssdk.services.migrationhubstrategy.paginators.ListAnalyzableServersPublisher publisher = client.listAnalyzableServersPaginator(request);
         CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
         future.get();
         
         
        2) Using a custom subscriber
         
         software.amazon.awssdk.services.migrationhubstrategy.paginators.ListAnalyzableServersPublisher publisher = client.listAnalyzableServersPaginator(request);
         publisher.subscribe(new Subscriber<software.amazon.awssdk.services.migrationhubstrategy.model.ListAnalyzableServersResponse>() {
         
         public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
         
         
         public void onNext(software.amazon.awssdk.services.migrationhubstrategy.model.ListAnalyzableServersResponse response) { //... };
         });
         
        As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.

        Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.

        Note: If you prefer to have control on service calls, use the listAnalyzableServers(software.amazon.awssdk.services.migrationhubstrategy.model.ListAnalyzableServersRequest) operation.

        Parameters:
        listAnalyzableServersRequest - Represents input for ListAnalyzableServers operation.
        Returns:
        A custom publisher that can be subscribed to request a stream of response pages.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
        • AccessDeniedException The user does not have permission to perform the action. Check the AWS Identity and Access Management (IAM) policy associated with this user.
        • ThrottlingException The request was denied due to request throttling.
        • ValidationException The request body isn't valid.
        • InternalServerException The server experienced an internal error. Try again.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • MigrationHubStrategyException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • listAnalyzableServersPaginator

        default ListAnalyzableServersPublisher listAnalyzableServersPaginator​(Consumer<ListAnalyzableServersRequest.Builder> listAnalyzableServersRequest)

        This is a variant of listAnalyzableServers(software.amazon.awssdk.services.migrationhubstrategy.model.ListAnalyzableServersRequest) operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.

        When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a new Subscription i.e., a new contract to stream data from the starting request.

        The following are few ways to use the response class:

        1) Using the subscribe helper method
         
         software.amazon.awssdk.services.migrationhubstrategy.paginators.ListAnalyzableServersPublisher publisher = client.listAnalyzableServersPaginator(request);
         CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
         future.get();
         
         
        2) Using a custom subscriber
         
         software.amazon.awssdk.services.migrationhubstrategy.paginators.ListAnalyzableServersPublisher publisher = client.listAnalyzableServersPaginator(request);
         publisher.subscribe(new Subscriber<software.amazon.awssdk.services.migrationhubstrategy.model.ListAnalyzableServersResponse>() {
         
         public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
         
         
         public void onNext(software.amazon.awssdk.services.migrationhubstrategy.model.ListAnalyzableServersResponse response) { //... };
         });
         
        As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.

        Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.

        Note: If you prefer to have control on service calls, use the listAnalyzableServers(software.amazon.awssdk.services.migrationhubstrategy.model.ListAnalyzableServersRequest) operation.


        This is a convenience which creates an instance of the ListAnalyzableServersRequest.Builder avoiding the need to create one manually via ListAnalyzableServersRequest.builder()

        Parameters:
        listAnalyzableServersRequest - A Consumer that will call methods on ListAnalyzableServersRequest.Builder to create a request. Represents input for ListAnalyzableServers operation.
        Returns:
        A custom publisher that can be subscribed to request a stream of response pages.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
        • AccessDeniedException The user does not have permission to perform the action. Check the AWS Identity and Access Management (IAM) policy associated with this user.
        • ThrottlingException The request was denied due to request throttling.
        • ValidationException The request body isn't valid.
        • InternalServerException The server experienced an internal error. Try again.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • MigrationHubStrategyException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • listApplicationComponents

        default CompletableFuture<ListApplicationComponentsResponse> listApplicationComponents​(ListApplicationComponentsRequest listApplicationComponentsRequest)

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

        Parameters:
        listApplicationComponentsRequest -
        Returns:
        A Java Future containing the result of the ListApplicationComponents operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
        • AccessDeniedException The user does not have permission to perform the action. Check the AWS Identity and Access Management (IAM) policy associated with this user.
        • ServiceLinkedRoleLockClientException Exception to indicate that the service-linked role (SLR) is locked.
        • ValidationException The request body isn't valid.
        • InternalServerException The server experienced an internal error. Try again.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • MigrationHubStrategyException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • listApplicationComponents

        default CompletableFuture<ListApplicationComponentsResponse> listApplicationComponents​(Consumer<ListApplicationComponentsRequest.Builder> listApplicationComponentsRequest)

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


        This is a convenience which creates an instance of the ListApplicationComponentsRequest.Builder avoiding the need to create one manually via ListApplicationComponentsRequest.builder()

        Parameters:
        listApplicationComponentsRequest - A Consumer that will call methods on ListApplicationComponentsRequest.Builder to create a request.
        Returns:
        A Java Future containing the result of the ListApplicationComponents operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
        • AccessDeniedException The user does not have permission to perform the action. Check the AWS Identity and Access Management (IAM) policy associated with this user.
        • ServiceLinkedRoleLockClientException Exception to indicate that the service-linked role (SLR) is locked.
        • ValidationException The request body isn't valid.
        • InternalServerException The server experienced an internal error. Try again.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • MigrationHubStrategyException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • listApplicationComponentsPaginator

        default ListApplicationComponentsPublisher listApplicationComponentsPaginator​(ListApplicationComponentsRequest listApplicationComponentsRequest)

        This is a variant of listApplicationComponents(software.amazon.awssdk.services.migrationhubstrategy.model.ListApplicationComponentsRequest) operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.

        When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a new Subscription i.e., a new contract to stream data from the starting request.

        The following are few ways to use the response class:

        1) Using the subscribe helper method
         
         software.amazon.awssdk.services.migrationhubstrategy.paginators.ListApplicationComponentsPublisher publisher = client.listApplicationComponentsPaginator(request);
         CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
         future.get();
         
         
        2) Using a custom subscriber
         
         software.amazon.awssdk.services.migrationhubstrategy.paginators.ListApplicationComponentsPublisher publisher = client.listApplicationComponentsPaginator(request);
         publisher.subscribe(new Subscriber<software.amazon.awssdk.services.migrationhubstrategy.model.ListApplicationComponentsResponse>() {
         
         public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
         
         
         public void onNext(software.amazon.awssdk.services.migrationhubstrategy.model.ListApplicationComponentsResponse response) { //... };
         });
         
        As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.

        Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.

        Note: If you prefer to have control on service calls, use the listApplicationComponents(software.amazon.awssdk.services.migrationhubstrategy.model.ListApplicationComponentsRequest) operation.

        Parameters:
        listApplicationComponentsRequest -
        Returns:
        A custom publisher that can be subscribed to request a stream of response pages.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
        • AccessDeniedException The user does not have permission to perform the action. Check the AWS Identity and Access Management (IAM) policy associated with this user.
        • ServiceLinkedRoleLockClientException Exception to indicate that the service-linked role (SLR) is locked.
        • ValidationException The request body isn't valid.
        • InternalServerException The server experienced an internal error. Try again.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • MigrationHubStrategyException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • listApplicationComponentsPaginator

        default ListApplicationComponentsPublisher listApplicationComponentsPaginator​(Consumer<ListApplicationComponentsRequest.Builder> listApplicationComponentsRequest)

        This is a variant of listApplicationComponents(software.amazon.awssdk.services.migrationhubstrategy.model.ListApplicationComponentsRequest) operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.

        When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a new Subscription i.e., a new contract to stream data from the starting request.

        The following are few ways to use the response class:

        1) Using the subscribe helper method
         
         software.amazon.awssdk.services.migrationhubstrategy.paginators.ListApplicationComponentsPublisher publisher = client.listApplicationComponentsPaginator(request);
         CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
         future.get();
         
         
        2) Using a custom subscriber
         
         software.amazon.awssdk.services.migrationhubstrategy.paginators.ListApplicationComponentsPublisher publisher = client.listApplicationComponentsPaginator(request);
         publisher.subscribe(new Subscriber<software.amazon.awssdk.services.migrationhubstrategy.model.ListApplicationComponentsResponse>() {
         
         public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
         
         
         public void onNext(software.amazon.awssdk.services.migrationhubstrategy.model.ListApplicationComponentsResponse response) { //... };
         });
         
        As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.

        Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.

        Note: If you prefer to have control on service calls, use the listApplicationComponents(software.amazon.awssdk.services.migrationhubstrategy.model.ListApplicationComponentsRequest) operation.


        This is a convenience which creates an instance of the ListApplicationComponentsRequest.Builder avoiding the need to create one manually via ListApplicationComponentsRequest.builder()

        Parameters:
        listApplicationComponentsRequest - A Consumer that will call methods on ListApplicationComponentsRequest.Builder to create a request.
        Returns:
        A custom publisher that can be subscribed to request a stream of response pages.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
        • AccessDeniedException The user does not have permission to perform the action. Check the AWS Identity and Access Management (IAM) policy associated with this user.
        • ServiceLinkedRoleLockClientException Exception to indicate that the service-linked role (SLR) is locked.
        • ValidationException The request body isn't valid.
        • InternalServerException The server experienced an internal error. Try again.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • MigrationHubStrategyException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • listCollectors

        default CompletableFuture<ListCollectorsResponse> listCollectors​(ListCollectorsRequest listCollectorsRequest)

        Retrieves a list of all the installed collectors.

        Parameters:
        listCollectorsRequest -
        Returns:
        A Java Future containing the result of the ListCollectors operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
        • AccessDeniedException The user does not have permission to perform the action. Check the AWS Identity and Access Management (IAM) policy associated with this user.
        • ThrottlingException The request was denied due to request throttling.
        • ValidationException The request body isn't valid.
        • InternalServerException The server experienced an internal error. Try again.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • MigrationHubStrategyException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • listCollectors

        default CompletableFuture<ListCollectorsResponse> listCollectors​(Consumer<ListCollectorsRequest.Builder> listCollectorsRequest)

        Retrieves a list of all the installed collectors.


        This is a convenience which creates an instance of the ListCollectorsRequest.Builder avoiding the need to create one manually via ListCollectorsRequest.builder()

        Parameters:
        listCollectorsRequest - A Consumer that will call methods on ListCollectorsRequest.Builder to create a request.
        Returns:
        A Java Future containing the result of the ListCollectors operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
        • AccessDeniedException The user does not have permission to perform the action. Check the AWS Identity and Access Management (IAM) policy associated with this user.
        • ThrottlingException The request was denied due to request throttling.
        • ValidationException The request body isn't valid.
        • InternalServerException The server experienced an internal error. Try again.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • MigrationHubStrategyException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • listCollectorsPaginator

        default ListCollectorsPublisher listCollectorsPaginator​(ListCollectorsRequest listCollectorsRequest)

        This is a variant of listCollectors(software.amazon.awssdk.services.migrationhubstrategy.model.ListCollectorsRequest) operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.

        When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a new Subscription i.e., a new contract to stream data from the starting request.

        The following are few ways to use the response class:

        1) Using the subscribe helper method
         
         software.amazon.awssdk.services.migrationhubstrategy.paginators.ListCollectorsPublisher publisher = client.listCollectorsPaginator(request);
         CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
         future.get();
         
         
        2) Using a custom subscriber
         
         software.amazon.awssdk.services.migrationhubstrategy.paginators.ListCollectorsPublisher publisher = client.listCollectorsPaginator(request);
         publisher.subscribe(new Subscriber<software.amazon.awssdk.services.migrationhubstrategy.model.ListCollectorsResponse>() {
         
         public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
         
         
         public void onNext(software.amazon.awssdk.services.migrationhubstrategy.model.ListCollectorsResponse response) { //... };
         });
         
        As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.

        Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.

        Note: If you prefer to have control on service calls, use the listCollectors(software.amazon.awssdk.services.migrationhubstrategy.model.ListCollectorsRequest) operation.

        Parameters:
        listCollectorsRequest -
        Returns:
        A custom publisher that can be subscribed to request a stream of response pages.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
        • AccessDeniedException The user does not have permission to perform the action. Check the AWS Identity and Access Management (IAM) policy associated with this user.
        • ThrottlingException The request was denied due to request throttling.
        • ValidationException The request body isn't valid.
        • InternalServerException The server experienced an internal error. Try again.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • MigrationHubStrategyException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • listCollectorsPaginator

        default ListCollectorsPublisher listCollectorsPaginator​(Consumer<ListCollectorsRequest.Builder> listCollectorsRequest)

        This is a variant of listCollectors(software.amazon.awssdk.services.migrationhubstrategy.model.ListCollectorsRequest) operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.

        When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a new Subscription i.e., a new contract to stream data from the starting request.

        The following are few ways to use the response class:

        1) Using the subscribe helper method
         
         software.amazon.awssdk.services.migrationhubstrategy.paginators.ListCollectorsPublisher publisher = client.listCollectorsPaginator(request);
         CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
         future.get();
         
         
        2) Using a custom subscriber
         
         software.amazon.awssdk.services.migrationhubstrategy.paginators.ListCollectorsPublisher publisher = client.listCollectorsPaginator(request);
         publisher.subscribe(new Subscriber<software.amazon.awssdk.services.migrationhubstrategy.model.ListCollectorsResponse>() {
         
         public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
         
         
         public void onNext(software.amazon.awssdk.services.migrationhubstrategy.model.ListCollectorsResponse response) { //... };
         });
         
        As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.

        Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.

        Note: If you prefer to have control on service calls, use the listCollectors(software.amazon.awssdk.services.migrationhubstrategy.model.ListCollectorsRequest) operation.


        This is a convenience which creates an instance of the ListCollectorsRequest.Builder avoiding the need to create one manually via ListCollectorsRequest.builder()

        Parameters:
        listCollectorsRequest - A Consumer that will call methods on ListCollectorsRequest.Builder to create a request.
        Returns:
        A custom publisher that can be subscribed to request a stream of response pages.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
        • AccessDeniedException The user does not have permission to perform the action. Check the AWS Identity and Access Management (IAM) policy associated with this user.
        • ThrottlingException The request was denied due to request throttling.
        • ValidationException The request body isn't valid.
        • InternalServerException The server experienced an internal error. Try again.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • MigrationHubStrategyException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • listImportFileTask

        default CompletableFuture<ListImportFileTaskResponse> listImportFileTask​(ListImportFileTaskRequest listImportFileTaskRequest)

        Retrieves a list of all the imports performed.

        Parameters:
        listImportFileTaskRequest -
        Returns:
        A Java Future containing the result of the ListImportFileTask operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
        • AccessDeniedException The user does not have permission to perform the action. Check the AWS Identity and Access Management (IAM) policy associated with this user.
        • ThrottlingException The request was denied due to request throttling.
        • ValidationException The request body isn't valid.
        • InternalServerException The server experienced an internal error. Try again.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • MigrationHubStrategyException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • listImportFileTask

        default CompletableFuture<ListImportFileTaskResponse> listImportFileTask​(Consumer<ListImportFileTaskRequest.Builder> listImportFileTaskRequest)

        Retrieves a list of all the imports performed.


        This is a convenience which creates an instance of the ListImportFileTaskRequest.Builder avoiding the need to create one manually via ListImportFileTaskRequest.builder()

        Parameters:
        listImportFileTaskRequest - A Consumer that will call methods on ListImportFileTaskRequest.Builder to create a request.
        Returns:
        A Java Future containing the result of the ListImportFileTask operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
        • AccessDeniedException The user does not have permission to perform the action. Check the AWS Identity and Access Management (IAM) policy associated with this user.
        • ThrottlingException The request was denied due to request throttling.
        • ValidationException The request body isn't valid.
        • InternalServerException The server experienced an internal error. Try again.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • MigrationHubStrategyException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • listImportFileTaskPaginator

        default ListImportFileTaskPublisher listImportFileTaskPaginator​(ListImportFileTaskRequest listImportFileTaskRequest)

        This is a variant of listImportFileTask(software.amazon.awssdk.services.migrationhubstrategy.model.ListImportFileTaskRequest) operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.

        When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a new Subscription i.e., a new contract to stream data from the starting request.

        The following are few ways to use the response class:

        1) Using the subscribe helper method
         
         software.amazon.awssdk.services.migrationhubstrategy.paginators.ListImportFileTaskPublisher publisher = client.listImportFileTaskPaginator(request);
         CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
         future.get();
         
         
        2) Using a custom subscriber
         
         software.amazon.awssdk.services.migrationhubstrategy.paginators.ListImportFileTaskPublisher publisher = client.listImportFileTaskPaginator(request);
         publisher.subscribe(new Subscriber<software.amazon.awssdk.services.migrationhubstrategy.model.ListImportFileTaskResponse>() {
         
         public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
         
         
         public void onNext(software.amazon.awssdk.services.migrationhubstrategy.model.ListImportFileTaskResponse response) { //... };
         });
         
        As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.

        Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.

        Note: If you prefer to have control on service calls, use the listImportFileTask(software.amazon.awssdk.services.migrationhubstrategy.model.ListImportFileTaskRequest) operation.

        Parameters:
        listImportFileTaskRequest -
        Returns:
        A custom publisher that can be subscribed to request a stream of response pages.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
        • AccessDeniedException The user does not have permission to perform the action. Check the AWS Identity and Access Management (IAM) policy associated with this user.
        • ThrottlingException The request was denied due to request throttling.
        • ValidationException The request body isn't valid.
        • InternalServerException The server experienced an internal error. Try again.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • MigrationHubStrategyException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • listImportFileTaskPaginator

        default ListImportFileTaskPublisher listImportFileTaskPaginator​(Consumer<ListImportFileTaskRequest.Builder> listImportFileTaskRequest)

        This is a variant of listImportFileTask(software.amazon.awssdk.services.migrationhubstrategy.model.ListImportFileTaskRequest) operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.

        When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a new Subscription i.e., a new contract to stream data from the starting request.

        The following are few ways to use the response class:

        1) Using the subscribe helper method
         
         software.amazon.awssdk.services.migrationhubstrategy.paginators.ListImportFileTaskPublisher publisher = client.listImportFileTaskPaginator(request);
         CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
         future.get();
         
         
        2) Using a custom subscriber
         
         software.amazon.awssdk.services.migrationhubstrategy.paginators.ListImportFileTaskPublisher publisher = client.listImportFileTaskPaginator(request);
         publisher.subscribe(new Subscriber<software.amazon.awssdk.services.migrationhubstrategy.model.ListImportFileTaskResponse>() {
         
         public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
         
         
         public void onNext(software.amazon.awssdk.services.migrationhubstrategy.model.ListImportFileTaskResponse response) { //... };
         });
         
        As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.

        Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.

        Note: If you prefer to have control on service calls, use the listImportFileTask(software.amazon.awssdk.services.migrationhubstrategy.model.ListImportFileTaskRequest) operation.


        This is a convenience which creates an instance of the ListImportFileTaskRequest.Builder avoiding the need to create one manually via ListImportFileTaskRequest.builder()

        Parameters:
        listImportFileTaskRequest - A Consumer that will call methods on ListImportFileTaskRequest.Builder to create a request.
        Returns:
        A custom publisher that can be subscribed to request a stream of response pages.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
        • AccessDeniedException The user does not have permission to perform the action. Check the AWS Identity and Access Management (IAM) policy associated with this user.
        • ThrottlingException The request was denied due to request throttling.
        • ValidationException The request body isn't valid.
        • InternalServerException The server experienced an internal error. Try again.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • MigrationHubStrategyException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • listServers

        default CompletableFuture<ListServersResponse> listServers​(ListServersRequest listServersRequest)

        Returns a list of all the servers.

        Parameters:
        listServersRequest -
        Returns:
        A Java Future containing the result of the ListServers operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
        • AccessDeniedException The user does not have permission to perform the action. Check the AWS Identity and Access Management (IAM) policy associated with this user.
        • ThrottlingException The request was denied due to request throttling.
        • ValidationException The request body isn't valid.
        • InternalServerException The server experienced an internal error. Try again.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • MigrationHubStrategyException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • listServers

        default CompletableFuture<ListServersResponse> listServers​(Consumer<ListServersRequest.Builder> listServersRequest)

        Returns a list of all the servers.


        This is a convenience which creates an instance of the ListServersRequest.Builder avoiding the need to create one manually via ListServersRequest.builder()

        Parameters:
        listServersRequest - A Consumer that will call methods on ListServersRequest.Builder to create a request.
        Returns:
        A Java Future containing the result of the ListServers operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
        • AccessDeniedException The user does not have permission to perform the action. Check the AWS Identity and Access Management (IAM) policy associated with this user.
        • ThrottlingException The request was denied due to request throttling.
        • ValidationException The request body isn't valid.
        • InternalServerException The server experienced an internal error. Try again.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • MigrationHubStrategyException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • listServersPaginator

        default ListServersPublisher listServersPaginator​(ListServersRequest listServersRequest)

        This is a variant of listServers(software.amazon.awssdk.services.migrationhubstrategy.model.ListServersRequest) operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.

        When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a new Subscription i.e., a new contract to stream data from the starting request.

        The following are few ways to use the response class:

        1) Using the subscribe helper method
         
         software.amazon.awssdk.services.migrationhubstrategy.paginators.ListServersPublisher publisher = client.listServersPaginator(request);
         CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
         future.get();
         
         
        2) Using a custom subscriber
         
         software.amazon.awssdk.services.migrationhubstrategy.paginators.ListServersPublisher publisher = client.listServersPaginator(request);
         publisher.subscribe(new Subscriber<software.amazon.awssdk.services.migrationhubstrategy.model.ListServersResponse>() {
         
         public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
         
         
         public void onNext(software.amazon.awssdk.services.migrationhubstrategy.model.ListServersResponse response) { //... };
         });
         
        As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.

        Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.

        Note: If you prefer to have control on service calls, use the listServers(software.amazon.awssdk.services.migrationhubstrategy.model.ListServersRequest) operation.

        Parameters:
        listServersRequest -
        Returns:
        A custom publisher that can be subscribed to request a stream of response pages.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
        • AccessDeniedException The user does not have permission to perform the action. Check the AWS Identity and Access Management (IAM) policy associated with this user.
        • ThrottlingException The request was denied due to request throttling.
        • ValidationException The request body isn't valid.
        • InternalServerException The server experienced an internal error. Try again.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • MigrationHubStrategyException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • listServersPaginator

        default ListServersPublisher listServersPaginator​(Consumer<ListServersRequest.Builder> listServersRequest)

        This is a variant of listServers(software.amazon.awssdk.services.migrationhubstrategy.model.ListServersRequest) operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.

        When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a new Subscription i.e., a new contract to stream data from the starting request.

        The following are few ways to use the response class:

        1) Using the subscribe helper method
         
         software.amazon.awssdk.services.migrationhubstrategy.paginators.ListServersPublisher publisher = client.listServersPaginator(request);
         CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
         future.get();
         
         
        2) Using a custom subscriber
         
         software.amazon.awssdk.services.migrationhubstrategy.paginators.ListServersPublisher publisher = client.listServersPaginator(request);
         publisher.subscribe(new Subscriber<software.amazon.awssdk.services.migrationhubstrategy.model.ListServersResponse>() {
         
         public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
         
         
         public void onNext(software.amazon.awssdk.services.migrationhubstrategy.model.ListServersResponse response) { //... };
         });
         
        As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.

        Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.

        Note: If you prefer to have control on service calls, use the listServers(software.amazon.awssdk.services.migrationhubstrategy.model.ListServersRequest) operation.


        This is a convenience which creates an instance of the ListServersRequest.Builder avoiding the need to create one manually via ListServersRequest.builder()

        Parameters:
        listServersRequest - A Consumer that will call methods on ListServersRequest.Builder to create a request.
        Returns:
        A custom publisher that can be subscribed to request a stream of response pages.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
        • AccessDeniedException The user does not have permission to perform the action. Check the AWS Identity and Access Management (IAM) policy associated with this user.
        • ThrottlingException The request was denied due to request throttling.
        • ValidationException The request body isn't valid.
        • InternalServerException The server experienced an internal error. Try again.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • MigrationHubStrategyException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • putPortfolioPreferences

        default CompletableFuture<PutPortfolioPreferencesResponse> putPortfolioPreferences​(PutPortfolioPreferencesRequest putPortfolioPreferencesRequest)

        Saves the specified migration and modernization preferences.

        Parameters:
        putPortfolioPreferencesRequest -
        Returns:
        A Java Future containing the result of the PutPortfolioPreferences operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
        • AccessDeniedException The user does not have permission to perform the action. Check the AWS Identity and Access Management (IAM) policy associated with this user.
        • ThrottlingException The request was denied due to request throttling.
        • ValidationException The request body isn't valid.
        • ConflictException Exception to indicate that there is an ongoing task when a new task is created. Return when once the existing tasks are complete.
        • InternalServerException The server experienced an internal error. Try again.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • MigrationHubStrategyException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • putPortfolioPreferences

        default CompletableFuture<PutPortfolioPreferencesResponse> putPortfolioPreferences​(Consumer<PutPortfolioPreferencesRequest.Builder> putPortfolioPreferencesRequest)

        Saves the specified migration and modernization preferences.


        This is a convenience which creates an instance of the PutPortfolioPreferencesRequest.Builder avoiding the need to create one manually via PutPortfolioPreferencesRequest.builder()

        Parameters:
        putPortfolioPreferencesRequest - A Consumer that will call methods on PutPortfolioPreferencesRequest.Builder to create a request.
        Returns:
        A Java Future containing the result of the PutPortfolioPreferences operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
        • AccessDeniedException The user does not have permission to perform the action. Check the AWS Identity and Access Management (IAM) policy associated with this user.
        • ThrottlingException The request was denied due to request throttling.
        • ValidationException The request body isn't valid.
        • ConflictException Exception to indicate that there is an ongoing task when a new task is created. Return when once the existing tasks are complete.
        • InternalServerException The server experienced an internal error. Try again.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • MigrationHubStrategyException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • startAssessment

        default CompletableFuture<StartAssessmentResponse> startAssessment​(StartAssessmentRequest startAssessmentRequest)

        Starts the assessment of an on-premises environment.

        Parameters:
        startAssessmentRequest -
        Returns:
        A Java Future containing the result of the StartAssessment operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
        • AccessDeniedException The user does not have permission to perform the action. Check the AWS Identity and Access Management (IAM) policy associated with this user.
        • ThrottlingException The request was denied due to request throttling.
        • ServiceQuotaExceededException The AWS account has reached its quota of imports. Contact AWS Support to increase the quota for this account.
        • InternalServerException The server experienced an internal error. Try again.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • MigrationHubStrategyException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • startAssessment

        default CompletableFuture<StartAssessmentResponse> startAssessment​(Consumer<StartAssessmentRequest.Builder> startAssessmentRequest)

        Starts the assessment of an on-premises environment.


        This is a convenience which creates an instance of the StartAssessmentRequest.Builder avoiding the need to create one manually via StartAssessmentRequest.builder()

        Parameters:
        startAssessmentRequest - A Consumer that will call methods on StartAssessmentRequest.Builder to create a request.
        Returns:
        A Java Future containing the result of the StartAssessment operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
        • AccessDeniedException The user does not have permission to perform the action. Check the AWS Identity and Access Management (IAM) policy associated with this user.
        • ThrottlingException The request was denied due to request throttling.
        • ServiceQuotaExceededException The AWS account has reached its quota of imports. Contact AWS Support to increase the quota for this account.
        • InternalServerException The server experienced an internal error. Try again.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • MigrationHubStrategyException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • startImportFileTask

        default CompletableFuture<StartImportFileTaskResponse> startImportFileTask​(StartImportFileTaskRequest startImportFileTaskRequest)

        Starts a file import.

        Parameters:
        startImportFileTaskRequest -
        Returns:
        A Java Future containing the result of the StartImportFileTask operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
        • AccessDeniedException The user does not have permission to perform the action. Check the AWS Identity and Access Management (IAM) policy associated with this user.
        • ThrottlingException The request was denied due to request throttling.
        • ServiceQuotaExceededException The AWS account has reached its quota of imports. Contact AWS Support to increase the quota for this account.
        • ValidationException The request body isn't valid.
        • InternalServerException The server experienced an internal error. Try again.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • MigrationHubStrategyException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • startImportFileTask

        default CompletableFuture<StartImportFileTaskResponse> startImportFileTask​(Consumer<StartImportFileTaskRequest.Builder> startImportFileTaskRequest)

        Starts a file import.


        This is a convenience which creates an instance of the StartImportFileTaskRequest.Builder avoiding the need to create one manually via StartImportFileTaskRequest.builder()

        Parameters:
        startImportFileTaskRequest - A Consumer that will call methods on StartImportFileTaskRequest.Builder to create a request.
        Returns:
        A Java Future containing the result of the StartImportFileTask operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
        • AccessDeniedException The user does not have permission to perform the action. Check the AWS Identity and Access Management (IAM) policy associated with this user.
        • ThrottlingException The request was denied due to request throttling.
        • ServiceQuotaExceededException The AWS account has reached its quota of imports. Contact AWS Support to increase the quota for this account.
        • ValidationException The request body isn't valid.
        • InternalServerException The server experienced an internal error. Try again.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • MigrationHubStrategyException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • startRecommendationReportGeneration

        default CompletableFuture<StartRecommendationReportGenerationResponse> startRecommendationReportGeneration​(StartRecommendationReportGenerationRequest startRecommendationReportGenerationRequest)

        Starts generating a recommendation report.

        Parameters:
        startRecommendationReportGenerationRequest -
        Returns:
        A Java Future containing the result of the StartRecommendationReportGeneration operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
        • AccessDeniedException The user does not have permission to perform the action. Check the AWS Identity and Access Management (IAM) policy associated with this user.
        • ThrottlingException The request was denied due to request throttling.
        • ValidationException The request body isn't valid.
        • ConflictException Exception to indicate that there is an ongoing task when a new task is created. Return when once the existing tasks are complete.
        • InternalServerException The server experienced an internal error. Try again.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • MigrationHubStrategyException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • startRecommendationReportGeneration

        default CompletableFuture<StartRecommendationReportGenerationResponse> startRecommendationReportGeneration​(Consumer<StartRecommendationReportGenerationRequest.Builder> startRecommendationReportGenerationRequest)

        Starts generating a recommendation report.


        This is a convenience which creates an instance of the StartRecommendationReportGenerationRequest.Builder avoiding the need to create one manually via StartRecommendationReportGenerationRequest.builder()

        Parameters:
        startRecommendationReportGenerationRequest - A Consumer that will call methods on StartRecommendationReportGenerationRequest.Builder to create a request.
        Returns:
        A Java Future containing the result of the StartRecommendationReportGeneration operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
        • AccessDeniedException The user does not have permission to perform the action. Check the AWS Identity and Access Management (IAM) policy associated with this user.
        • ThrottlingException The request was denied due to request throttling.
        • ValidationException The request body isn't valid.
        • ConflictException Exception to indicate that there is an ongoing task when a new task is created. Return when once the existing tasks are complete.
        • InternalServerException The server experienced an internal error. Try again.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • MigrationHubStrategyException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • stopAssessment

        default CompletableFuture<StopAssessmentResponse> stopAssessment​(StopAssessmentRequest stopAssessmentRequest)

        Stops the assessment of an on-premises environment.

        Parameters:
        stopAssessmentRequest -
        Returns:
        A Java Future containing the result of the StopAssessment operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
        • AccessDeniedException The user does not have permission to perform the action. Check the AWS Identity and Access Management (IAM) policy associated with this user.
        • ThrottlingException The request was denied due to request throttling.
        • ValidationException The request body isn't valid.
        • InternalServerException The server experienced an internal error. Try again.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • MigrationHubStrategyException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • stopAssessment

        default CompletableFuture<StopAssessmentResponse> stopAssessment​(Consumer<StopAssessmentRequest.Builder> stopAssessmentRequest)

        Stops the assessment of an on-premises environment.


        This is a convenience which creates an instance of the StopAssessmentRequest.Builder avoiding the need to create one manually via StopAssessmentRequest.builder()

        Parameters:
        stopAssessmentRequest - A Consumer that will call methods on StopAssessmentRequest.Builder to create a request.
        Returns:
        A Java Future containing the result of the StopAssessment operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
        • AccessDeniedException The user does not have permission to perform the action. Check the AWS Identity and Access Management (IAM) policy associated with this user.
        • ThrottlingException The request was denied due to request throttling.
        • ValidationException The request body isn't valid.
        • InternalServerException The server experienced an internal error. Try again.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • MigrationHubStrategyException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • updateApplicationComponentConfig

        default CompletableFuture<UpdateApplicationComponentConfigResponse> updateApplicationComponentConfig​(UpdateApplicationComponentConfigRequest updateApplicationComponentConfigRequest)

        Updates the configuration of an application component.

        Parameters:
        updateApplicationComponentConfigRequest -
        Returns:
        A Java Future containing the result of the UpdateApplicationComponentConfig operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
        • ResourceNotFoundException The specified ID in the request is not found.
        • ThrottlingException The request was denied due to request throttling.
        • ValidationException The request body isn't valid.
        • InternalServerException The server experienced an internal error. Try again.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • MigrationHubStrategyException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • updateApplicationComponentConfig

        default CompletableFuture<UpdateApplicationComponentConfigResponse> updateApplicationComponentConfig​(Consumer<UpdateApplicationComponentConfigRequest.Builder> updateApplicationComponentConfigRequest)

        Updates the configuration of an application component.


        This is a convenience which creates an instance of the UpdateApplicationComponentConfigRequest.Builder avoiding the need to create one manually via UpdateApplicationComponentConfigRequest.builder()

        Parameters:
        updateApplicationComponentConfigRequest - A Consumer that will call methods on UpdateApplicationComponentConfigRequest.Builder to create a request.
        Returns:
        A Java Future containing the result of the UpdateApplicationComponentConfig operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
        • ResourceNotFoundException The specified ID in the request is not found.
        • ThrottlingException The request was denied due to request throttling.
        • ValidationException The request body isn't valid.
        • InternalServerException The server experienced an internal error. Try again.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • MigrationHubStrategyException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • updateServerConfig

        default CompletableFuture<UpdateServerConfigResponse> updateServerConfig​(UpdateServerConfigRequest updateServerConfigRequest)

        Updates the configuration of the specified server.

        Parameters:
        updateServerConfigRequest -
        Returns:
        A Java Future containing the result of the UpdateServerConfig operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
        • ResourceNotFoundException The specified ID in the request is not found.
        • ThrottlingException The request was denied due to request throttling.
        • ValidationException The request body isn't valid.
        • InternalServerException The server experienced an internal error. Try again.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • MigrationHubStrategyException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • updateServerConfig

        default CompletableFuture<UpdateServerConfigResponse> updateServerConfig​(Consumer<UpdateServerConfigRequest.Builder> updateServerConfigRequest)

        Updates the configuration of the specified server.


        This is a convenience which creates an instance of the UpdateServerConfigRequest.Builder avoiding the need to create one manually via UpdateServerConfigRequest.builder()

        Parameters:
        updateServerConfigRequest - A Consumer that will call methods on UpdateServerConfigRequest.Builder to create a request.
        Returns:
        A Java Future containing the result of the UpdateServerConfig operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
        • ResourceNotFoundException The specified ID in the request is not found.
        • ThrottlingException The request was denied due to request throttling.
        • ValidationException The request body isn't valid.
        • InternalServerException The server experienced an internal error. Try again.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • MigrationHubStrategyException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation