Interface MigrationHubStrategyClient
- All Superinterfaces:
- AutoCloseable,- AwsClient,- SdkAutoCloseable,- SdkClient
builder() method.
 
 
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.
- 
Field SummaryFieldsModifier and TypeFieldDescriptionstatic final StringValue for looking up the service's metadata from theServiceMetadataProvider.static final String
- 
Method SummaryModifier and TypeMethodDescriptionbuilder()Create a builder that can be used to configure and create aMigrationHubStrategyClient.static MigrationHubStrategyClientcreate()Create aMigrationHubStrategyClientwith the region loaded from theDefaultAwsRegionProviderChainand credentials loaded from theDefaultCredentialsProvider.getApplicationComponentDetails(Consumer<GetApplicationComponentDetailsRequest.Builder> getApplicationComponentDetailsRequest) Retrieves details about an application component.getApplicationComponentDetails(GetApplicationComponentDetailsRequest getApplicationComponentDetailsRequest) Retrieves details about an application component.getApplicationComponentStrategies(Consumer<GetApplicationComponentStrategiesRequest.Builder> getApplicationComponentStrategiesRequest) Retrieves a list of all the recommended strategies and tools for an application component running on a server.getApplicationComponentStrategies(GetApplicationComponentStrategiesRequest getApplicationComponentStrategiesRequest) Retrieves a list of all the recommended strategies and tools for an application component running on a server.default GetAssessmentResponsegetAssessment(Consumer<GetAssessmentRequest.Builder> getAssessmentRequest) Retrieves the status of an on-going assessment.default GetAssessmentResponsegetAssessment(GetAssessmentRequest getAssessmentRequest) Retrieves the status of an on-going assessment.default GetImportFileTaskResponsegetImportFileTask(Consumer<GetImportFileTaskRequest.Builder> getImportFileTaskRequest) Retrieves the details about a specific import task.default GetImportFileTaskResponsegetImportFileTask(GetImportFileTaskRequest getImportFileTaskRequest) Retrieves the details about a specific import task.default GetLatestAssessmentIdResponsegetLatestAssessmentId(Consumer<GetLatestAssessmentIdRequest.Builder> getLatestAssessmentIdRequest) Retrieve the latest ID of a specific assessment task.default GetLatestAssessmentIdResponsegetLatestAssessmentId(GetLatestAssessmentIdRequest getLatestAssessmentIdRequest) Retrieve the latest ID of a specific assessment task.default GetPortfolioPreferencesResponsegetPortfolioPreferences(Consumer<GetPortfolioPreferencesRequest.Builder> getPortfolioPreferencesRequest) Retrieves your migration and modernization preferences.default GetPortfolioPreferencesResponsegetPortfolioPreferences(GetPortfolioPreferencesRequest getPortfolioPreferencesRequest) Retrieves your migration and modernization preferences.default GetPortfolioSummaryResponsegetPortfolioSummary(Consumer<GetPortfolioSummaryRequest.Builder> getPortfolioSummaryRequest) Retrieves overall summary including the number of servers to rehost and the overall number of anti-patterns.default GetPortfolioSummaryResponsegetPortfolioSummary(GetPortfolioSummaryRequest getPortfolioSummaryRequest) Retrieves overall summary including the number of servers to rehost and the overall number of anti-patterns.getRecommendationReportDetails(Consumer<GetRecommendationReportDetailsRequest.Builder> getRecommendationReportDetailsRequest) Retrieves detailed information about the specified recommendation report.getRecommendationReportDetails(GetRecommendationReportDetailsRequest getRecommendationReportDetailsRequest) Retrieves detailed information about the specified recommendation report.default GetServerDetailsResponsegetServerDetails(Consumer<GetServerDetailsRequest.Builder> getServerDetailsRequest) Retrieves detailed information about a specified server.default GetServerDetailsResponsegetServerDetails(GetServerDetailsRequest getServerDetailsRequest) Retrieves detailed information about a specified server.default GetServerDetailsIterablegetServerDetailsPaginator(Consumer<GetServerDetailsRequest.Builder> getServerDetailsRequest) This is a variant ofgetServerDetails(software.amazon.awssdk.services.migrationhubstrategy.model.GetServerDetailsRequest)operation.default GetServerDetailsIterablegetServerDetailsPaginator(GetServerDetailsRequest getServerDetailsRequest) This is a variant ofgetServerDetails(software.amazon.awssdk.services.migrationhubstrategy.model.GetServerDetailsRequest)operation.default GetServerStrategiesResponsegetServerStrategies(Consumer<GetServerStrategiesRequest.Builder> getServerStrategiesRequest) Retrieves recommended strategies and tools for the specified server.default GetServerStrategiesResponsegetServerStrategies(GetServerStrategiesRequest getServerStrategiesRequest) Retrieves recommended strategies and tools for the specified server.default ListAnalyzableServersResponselistAnalyzableServers(Consumer<ListAnalyzableServersRequest.Builder> listAnalyzableServersRequest) Retrieves a list of all the servers fetched from customer vCenter using Strategy Recommendation Collector.default ListAnalyzableServersResponselistAnalyzableServers(ListAnalyzableServersRequest listAnalyzableServersRequest) Retrieves a list of all the servers fetched from customer vCenter using Strategy Recommendation Collector.default ListAnalyzableServersIterablelistAnalyzableServersPaginator(Consumer<ListAnalyzableServersRequest.Builder> listAnalyzableServersRequest) This is a variant oflistAnalyzableServers(software.amazon.awssdk.services.migrationhubstrategy.model.ListAnalyzableServersRequest)operation.default ListAnalyzableServersIterablelistAnalyzableServersPaginator(ListAnalyzableServersRequest listAnalyzableServersRequest) This is a variant oflistAnalyzableServers(software.amazon.awssdk.services.migrationhubstrategy.model.ListAnalyzableServersRequest)operation.listApplicationComponents(Consumer<ListApplicationComponentsRequest.Builder> listApplicationComponentsRequest) Retrieves a list of all the application components (processes).listApplicationComponents(ListApplicationComponentsRequest listApplicationComponentsRequest) Retrieves a list of all the application components (processes).listApplicationComponentsPaginator(Consumer<ListApplicationComponentsRequest.Builder> listApplicationComponentsRequest) This is a variant oflistApplicationComponents(software.amazon.awssdk.services.migrationhubstrategy.model.ListApplicationComponentsRequest)operation.listApplicationComponentsPaginator(ListApplicationComponentsRequest listApplicationComponentsRequest) This is a variant oflistApplicationComponents(software.amazon.awssdk.services.migrationhubstrategy.model.ListApplicationComponentsRequest)operation.default ListCollectorsResponselistCollectors(Consumer<ListCollectorsRequest.Builder> listCollectorsRequest) Retrieves a list of all the installed collectors.default ListCollectorsResponselistCollectors(ListCollectorsRequest listCollectorsRequest) Retrieves a list of all the installed collectors.default ListCollectorsIterablelistCollectorsPaginator(Consumer<ListCollectorsRequest.Builder> listCollectorsRequest) This is a variant oflistCollectors(software.amazon.awssdk.services.migrationhubstrategy.model.ListCollectorsRequest)operation.default ListCollectorsIterablelistCollectorsPaginator(ListCollectorsRequest listCollectorsRequest) This is a variant oflistCollectors(software.amazon.awssdk.services.migrationhubstrategy.model.ListCollectorsRequest)operation.default ListImportFileTaskResponselistImportFileTask(Consumer<ListImportFileTaskRequest.Builder> listImportFileTaskRequest) Retrieves a list of all the imports performed.default ListImportFileTaskResponselistImportFileTask(ListImportFileTaskRequest listImportFileTaskRequest) Retrieves a list of all the imports performed.default ListImportFileTaskIterablelistImportFileTaskPaginator(Consumer<ListImportFileTaskRequest.Builder> listImportFileTaskRequest) This is a variant oflistImportFileTask(software.amazon.awssdk.services.migrationhubstrategy.model.ListImportFileTaskRequest)operation.default ListImportFileTaskIterablelistImportFileTaskPaginator(ListImportFileTaskRequest listImportFileTaskRequest) This is a variant oflistImportFileTask(software.amazon.awssdk.services.migrationhubstrategy.model.ListImportFileTaskRequest)operation.default ListServersResponselistServers(Consumer<ListServersRequest.Builder> listServersRequest) Returns a list of all the servers.default ListServersResponselistServers(ListServersRequest listServersRequest) Returns a list of all the servers.default ListServersIterablelistServersPaginator(Consumer<ListServersRequest.Builder> listServersRequest) This is a variant oflistServers(software.amazon.awssdk.services.migrationhubstrategy.model.ListServersRequest)operation.default ListServersIterablelistServersPaginator(ListServersRequest listServersRequest) This is a variant oflistServers(software.amazon.awssdk.services.migrationhubstrategy.model.ListServersRequest)operation.default PutPortfolioPreferencesResponseputPortfolioPreferences(Consumer<PutPortfolioPreferencesRequest.Builder> putPortfolioPreferencesRequest) Saves the specified migration and modernization preferences.default PutPortfolioPreferencesResponseputPortfolioPreferences(PutPortfolioPreferencesRequest putPortfolioPreferencesRequest) Saves the specified migration and modernization preferences.The SDK service client configuration exposes client settings to the user, e.g., ClientOverrideConfigurationstatic ServiceMetadatadefault StartAssessmentResponsestartAssessment(Consumer<StartAssessmentRequest.Builder> startAssessmentRequest) Starts the assessment of an on-premises environment.default StartAssessmentResponsestartAssessment(StartAssessmentRequest startAssessmentRequest) Starts the assessment of an on-premises environment.default StartImportFileTaskResponsestartImportFileTask(Consumer<StartImportFileTaskRequest.Builder> startImportFileTaskRequest) Starts a file import.default StartImportFileTaskResponsestartImportFileTask(StartImportFileTaskRequest startImportFileTaskRequest) Starts a file import.startRecommendationReportGeneration(Consumer<StartRecommendationReportGenerationRequest.Builder> startRecommendationReportGenerationRequest) Starts generating a recommendation report.startRecommendationReportGeneration(StartRecommendationReportGenerationRequest startRecommendationReportGenerationRequest) Starts generating a recommendation report.default StopAssessmentResponsestopAssessment(Consumer<StopAssessmentRequest.Builder> stopAssessmentRequest) Stops the assessment of an on-premises environment.default StopAssessmentResponsestopAssessment(StopAssessmentRequest stopAssessmentRequest) Stops the assessment of an on-premises environment.updateApplicationComponentConfig(Consumer<UpdateApplicationComponentConfigRequest.Builder> updateApplicationComponentConfigRequest) Updates the configuration of an application component.updateApplicationComponentConfig(UpdateApplicationComponentConfigRequest updateApplicationComponentConfigRequest) Updates the configuration of an application component.default UpdateServerConfigResponseupdateServerConfig(Consumer<UpdateServerConfigRequest.Builder> updateServerConfigRequest) Updates the configuration of the specified server.default UpdateServerConfigResponseupdateServerConfig(UpdateServerConfigRequest updateServerConfigRequest) Updates the configuration of the specified server.Methods inherited from interface software.amazon.awssdk.utils.SdkAutoCloseablecloseMethods inherited from interface software.amazon.awssdk.core.SdkClientserviceName
- 
Field Details- 
SERVICE_NAME- See Also:
 
- 
SERVICE_METADATA_IDValue for looking up the service's metadata from theServiceMetadataProvider.- See Also:
 
 
- 
- 
Method Details- 
getApplicationComponentDetailsdefault GetApplicationComponentDetailsResponse getApplicationComponentDetails(GetApplicationComponentDetailsRequest getApplicationComponentDetailsRequest) throws ResourceNotFoundException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, MigrationHubStrategyException Retrieves details about an application component. - Parameters:
- getApplicationComponentDetailsRequest-
- Returns:
- Result of the GetApplicationComponentDetails operation returned by the service.
- See Also:
 
- 
getApplicationComponentDetailsdefault GetApplicationComponentDetailsResponse getApplicationComponentDetails(Consumer<GetApplicationComponentDetailsRequest.Builder> getApplicationComponentDetailsRequest) throws ResourceNotFoundException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, MigrationHubStrategyException Retrieves details about an application component. 
 This is a convenience which creates an instance of the GetApplicationComponentDetailsRequest.Builderavoiding the need to create one manually viaGetApplicationComponentDetailsRequest.builder()- Parameters:
- getApplicationComponentDetailsRequest- A- Consumerthat will call methods on- GetApplicationComponentDetailsRequest.Builderto create a request.
- Returns:
- Result of the GetApplicationComponentDetails operation returned by the service.
- See Also:
 
- 
getApplicationComponentStrategiesdefault GetApplicationComponentStrategiesResponse getApplicationComponentStrategies(GetApplicationComponentStrategiesRequest getApplicationComponentStrategiesRequest) throws ResourceNotFoundException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, MigrationHubStrategyException Retrieves a list of all the recommended strategies and tools for an application component running on a server. - Parameters:
- getApplicationComponentStrategiesRequest-
- Returns:
- Result of the GetApplicationComponentStrategies operation returned by the service.
- See Also:
 
- 
getApplicationComponentStrategiesdefault GetApplicationComponentStrategiesResponse getApplicationComponentStrategies(Consumer<GetApplicationComponentStrategiesRequest.Builder> getApplicationComponentStrategiesRequest) throws ResourceNotFoundException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, MigrationHubStrategyException 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.Builderavoiding the need to create one manually viaGetApplicationComponentStrategiesRequest.builder()- Parameters:
- getApplicationComponentStrategiesRequest- A- Consumerthat will call methods on- GetApplicationComponentStrategiesRequest.Builderto create a request.
- Returns:
- Result of the GetApplicationComponentStrategies operation returned by the service.
- See Also:
 
- 
getAssessmentdefault GetAssessmentResponse getAssessment(GetAssessmentRequest getAssessmentRequest) throws ResourceNotFoundException, AccessDeniedException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, MigrationHubStrategyException Retrieves the status of an on-going assessment. - Parameters:
- getAssessmentRequest-
- Returns:
- Result of the GetAssessment operation returned by the service.
- See Also:
 
- 
getAssessmentdefault GetAssessmentResponse getAssessment(Consumer<GetAssessmentRequest.Builder> getAssessmentRequest) throws ResourceNotFoundException, AccessDeniedException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, MigrationHubStrategyException Retrieves the status of an on-going assessment. 
 This is a convenience which creates an instance of the GetAssessmentRequest.Builderavoiding the need to create one manually viaGetAssessmentRequest.builder()- Parameters:
- getAssessmentRequest- A- Consumerthat will call methods on- GetAssessmentRequest.Builderto create a request.
- Returns:
- Result of the GetAssessment operation returned by the service.
- See Also:
 
- 
getImportFileTaskdefault GetImportFileTaskResponse getImportFileTask(GetImportFileTaskRequest getImportFileTaskRequest) throws ResourceNotFoundException, AccessDeniedException, ThrottlingException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, MigrationHubStrategyException Retrieves the details about a specific import task. - Parameters:
- getImportFileTaskRequest-
- Returns:
- Result of the GetImportFileTask operation returned by the service.
- See Also:
 
- 
getImportFileTaskdefault GetImportFileTaskResponse getImportFileTask(Consumer<GetImportFileTaskRequest.Builder> getImportFileTaskRequest) throws ResourceNotFoundException, AccessDeniedException, ThrottlingException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, MigrationHubStrategyException Retrieves the details about a specific import task. 
 This is a convenience which creates an instance of the GetImportFileTaskRequest.Builderavoiding the need to create one manually viaGetImportFileTaskRequest.builder()- Parameters:
- getImportFileTaskRequest- A- Consumerthat will call methods on- GetImportFileTaskRequest.Builderto create a request.
- Returns:
- Result of the GetImportFileTask operation returned by the service.
- See Also:
 
- 
getLatestAssessmentIddefault GetLatestAssessmentIdResponse getLatestAssessmentId(GetLatestAssessmentIdRequest getLatestAssessmentIdRequest) throws DependencyException, AccessDeniedException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, MigrationHubStrategyException Retrieve the latest ID of a specific assessment task. - Parameters:
- getLatestAssessmentIdRequest-
- Returns:
- Result of the GetLatestAssessmentId operation returned by the service.
- See Also:
 
- 
getLatestAssessmentIddefault GetLatestAssessmentIdResponse getLatestAssessmentId(Consumer<GetLatestAssessmentIdRequest.Builder> getLatestAssessmentIdRequest) throws DependencyException, AccessDeniedException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, MigrationHubStrategyException Retrieve the latest ID of a specific assessment task. 
 This is a convenience which creates an instance of the GetLatestAssessmentIdRequest.Builderavoiding the need to create one manually viaGetLatestAssessmentIdRequest.builder()- Parameters:
- getLatestAssessmentIdRequest- A- Consumerthat will call methods on- GetLatestAssessmentIdRequest.Builderto create a request.
- Returns:
- Result of the GetLatestAssessmentId operation returned by the service.
- See Also:
 
- 
getPortfolioPreferencesdefault GetPortfolioPreferencesResponse getPortfolioPreferences(GetPortfolioPreferencesRequest getPortfolioPreferencesRequest) throws ResourceNotFoundException, AccessDeniedException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, MigrationHubStrategyException Retrieves your migration and modernization preferences. - Parameters:
- getPortfolioPreferencesRequest-
- Returns:
- Result of the GetPortfolioPreferences operation returned by the service.
- See Also:
 
- 
getPortfolioPreferencesdefault GetPortfolioPreferencesResponse getPortfolioPreferences(Consumer<GetPortfolioPreferencesRequest.Builder> getPortfolioPreferencesRequest) throws ResourceNotFoundException, AccessDeniedException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, MigrationHubStrategyException Retrieves your migration and modernization preferences. 
 This is a convenience which creates an instance of the GetPortfolioPreferencesRequest.Builderavoiding the need to create one manually viaGetPortfolioPreferencesRequest.builder()- Parameters:
- getPortfolioPreferencesRequest- A- Consumerthat will call methods on- GetPortfolioPreferencesRequest.Builderto create a request.
- Returns:
- Result of the GetPortfolioPreferences operation returned by the service.
- See Also:
 
- 
getPortfolioSummarydefault GetPortfolioSummaryResponse getPortfolioSummary(GetPortfolioSummaryRequest getPortfolioSummaryRequest) throws AccessDeniedException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, MigrationHubStrategyException Retrieves overall summary including the number of servers to rehost and the overall number of anti-patterns. - Parameters:
- getPortfolioSummaryRequest-
- Returns:
- Result of the GetPortfolioSummary operation returned by the service.
- See Also:
 
- 
getPortfolioSummarydefault GetPortfolioSummaryResponse getPortfolioSummary(Consumer<GetPortfolioSummaryRequest.Builder> getPortfolioSummaryRequest) throws AccessDeniedException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, MigrationHubStrategyException 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.Builderavoiding the need to create one manually viaGetPortfolioSummaryRequest.builder()- Parameters:
- getPortfolioSummaryRequest- A- Consumerthat will call methods on- GetPortfolioSummaryRequest.Builderto create a request.
- Returns:
- Result of the GetPortfolioSummary operation returned by the service.
- See Also:
 
- 
getRecommendationReportDetailsdefault GetRecommendationReportDetailsResponse getRecommendationReportDetails(GetRecommendationReportDetailsRequest getRecommendationReportDetailsRequest) throws ResourceNotFoundException, AccessDeniedException, ThrottlingException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, MigrationHubStrategyException Retrieves detailed information about the specified recommendation report. - Parameters:
- getRecommendationReportDetailsRequest-
- Returns:
- Result of the GetRecommendationReportDetails operation returned by the service.
- See Also:
 
- 
getRecommendationReportDetailsdefault GetRecommendationReportDetailsResponse getRecommendationReportDetails(Consumer<GetRecommendationReportDetailsRequest.Builder> getRecommendationReportDetailsRequest) throws ResourceNotFoundException, AccessDeniedException, ThrottlingException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, MigrationHubStrategyException Retrieves detailed information about the specified recommendation report. 
 This is a convenience which creates an instance of the GetRecommendationReportDetailsRequest.Builderavoiding the need to create one manually viaGetRecommendationReportDetailsRequest.builder()- Parameters:
- getRecommendationReportDetailsRequest- A- Consumerthat will call methods on- GetRecommendationReportDetailsRequest.Builderto create a request.
- Returns:
- Result of the GetRecommendationReportDetails operation returned by the service.
- See Also:
 
- 
getServerDetailsdefault GetServerDetailsResponse getServerDetails(GetServerDetailsRequest getServerDetailsRequest) throws ResourceNotFoundException, AccessDeniedException, ThrottlingException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, MigrationHubStrategyException Retrieves detailed information about a specified server. - Parameters:
- getServerDetailsRequest-
- Returns:
- Result of the GetServerDetails operation returned by the service.
- See Also:
 
- 
getServerDetailsdefault GetServerDetailsResponse getServerDetails(Consumer<GetServerDetailsRequest.Builder> getServerDetailsRequest) throws ResourceNotFoundException, AccessDeniedException, ThrottlingException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, MigrationHubStrategyException Retrieves detailed information about a specified server. 
 This is a convenience which creates an instance of the GetServerDetailsRequest.Builderavoiding the need to create one manually viaGetServerDetailsRequest.builder()- Parameters:
- getServerDetailsRequest- A- Consumerthat will call methods on- GetServerDetailsRequest.Builderto create a request.
- Returns:
- Result of the GetServerDetails operation returned by the service.
- See Also:
 
- 
getServerDetailsPaginatordefault GetServerDetailsIterable getServerDetailsPaginator(GetServerDetailsRequest getServerDetailsRequest) throws ResourceNotFoundException, AccessDeniedException, ThrottlingException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, MigrationHubStrategyException This is a variant of getServerDetails(software.amazon.awssdk.services.migrationhubstrategy.model.GetServerDetailsRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable. The following are few ways to iterate through the response pages: 1) Using a Stream
 2) Using For loopsoftware.amazon.awssdk.services.migrationhubstrategy.paginators.GetServerDetailsIterable responses = client.getServerDetailsPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.migrationhubstrategy.paginators.GetServerDetailsIterable responses = client .getServerDetailsPaginator(request); for (software.amazon.awssdk.services.migrationhubstrategy.model.GetServerDetailsResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.migrationhubstrategy.paginators.GetServerDetailsIterable responses = client.getServerDetailsPaginator(request); responses.iterator().forEachRemaining(....);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 iterable that can be used to iterate through all the response pages.
- See Also:
 
- 
getServerDetailsPaginatordefault GetServerDetailsIterable getServerDetailsPaginator(Consumer<GetServerDetailsRequest.Builder> getServerDetailsRequest) throws ResourceNotFoundException, AccessDeniedException, ThrottlingException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, MigrationHubStrategyException This is a variant of getServerDetails(software.amazon.awssdk.services.migrationhubstrategy.model.GetServerDetailsRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable. The following are few ways to iterate through the response pages: 1) Using a Stream
 2) Using For loopsoftware.amazon.awssdk.services.migrationhubstrategy.paginators.GetServerDetailsIterable responses = client.getServerDetailsPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.migrationhubstrategy.paginators.GetServerDetailsIterable responses = client .getServerDetailsPaginator(request); for (software.amazon.awssdk.services.migrationhubstrategy.model.GetServerDetailsResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.migrationhubstrategy.paginators.GetServerDetailsIterable responses = client.getServerDetailsPaginator(request); responses.iterator().forEachRemaining(....);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.Builderavoiding the need to create one manually viaGetServerDetailsRequest.builder()- Parameters:
- getServerDetailsRequest- A- Consumerthat will call methods on- GetServerDetailsRequest.Builderto create a request.
- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
 
- 
getServerStrategiesdefault GetServerStrategiesResponse getServerStrategies(GetServerStrategiesRequest getServerStrategiesRequest) throws ResourceNotFoundException, AccessDeniedException, ThrottlingException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, MigrationHubStrategyException Retrieves recommended strategies and tools for the specified server. - Parameters:
- getServerStrategiesRequest-
- Returns:
- Result of the GetServerStrategies operation returned by the service.
- See Also:
 
- 
getServerStrategiesdefault GetServerStrategiesResponse getServerStrategies(Consumer<GetServerStrategiesRequest.Builder> getServerStrategiesRequest) throws ResourceNotFoundException, AccessDeniedException, ThrottlingException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, MigrationHubStrategyException Retrieves recommended strategies and tools for the specified server. 
 This is a convenience which creates an instance of the GetServerStrategiesRequest.Builderavoiding the need to create one manually viaGetServerStrategiesRequest.builder()- Parameters:
- getServerStrategiesRequest- A- Consumerthat will call methods on- GetServerStrategiesRequest.Builderto create a request.
- Returns:
- Result of the GetServerStrategies operation returned by the service.
- See Also:
 
- 
listAnalyzableServersdefault ListAnalyzableServersResponse listAnalyzableServers(ListAnalyzableServersRequest listAnalyzableServersRequest) throws AccessDeniedException, ThrottlingException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, MigrationHubStrategyException Retrieves a list of all the servers fetched from customer vCenter using Strategy Recommendation Collector. - Parameters:
- listAnalyzableServersRequest- Represents input for ListAnalyzableServers operation.
- Returns:
- Result of the ListAnalyzableServers operation returned by the service.
- See Also:
 
- 
listAnalyzableServersdefault ListAnalyzableServersResponse listAnalyzableServers(Consumer<ListAnalyzableServersRequest.Builder> listAnalyzableServersRequest) throws AccessDeniedException, ThrottlingException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, MigrationHubStrategyException 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.Builderavoiding the need to create one manually viaListAnalyzableServersRequest.builder()- Parameters:
- listAnalyzableServersRequest- A- Consumerthat will call methods on- ListAnalyzableServersRequest.Builderto create a request. Represents input for ListAnalyzableServers operation.
- Returns:
- Result of the ListAnalyzableServers operation returned by the service.
- See Also:
 
- 
listAnalyzableServersPaginatordefault ListAnalyzableServersIterable listAnalyzableServersPaginator(ListAnalyzableServersRequest listAnalyzableServersRequest) throws AccessDeniedException, ThrottlingException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, MigrationHubStrategyException This is a variant of listAnalyzableServers(software.amazon.awssdk.services.migrationhubstrategy.model.ListAnalyzableServersRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable. The following are few ways to iterate through the response pages: 1) Using a Stream
 2) Using For loopsoftware.amazon.awssdk.services.migrationhubstrategy.paginators.ListAnalyzableServersIterable responses = client.listAnalyzableServersPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.migrationhubstrategy.paginators.ListAnalyzableServersIterable responses = client .listAnalyzableServersPaginator(request); for (software.amazon.awssdk.services.migrationhubstrategy.model.ListAnalyzableServersResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.migrationhubstrategy.paginators.ListAnalyzableServersIterable responses = client.listAnalyzableServersPaginator(request); responses.iterator().forEachRemaining(....);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 iterable that can be used to iterate through all the response pages.
- See Also:
 
- 
listAnalyzableServersPaginatordefault ListAnalyzableServersIterable listAnalyzableServersPaginator(Consumer<ListAnalyzableServersRequest.Builder> listAnalyzableServersRequest) throws AccessDeniedException, ThrottlingException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, MigrationHubStrategyException This is a variant of listAnalyzableServers(software.amazon.awssdk.services.migrationhubstrategy.model.ListAnalyzableServersRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable. The following are few ways to iterate through the response pages: 1) Using a Stream
 2) Using For loopsoftware.amazon.awssdk.services.migrationhubstrategy.paginators.ListAnalyzableServersIterable responses = client.listAnalyzableServersPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.migrationhubstrategy.paginators.ListAnalyzableServersIterable responses = client .listAnalyzableServersPaginator(request); for (software.amazon.awssdk.services.migrationhubstrategy.model.ListAnalyzableServersResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.migrationhubstrategy.paginators.ListAnalyzableServersIterable responses = client.listAnalyzableServersPaginator(request); responses.iterator().forEachRemaining(....);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.Builderavoiding the need to create one manually viaListAnalyzableServersRequest.builder()- Parameters:
- listAnalyzableServersRequest- A- Consumerthat will call methods on- ListAnalyzableServersRequest.Builderto create a request. Represents input for ListAnalyzableServers operation.
- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
 
- 
listApplicationComponentsdefault ListApplicationComponentsResponse listApplicationComponents(ListApplicationComponentsRequest listApplicationComponentsRequest) throws AccessDeniedException, ServiceLinkedRoleLockClientException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, MigrationHubStrategyException Retrieves a list of all the application components (processes). - Parameters:
- listApplicationComponentsRequest-
- Returns:
- Result of the ListApplicationComponents operation returned by the service.
- See Also:
 
- 
listApplicationComponentsdefault ListApplicationComponentsResponse listApplicationComponents(Consumer<ListApplicationComponentsRequest.Builder> listApplicationComponentsRequest) throws AccessDeniedException, ServiceLinkedRoleLockClientException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, MigrationHubStrategyException Retrieves a list of all the application components (processes). 
 This is a convenience which creates an instance of the ListApplicationComponentsRequest.Builderavoiding the need to create one manually viaListApplicationComponentsRequest.builder()- Parameters:
- listApplicationComponentsRequest- A- Consumerthat will call methods on- ListApplicationComponentsRequest.Builderto create a request.
- Returns:
- Result of the ListApplicationComponents operation returned by the service.
- See Also:
 
- 
listApplicationComponentsPaginatordefault ListApplicationComponentsIterable listApplicationComponentsPaginator(ListApplicationComponentsRequest listApplicationComponentsRequest) throws AccessDeniedException, ServiceLinkedRoleLockClientException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, MigrationHubStrategyException This is a variant of listApplicationComponents(software.amazon.awssdk.services.migrationhubstrategy.model.ListApplicationComponentsRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable. The following are few ways to iterate through the response pages: 1) Using a Stream
 2) Using For loopsoftware.amazon.awssdk.services.migrationhubstrategy.paginators.ListApplicationComponentsIterable responses = client.listApplicationComponentsPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.migrationhubstrategy.paginators.ListApplicationComponentsIterable responses = client .listApplicationComponentsPaginator(request); for (software.amazon.awssdk.services.migrationhubstrategy.model.ListApplicationComponentsResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.migrationhubstrategy.paginators.ListApplicationComponentsIterable responses = client.listApplicationComponentsPaginator(request); responses.iterator().forEachRemaining(....);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 iterable that can be used to iterate through all the response pages.
- See Also:
 
- 
listApplicationComponentsPaginatordefault ListApplicationComponentsIterable listApplicationComponentsPaginator(Consumer<ListApplicationComponentsRequest.Builder> listApplicationComponentsRequest) throws AccessDeniedException, ServiceLinkedRoleLockClientException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, MigrationHubStrategyException This is a variant of listApplicationComponents(software.amazon.awssdk.services.migrationhubstrategy.model.ListApplicationComponentsRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable. The following are few ways to iterate through the response pages: 1) Using a Stream
 2) Using For loopsoftware.amazon.awssdk.services.migrationhubstrategy.paginators.ListApplicationComponentsIterable responses = client.listApplicationComponentsPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.migrationhubstrategy.paginators.ListApplicationComponentsIterable responses = client .listApplicationComponentsPaginator(request); for (software.amazon.awssdk.services.migrationhubstrategy.model.ListApplicationComponentsResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.migrationhubstrategy.paginators.ListApplicationComponentsIterable responses = client.listApplicationComponentsPaginator(request); responses.iterator().forEachRemaining(....);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.Builderavoiding the need to create one manually viaListApplicationComponentsRequest.builder()- Parameters:
- listApplicationComponentsRequest- A- Consumerthat will call methods on- ListApplicationComponentsRequest.Builderto create a request.
- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
 
- 
listCollectorsdefault ListCollectorsResponse listCollectors(ListCollectorsRequest listCollectorsRequest) throws AccessDeniedException, ThrottlingException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, MigrationHubStrategyException Retrieves a list of all the installed collectors. - Parameters:
- listCollectorsRequest-
- Returns:
- Result of the ListCollectors operation returned by the service.
- See Also:
 
- 
listCollectorsdefault ListCollectorsResponse listCollectors(Consumer<ListCollectorsRequest.Builder> listCollectorsRequest) throws AccessDeniedException, ThrottlingException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, MigrationHubStrategyException Retrieves a list of all the installed collectors. 
 This is a convenience which creates an instance of the ListCollectorsRequest.Builderavoiding the need to create one manually viaListCollectorsRequest.builder()- Parameters:
- listCollectorsRequest- A- Consumerthat will call methods on- ListCollectorsRequest.Builderto create a request.
- Returns:
- Result of the ListCollectors operation returned by the service.
- See Also:
 
- 
listCollectorsPaginatordefault ListCollectorsIterable listCollectorsPaginator(ListCollectorsRequest listCollectorsRequest) throws AccessDeniedException, ThrottlingException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, MigrationHubStrategyException This is a variant of listCollectors(software.amazon.awssdk.services.migrationhubstrategy.model.ListCollectorsRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable. The following are few ways to iterate through the response pages: 1) Using a Stream
 2) Using For loopsoftware.amazon.awssdk.services.migrationhubstrategy.paginators.ListCollectorsIterable responses = client.listCollectorsPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.migrationhubstrategy.paginators.ListCollectorsIterable responses = client .listCollectorsPaginator(request); for (software.amazon.awssdk.services.migrationhubstrategy.model.ListCollectorsResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.migrationhubstrategy.paginators.ListCollectorsIterable responses = client.listCollectorsPaginator(request); responses.iterator().forEachRemaining(....);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 iterable that can be used to iterate through all the response pages.
- See Also:
 
- 
listCollectorsPaginatordefault ListCollectorsIterable listCollectorsPaginator(Consumer<ListCollectorsRequest.Builder> listCollectorsRequest) throws AccessDeniedException, ThrottlingException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, MigrationHubStrategyException This is a variant of listCollectors(software.amazon.awssdk.services.migrationhubstrategy.model.ListCollectorsRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable. The following are few ways to iterate through the response pages: 1) Using a Stream
 2) Using For loopsoftware.amazon.awssdk.services.migrationhubstrategy.paginators.ListCollectorsIterable responses = client.listCollectorsPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.migrationhubstrategy.paginators.ListCollectorsIterable responses = client .listCollectorsPaginator(request); for (software.amazon.awssdk.services.migrationhubstrategy.model.ListCollectorsResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.migrationhubstrategy.paginators.ListCollectorsIterable responses = client.listCollectorsPaginator(request); responses.iterator().forEachRemaining(....);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.Builderavoiding the need to create one manually viaListCollectorsRequest.builder()- Parameters:
- listCollectorsRequest- A- Consumerthat will call methods on- ListCollectorsRequest.Builderto create a request.
- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
 
- 
listImportFileTaskdefault ListImportFileTaskResponse listImportFileTask(ListImportFileTaskRequest listImportFileTaskRequest) throws AccessDeniedException, ThrottlingException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, MigrationHubStrategyException Retrieves a list of all the imports performed. - Parameters:
- listImportFileTaskRequest-
- Returns:
- Result of the ListImportFileTask operation returned by the service.
- See Also:
 
- 
listImportFileTaskdefault ListImportFileTaskResponse listImportFileTask(Consumer<ListImportFileTaskRequest.Builder> listImportFileTaskRequest) throws AccessDeniedException, ThrottlingException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, MigrationHubStrategyException Retrieves a list of all the imports performed. 
 This is a convenience which creates an instance of the ListImportFileTaskRequest.Builderavoiding the need to create one manually viaListImportFileTaskRequest.builder()- Parameters:
- listImportFileTaskRequest- A- Consumerthat will call methods on- ListImportFileTaskRequest.Builderto create a request.
- Returns:
- Result of the ListImportFileTask operation returned by the service.
- See Also:
 
- 
listImportFileTaskPaginatordefault ListImportFileTaskIterable listImportFileTaskPaginator(ListImportFileTaskRequest listImportFileTaskRequest) throws AccessDeniedException, ThrottlingException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, MigrationHubStrategyException This is a variant of listImportFileTask(software.amazon.awssdk.services.migrationhubstrategy.model.ListImportFileTaskRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable. The following are few ways to iterate through the response pages: 1) Using a Stream
 2) Using For loopsoftware.amazon.awssdk.services.migrationhubstrategy.paginators.ListImportFileTaskIterable responses = client.listImportFileTaskPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.migrationhubstrategy.paginators.ListImportFileTaskIterable responses = client .listImportFileTaskPaginator(request); for (software.amazon.awssdk.services.migrationhubstrategy.model.ListImportFileTaskResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.migrationhubstrategy.paginators.ListImportFileTaskIterable responses = client.listImportFileTaskPaginator(request); responses.iterator().forEachRemaining(....);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 iterable that can be used to iterate through all the response pages.
- See Also:
 
- 
listImportFileTaskPaginatordefault ListImportFileTaskIterable listImportFileTaskPaginator(Consumer<ListImportFileTaskRequest.Builder> listImportFileTaskRequest) throws AccessDeniedException, ThrottlingException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, MigrationHubStrategyException This is a variant of listImportFileTask(software.amazon.awssdk.services.migrationhubstrategy.model.ListImportFileTaskRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable. The following are few ways to iterate through the response pages: 1) Using a Stream
 2) Using For loopsoftware.amazon.awssdk.services.migrationhubstrategy.paginators.ListImportFileTaskIterable responses = client.listImportFileTaskPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.migrationhubstrategy.paginators.ListImportFileTaskIterable responses = client .listImportFileTaskPaginator(request); for (software.amazon.awssdk.services.migrationhubstrategy.model.ListImportFileTaskResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.migrationhubstrategy.paginators.ListImportFileTaskIterable responses = client.listImportFileTaskPaginator(request); responses.iterator().forEachRemaining(....);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.Builderavoiding the need to create one manually viaListImportFileTaskRequest.builder()- Parameters:
- listImportFileTaskRequest- A- Consumerthat will call methods on- ListImportFileTaskRequest.Builderto create a request.
- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
 
- 
listServersdefault ListServersResponse listServers(ListServersRequest listServersRequest) throws AccessDeniedException, ThrottlingException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, MigrationHubStrategyException Returns a list of all the servers. - Parameters:
- listServersRequest-
- Returns:
- Result of the ListServers operation returned by the service.
- See Also:
 
- 
listServersdefault ListServersResponse listServers(Consumer<ListServersRequest.Builder> listServersRequest) throws AccessDeniedException, ThrottlingException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, MigrationHubStrategyException Returns a list of all the servers. 
 This is a convenience which creates an instance of the ListServersRequest.Builderavoiding the need to create one manually viaListServersRequest.builder()- Parameters:
- listServersRequest- A- Consumerthat will call methods on- ListServersRequest.Builderto create a request.
- Returns:
- Result of the ListServers operation returned by the service.
- See Also:
 
- 
listServersPaginatordefault ListServersIterable listServersPaginator(ListServersRequest listServersRequest) throws AccessDeniedException, ThrottlingException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, MigrationHubStrategyException This is a variant of listServers(software.amazon.awssdk.services.migrationhubstrategy.model.ListServersRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable. The following are few ways to iterate through the response pages: 1) Using a Stream
 2) Using For loopsoftware.amazon.awssdk.services.migrationhubstrategy.paginators.ListServersIterable responses = client.listServersPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.migrationhubstrategy.paginators.ListServersIterable responses = client .listServersPaginator(request); for (software.amazon.awssdk.services.migrationhubstrategy.model.ListServersResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.migrationhubstrategy.paginators.ListServersIterable responses = client.listServersPaginator(request); responses.iterator().forEachRemaining(....);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 iterable that can be used to iterate through all the response pages.
- See Also:
 
- 
listServersPaginatordefault ListServersIterable listServersPaginator(Consumer<ListServersRequest.Builder> listServersRequest) throws AccessDeniedException, ThrottlingException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, MigrationHubStrategyException This is a variant of listServers(software.amazon.awssdk.services.migrationhubstrategy.model.ListServersRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable. The following are few ways to iterate through the response pages: 1) Using a Stream
 2) Using For loopsoftware.amazon.awssdk.services.migrationhubstrategy.paginators.ListServersIterable responses = client.listServersPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.migrationhubstrategy.paginators.ListServersIterable responses = client .listServersPaginator(request); for (software.amazon.awssdk.services.migrationhubstrategy.model.ListServersResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.migrationhubstrategy.paginators.ListServersIterable responses = client.listServersPaginator(request); responses.iterator().forEachRemaining(....);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.Builderavoiding the need to create one manually viaListServersRequest.builder()- Parameters:
- listServersRequest- A- Consumerthat will call methods on- ListServersRequest.Builderto create a request.
- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
 
- 
putPortfolioPreferencesdefault PutPortfolioPreferencesResponse putPortfolioPreferences(PutPortfolioPreferencesRequest putPortfolioPreferencesRequest) throws AccessDeniedException, ThrottlingException, ValidationException, ConflictException, InternalServerException, AwsServiceException, SdkClientException, MigrationHubStrategyException Saves the specified migration and modernization preferences. - Parameters:
- putPortfolioPreferencesRequest-
- Returns:
- Result of the PutPortfolioPreferences operation returned by the service.
- See Also:
 
- 
putPortfolioPreferencesdefault PutPortfolioPreferencesResponse putPortfolioPreferences(Consumer<PutPortfolioPreferencesRequest.Builder> putPortfolioPreferencesRequest) throws AccessDeniedException, ThrottlingException, ValidationException, ConflictException, InternalServerException, AwsServiceException, SdkClientException, MigrationHubStrategyException Saves the specified migration and modernization preferences. 
 This is a convenience which creates an instance of the PutPortfolioPreferencesRequest.Builderavoiding the need to create one manually viaPutPortfolioPreferencesRequest.builder()- Parameters:
- putPortfolioPreferencesRequest- A- Consumerthat will call methods on- PutPortfolioPreferencesRequest.Builderto create a request.
- Returns:
- Result of the PutPortfolioPreferences operation returned by the service.
- See Also:
 
- 
startAssessmentdefault StartAssessmentResponse startAssessment(StartAssessmentRequest startAssessmentRequest) throws AccessDeniedException, ThrottlingException, ServiceQuotaExceededException, InternalServerException, AwsServiceException, SdkClientException, MigrationHubStrategyException Starts the assessment of an on-premises environment. - Parameters:
- startAssessmentRequest-
- Returns:
- Result of the StartAssessment operation returned by the service.
- See Also:
 
- 
startAssessmentdefault StartAssessmentResponse startAssessment(Consumer<StartAssessmentRequest.Builder> startAssessmentRequest) throws AccessDeniedException, ThrottlingException, ServiceQuotaExceededException, InternalServerException, AwsServiceException, SdkClientException, MigrationHubStrategyException Starts the assessment of an on-premises environment. 
 This is a convenience which creates an instance of the StartAssessmentRequest.Builderavoiding the need to create one manually viaStartAssessmentRequest.builder()- Parameters:
- startAssessmentRequest- A- Consumerthat will call methods on- StartAssessmentRequest.Builderto create a request.
- Returns:
- Result of the StartAssessment operation returned by the service.
- See Also:
 
- 
startImportFileTaskdefault StartImportFileTaskResponse startImportFileTask(StartImportFileTaskRequest startImportFileTaskRequest) throws AccessDeniedException, ThrottlingException, ServiceQuotaExceededException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, MigrationHubStrategyException Starts a file import. - Parameters:
- startImportFileTaskRequest-
- Returns:
- Result of the StartImportFileTask operation returned by the service.
- See Also:
 
- 
startImportFileTaskdefault StartImportFileTaskResponse startImportFileTask(Consumer<StartImportFileTaskRequest.Builder> startImportFileTaskRequest) throws AccessDeniedException, ThrottlingException, ServiceQuotaExceededException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, MigrationHubStrategyException Starts a file import. 
 This is a convenience which creates an instance of the StartImportFileTaskRequest.Builderavoiding the need to create one manually viaStartImportFileTaskRequest.builder()- Parameters:
- startImportFileTaskRequest- A- Consumerthat will call methods on- StartImportFileTaskRequest.Builderto create a request.
- Returns:
- Result of the StartImportFileTask operation returned by the service.
- See Also:
 
- 
startRecommendationReportGenerationdefault StartRecommendationReportGenerationResponse startRecommendationReportGeneration(StartRecommendationReportGenerationRequest startRecommendationReportGenerationRequest) throws AccessDeniedException, ThrottlingException, ValidationException, ConflictException, InternalServerException, AwsServiceException, SdkClientException, MigrationHubStrategyException Starts generating a recommendation report. - Parameters:
- startRecommendationReportGenerationRequest-
- Returns:
- Result of the StartRecommendationReportGeneration operation returned by the service.
- See Also:
 
- 
startRecommendationReportGenerationdefault StartRecommendationReportGenerationResponse startRecommendationReportGeneration(Consumer<StartRecommendationReportGenerationRequest.Builder> startRecommendationReportGenerationRequest) throws AccessDeniedException, ThrottlingException, ValidationException, ConflictException, InternalServerException, AwsServiceException, SdkClientException, MigrationHubStrategyException Starts generating a recommendation report. 
 This is a convenience which creates an instance of the StartRecommendationReportGenerationRequest.Builderavoiding the need to create one manually viaStartRecommendationReportGenerationRequest.builder()- Parameters:
- startRecommendationReportGenerationRequest- A- Consumerthat will call methods on- StartRecommendationReportGenerationRequest.Builderto create a request.
- Returns:
- Result of the StartRecommendationReportGeneration operation returned by the service.
- See Also:
 
- 
stopAssessmentdefault StopAssessmentResponse stopAssessment(StopAssessmentRequest stopAssessmentRequest) throws AccessDeniedException, ThrottlingException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, MigrationHubStrategyException Stops the assessment of an on-premises environment. - Parameters:
- stopAssessmentRequest-
- Returns:
- Result of the StopAssessment operation returned by the service.
- See Also:
 
- 
stopAssessmentdefault StopAssessmentResponse stopAssessment(Consumer<StopAssessmentRequest.Builder> stopAssessmentRequest) throws AccessDeniedException, ThrottlingException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, MigrationHubStrategyException Stops the assessment of an on-premises environment. 
 This is a convenience which creates an instance of the StopAssessmentRequest.Builderavoiding the need to create one manually viaStopAssessmentRequest.builder()- Parameters:
- stopAssessmentRequest- A- Consumerthat will call methods on- StopAssessmentRequest.Builderto create a request.
- Returns:
- Result of the StopAssessment operation returned by the service.
- See Also:
 
- 
updateApplicationComponentConfigdefault UpdateApplicationComponentConfigResponse updateApplicationComponentConfig(UpdateApplicationComponentConfigRequest updateApplicationComponentConfigRequest) throws ResourceNotFoundException, ThrottlingException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, MigrationHubStrategyException Updates the configuration of an application component. - Parameters:
- updateApplicationComponentConfigRequest-
- Returns:
- Result of the UpdateApplicationComponentConfig operation returned by the service.
- See Also:
 
- 
updateApplicationComponentConfigdefault UpdateApplicationComponentConfigResponse updateApplicationComponentConfig(Consumer<UpdateApplicationComponentConfigRequest.Builder> updateApplicationComponentConfigRequest) throws ResourceNotFoundException, ThrottlingException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, MigrationHubStrategyException Updates the configuration of an application component. 
 This is a convenience which creates an instance of the UpdateApplicationComponentConfigRequest.Builderavoiding the need to create one manually viaUpdateApplicationComponentConfigRequest.builder()- Parameters:
- updateApplicationComponentConfigRequest- A- Consumerthat will call methods on- UpdateApplicationComponentConfigRequest.Builderto create a request.
- Returns:
- Result of the UpdateApplicationComponentConfig operation returned by the service.
- See Also:
 
- 
updateServerConfigdefault UpdateServerConfigResponse updateServerConfig(UpdateServerConfigRequest updateServerConfigRequest) throws ResourceNotFoundException, ThrottlingException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, MigrationHubStrategyException Updates the configuration of the specified server. - Parameters:
- updateServerConfigRequest-
- Returns:
- Result of the UpdateServerConfig operation returned by the service.
- See Also:
 
- 
updateServerConfigdefault UpdateServerConfigResponse updateServerConfig(Consumer<UpdateServerConfigRequest.Builder> updateServerConfigRequest) throws ResourceNotFoundException, ThrottlingException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, MigrationHubStrategyException Updates the configuration of the specified server. 
 This is a convenience which creates an instance of the UpdateServerConfigRequest.Builderavoiding the need to create one manually viaUpdateServerConfigRequest.builder()- Parameters:
- updateServerConfigRequest- A- Consumerthat will call methods on- UpdateServerConfigRequest.Builderto create a request.
- Returns:
- Result of the UpdateServerConfig operation returned by the service.
- See Also:
 
- 
createCreate aMigrationHubStrategyClientwith the region loaded from theDefaultAwsRegionProviderChainand credentials loaded from theDefaultCredentialsProvider.
- 
builderCreate a builder that can be used to configure and create aMigrationHubStrategyClient.
- 
serviceMetadata
- 
serviceClientConfigurationDescription copied from interface:SdkClientThe SDK service client configuration exposes client settings to the user, e.g., ClientOverrideConfiguration- Specified by:
- serviceClientConfigurationin interface- AwsClient
- Specified by:
- serviceClientConfigurationin interface- SdkClient
- Returns:
- SdkServiceClientConfiguration
 
 
-