@Generated(value="software.amazon.awssdk:codegen") @ThreadSafe public interface MigrationHubStrategyClient extends SdkClient
builder() method.
<p>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 <a href="http://aws.amazon.com/tools/#SDKs">AWS SDKs</a>.</p>
| Modifier and Type | Field and Description |
|---|---|
static String |
SERVICE_METADATA_ID
Value for looking up the service's metadata from the
ServiceMetadataProvider. |
static String |
SERVICE_NAME |
| Modifier and Type | Method and Description |
|---|---|
static MigrationHubStrategyClientBuilder |
builder()
Create a builder that can be used to configure and create a
MigrationHubStrategyClient. |
static MigrationHubStrategyClient |
create()
Create a
MigrationHubStrategyClient with the region loaded from the
DefaultAwsRegionProviderChain and credentials loaded from the
DefaultCredentialsProvider. |
default GetApplicationComponentDetailsResponse |
getApplicationComponentDetails(Consumer<GetApplicationComponentDetailsRequest.Builder> getApplicationComponentDetailsRequest)
Retrieves details about an application component.
|
default GetApplicationComponentDetailsResponse |
getApplicationComponentDetails(GetApplicationComponentDetailsRequest getApplicationComponentDetailsRequest)
Retrieves details about an application component.
|
default GetApplicationComponentStrategiesResponse |
getApplicationComponentStrategies(Consumer<GetApplicationComponentStrategiesRequest.Builder> getApplicationComponentStrategiesRequest)
Retrieves a list of all the recommended strategies and tools for an application component running on a server.
|
default GetApplicationComponentStrategiesResponse |
getApplicationComponentStrategies(GetApplicationComponentStrategiesRequest getApplicationComponentStrategiesRequest)
Retrieves a list of all the recommended strategies and tools for an application component running on a server.
|
default GetAssessmentResponse |
getAssessment(Consumer<GetAssessmentRequest.Builder> getAssessmentRequest)
Retrieves the status of an on-going assessment.
|
default GetAssessmentResponse |
getAssessment(GetAssessmentRequest getAssessmentRequest)
Retrieves the status of an on-going assessment.
|
default GetImportFileTaskResponse |
getImportFileTask(Consumer<GetImportFileTaskRequest.Builder> getImportFileTaskRequest)
Retrieves the details about a specific import task.
|
default GetImportFileTaskResponse |
getImportFileTask(GetImportFileTaskRequest getImportFileTaskRequest)
Retrieves the details about a specific import task.
|
default GetPortfolioPreferencesResponse |
getPortfolioPreferences(Consumer<GetPortfolioPreferencesRequest.Builder> getPortfolioPreferencesRequest)
Retrieves your migration and modernization preferences.
|
default GetPortfolioPreferencesResponse |
getPortfolioPreferences(GetPortfolioPreferencesRequest getPortfolioPreferencesRequest)
Retrieves your migration and modernization preferences.
|
default GetPortfolioSummaryResponse |
getPortfolioSummary(Consumer<GetPortfolioSummaryRequest.Builder> getPortfolioSummaryRequest)
Retrieves overall summary including the number of servers to rehost and the overall number of anti-patterns.
|
default GetPortfolioSummaryResponse |
getPortfolioSummary(GetPortfolioSummaryRequest getPortfolioSummaryRequest)
Retrieves overall summary including the number of servers to rehost and the overall number of anti-patterns.
|
default GetRecommendationReportDetailsResponse |
getRecommendationReportDetails(Consumer<GetRecommendationReportDetailsRequest.Builder> getRecommendationReportDetailsRequest)
Retrieves detailed information about the specified recommendation report.
|
default GetRecommendationReportDetailsResponse |
getRecommendationReportDetails(GetRecommendationReportDetailsRequest getRecommendationReportDetailsRequest)
Retrieves detailed information about the specified recommendation report.
|
default GetServerDetailsResponse |
getServerDetails(Consumer<GetServerDetailsRequest.Builder> getServerDetailsRequest)
Retrieves detailed information about a specified server.
|
default GetServerDetailsResponse |
getServerDetails(GetServerDetailsRequest getServerDetailsRequest)
Retrieves detailed information about a specified server.
|
default GetServerDetailsIterable |
getServerDetailsPaginator(Consumer<GetServerDetailsRequest.Builder> getServerDetailsRequest)
Retrieves detailed information about a specified server.
|
default GetServerDetailsIterable |
getServerDetailsPaginator(GetServerDetailsRequest getServerDetailsRequest)
Retrieves detailed information about a specified server.
|
default GetServerStrategiesResponse |
getServerStrategies(Consumer<GetServerStrategiesRequest.Builder> getServerStrategiesRequest)
Retrieves recommended strategies and tools for the specified server.
|
default GetServerStrategiesResponse |
getServerStrategies(GetServerStrategiesRequest getServerStrategiesRequest)
Retrieves recommended strategies and tools for the specified server.
|
default ListApplicationComponentsResponse |
listApplicationComponents(Consumer<ListApplicationComponentsRequest.Builder> listApplicationComponentsRequest)
Retrieves a list of all the application components (processes).
|
default ListApplicationComponentsResponse |
listApplicationComponents(ListApplicationComponentsRequest listApplicationComponentsRequest)
Retrieves a list of all the application components (processes).
|
default ListApplicationComponentsIterable |
listApplicationComponentsPaginator(Consumer<ListApplicationComponentsRequest.Builder> listApplicationComponentsRequest)
Retrieves a list of all the application components (processes).
|
default ListApplicationComponentsIterable |
listApplicationComponentsPaginator(ListApplicationComponentsRequest listApplicationComponentsRequest)
Retrieves a list of all the application components (processes).
|
default ListCollectorsResponse |
listCollectors(Consumer<ListCollectorsRequest.Builder> listCollectorsRequest)
Retrieves a list of all the installed collectors.
|
default ListCollectorsResponse |
listCollectors(ListCollectorsRequest listCollectorsRequest)
Retrieves a list of all the installed collectors.
|
default ListCollectorsIterable |
listCollectorsPaginator(Consumer<ListCollectorsRequest.Builder> listCollectorsRequest)
Retrieves a list of all the installed collectors.
|
default ListCollectorsIterable |
listCollectorsPaginator(ListCollectorsRequest listCollectorsRequest)
Retrieves a list of all the installed collectors.
|
default ListImportFileTaskResponse |
listImportFileTask(Consumer<ListImportFileTaskRequest.Builder> listImportFileTaskRequest)
Retrieves a list of all the imports performed.
|
default ListImportFileTaskResponse |
listImportFileTask(ListImportFileTaskRequest listImportFileTaskRequest)
Retrieves a list of all the imports performed.
|
default ListImportFileTaskIterable |
listImportFileTaskPaginator(Consumer<ListImportFileTaskRequest.Builder> listImportFileTaskRequest)
Retrieves a list of all the imports performed.
|
default ListImportFileTaskIterable |
listImportFileTaskPaginator(ListImportFileTaskRequest listImportFileTaskRequest)
Retrieves a list of all the imports performed.
|
default ListServersResponse |
listServers(Consumer<ListServersRequest.Builder> listServersRequest)
Returns a list of all the servers.
|
default ListServersResponse |
listServers(ListServersRequest listServersRequest)
Returns a list of all the servers.
|
default ListServersIterable |
listServersPaginator(Consumer<ListServersRequest.Builder> listServersRequest)
Returns a list of all the servers.
|
default ListServersIterable |
listServersPaginator(ListServersRequest listServersRequest)
Returns a list of all the servers.
|
default PutPortfolioPreferencesResponse |
putPortfolioPreferences(Consumer<PutPortfolioPreferencesRequest.Builder> putPortfolioPreferencesRequest)
Saves the specified migration and modernization preferences.
|
default PutPortfolioPreferencesResponse |
putPortfolioPreferences(PutPortfolioPreferencesRequest putPortfolioPreferencesRequest)
Saves the specified migration and modernization preferences.
|
static ServiceMetadata |
serviceMetadata() |
default StartAssessmentResponse |
startAssessment(Consumer<StartAssessmentRequest.Builder> startAssessmentRequest)
Starts the assessment of an on-premises environment.
|
default StartAssessmentResponse |
startAssessment(StartAssessmentRequest startAssessmentRequest)
Starts the assessment of an on-premises environment.
|
default StartImportFileTaskResponse |
startImportFileTask(Consumer<StartImportFileTaskRequest.Builder> startImportFileTaskRequest)
Starts a file import.
|
default StartImportFileTaskResponse |
startImportFileTask(StartImportFileTaskRequest startImportFileTaskRequest)
Starts a file import.
|
default StartRecommendationReportGenerationResponse |
startRecommendationReportGeneration(Consumer<StartRecommendationReportGenerationRequest.Builder> startRecommendationReportGenerationRequest)
Starts generating a recommendation report.
|
default StartRecommendationReportGenerationResponse |
startRecommendationReportGeneration(StartRecommendationReportGenerationRequest startRecommendationReportGenerationRequest)
Starts generating a recommendation report.
|
default StopAssessmentResponse |
stopAssessment(Consumer<StopAssessmentRequest.Builder> stopAssessmentRequest)
Stops the assessment of an on-premises environment.
|
default StopAssessmentResponse |
stopAssessment(StopAssessmentRequest stopAssessmentRequest)
Stops the assessment of an on-premises environment.
|
default UpdateApplicationComponentConfigResponse |
updateApplicationComponentConfig(Consumer<UpdateApplicationComponentConfigRequest.Builder> updateApplicationComponentConfigRequest)
Updates the configuration of an application component.
|
default UpdateApplicationComponentConfigResponse |
updateApplicationComponentConfig(UpdateApplicationComponentConfigRequest updateApplicationComponentConfigRequest)
Updates the configuration of an application component.
|
default UpdateServerConfigResponse |
updateServerConfig(Consumer<UpdateServerConfigRequest.Builder> updateServerConfigRequest)
Updates the configuration of the specified server.
|
default UpdateServerConfigResponse |
updateServerConfig(UpdateServerConfigRequest updateServerConfigRequest)
Updates the configuration of the specified server.
|
serviceNameclosestatic final String SERVICE_NAME
static final String SERVICE_METADATA_ID
ServiceMetadataProvider.static MigrationHubStrategyClient create()
MigrationHubStrategyClient with the region loaded from the
DefaultAwsRegionProviderChain and credentials loaded from the
DefaultCredentialsProvider.static MigrationHubStrategyClientBuilder builder()
MigrationHubStrategyClient.default GetApplicationComponentDetailsResponse getApplicationComponentDetails(GetApplicationComponentDetailsRequest getApplicationComponentDetailsRequest) throws ResourceNotFoundException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, MigrationHubStrategyException
Retrieves details about an application component.
getApplicationComponentDetailsRequest - 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.AwsServiceExceptiondefault 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.Builder
avoiding the need to create one manually via GetApplicationComponentDetailsRequest.builder()
getApplicationComponentDetailsRequest - A Consumer that will call methods on GetApplicationComponentDetailsRequest.Builder to
create a request.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.AwsServiceExceptiondefault 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.
getApplicationComponentStrategiesRequest - 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.AwsServiceExceptiondefault 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.Builder
avoiding the need to create one manually via GetApplicationComponentStrategiesRequest.builder()
getApplicationComponentStrategiesRequest - A Consumer that will call methods on GetApplicationComponentStrategiesRequest.Builder to
create a request.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.AwsServiceExceptiondefault GetAssessmentResponse getAssessment(GetAssessmentRequest getAssessmentRequest) throws ResourceNotFoundException, AccessDeniedException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, MigrationHubStrategyException
Retrieves the status of an on-going assessment.
getAssessmentRequest - ResourceNotFoundException - The specified ID in the request is not found.AccessDeniedException - The AWS user account does not have permission to perform the action. Check the AWS Identity and Access
Management (IAM) policy associated with this account.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.AwsServiceExceptiondefault 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.Builder avoiding the need to
create one manually via GetAssessmentRequest.builder()
getAssessmentRequest - A Consumer that will call methods on GetAssessmentRequest.Builder to create a request.ResourceNotFoundException - The specified ID in the request is not found.AccessDeniedException - The AWS user account does not have permission to perform the action. Check the AWS Identity and Access
Management (IAM) policy associated with this account.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.AwsServiceExceptiondefault GetImportFileTaskResponse getImportFileTask(GetImportFileTaskRequest getImportFileTaskRequest) throws ResourceNotFoundException, AccessDeniedException, ThrottlingException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, MigrationHubStrategyException
Retrieves the details about a specific import task.
getImportFileTaskRequest - ResourceNotFoundException - The specified ID in the request is not found.AccessDeniedException - The AWS user account does not have permission to perform the action. Check the AWS Identity and Access
Management (IAM) policy associated with this account.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.AwsServiceExceptiondefault 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.Builder avoiding the need
to create one manually via GetImportFileTaskRequest.builder()
getImportFileTaskRequest - A Consumer that will call methods on GetImportFileTaskRequest.Builder to create a request.ResourceNotFoundException - The specified ID in the request is not found.AccessDeniedException - The AWS user account does not have permission to perform the action. Check the AWS Identity and Access
Management (IAM) policy associated with this account.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.AwsServiceExceptiondefault GetPortfolioPreferencesResponse getPortfolioPreferences(GetPortfolioPreferencesRequest getPortfolioPreferencesRequest) throws ResourceNotFoundException, AccessDeniedException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, MigrationHubStrategyException
Retrieves your migration and modernization preferences.
getPortfolioPreferencesRequest - ResourceNotFoundException - The specified ID in the request is not found.AccessDeniedException - The AWS user account does not have permission to perform the action. Check the AWS Identity and Access
Management (IAM) policy associated with this account.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.AwsServiceExceptiondefault 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.Builder avoiding
the need to create one manually via GetPortfolioPreferencesRequest.builder()
getPortfolioPreferencesRequest - A Consumer that will call methods on GetPortfolioPreferencesRequest.Builder to create a
request.ResourceNotFoundException - The specified ID in the request is not found.AccessDeniedException - The AWS user account does not have permission to perform the action. Check the AWS Identity and Access
Management (IAM) policy associated with this account.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.AwsServiceExceptiondefault 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.
getPortfolioSummaryRequest - AccessDeniedException - The AWS user account does not have permission to perform the action. Check the AWS Identity and Access
Management (IAM) policy associated with this account.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.AwsServiceExceptiondefault 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.Builder avoiding the
need to create one manually via GetPortfolioSummaryRequest.builder()
getPortfolioSummaryRequest - A Consumer that will call methods on GetPortfolioSummaryRequest.Builder to create a
request.AccessDeniedException - The AWS user account does not have permission to perform the action. Check the AWS Identity and Access
Management (IAM) policy associated with this account.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.AwsServiceExceptiondefault GetRecommendationReportDetailsResponse getRecommendationReportDetails(GetRecommendationReportDetailsRequest getRecommendationReportDetailsRequest) throws ResourceNotFoundException, AccessDeniedException, ThrottlingException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, MigrationHubStrategyException
Retrieves detailed information about the specified recommendation report.
getRecommendationReportDetailsRequest - ResourceNotFoundException - The specified ID in the request is not found.AccessDeniedException - The AWS user account does not have permission to perform the action. Check the AWS Identity and Access
Management (IAM) policy associated with this account.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.AwsServiceExceptiondefault 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.Builder
avoiding the need to create one manually via GetRecommendationReportDetailsRequest.builder()
getRecommendationReportDetailsRequest - A Consumer that will call methods on GetRecommendationReportDetailsRequest.Builder to
create a request.ResourceNotFoundException - The specified ID in the request is not found.AccessDeniedException - The AWS user account does not have permission to perform the action. Check the AWS Identity and Access
Management (IAM) policy associated with this account.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.AwsServiceExceptiondefault GetServerDetailsResponse getServerDetails(GetServerDetailsRequest getServerDetailsRequest) throws ResourceNotFoundException, AccessDeniedException, ThrottlingException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, MigrationHubStrategyException
Retrieves detailed information about a specified server.
getServerDetailsRequest - ResourceNotFoundException - The specified ID in the request is not found.AccessDeniedException - The AWS user account does not have permission to perform the action. Check the AWS Identity and Access
Management (IAM) policy associated with this account.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.AwsServiceExceptiondefault 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.Builder avoiding the need
to create one manually via GetServerDetailsRequest.builder()
getServerDetailsRequest - A Consumer that will call methods on GetServerDetailsRequest.Builder to create a request.ResourceNotFoundException - The specified ID in the request is not found.AccessDeniedException - The AWS user account does not have permission to perform the action. Check the AWS Identity and Access
Management (IAM) policy associated with this account.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.AwsServiceExceptiondefault GetServerDetailsIterable getServerDetailsPaginator(GetServerDetailsRequest getServerDetailsRequest) throws ResourceNotFoundException, AccessDeniedException, ThrottlingException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, MigrationHubStrategyException
Retrieves detailed information about a specified server.
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
software.amazon.awssdk.services.migrationhubstrategy.paginators.GetServerDetailsIterable responses = client.getServerDetailsPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@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 directly
software.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.
getServerDetailsRequest - ResourceNotFoundException - The specified ID in the request is not found.AccessDeniedException - The AWS user account does not have permission to perform the action. Check the AWS Identity and Access
Management (IAM) policy associated with this account.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.AwsServiceExceptiondefault GetServerDetailsIterable getServerDetailsPaginator(Consumer<GetServerDetailsRequest.Builder> getServerDetailsRequest) throws ResourceNotFoundException, AccessDeniedException, ThrottlingException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, MigrationHubStrategyException
Retrieves detailed information about a specified server.
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
software.amazon.awssdk.services.migrationhubstrategy.paginators.GetServerDetailsIterable responses = client.getServerDetailsPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@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 directly
software.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.Builder avoiding the need
to create one manually via GetServerDetailsRequest.builder()
getServerDetailsRequest - A Consumer that will call methods on GetServerDetailsRequest.Builder to create a request.ResourceNotFoundException - The specified ID in the request is not found.AccessDeniedException - The AWS user account does not have permission to perform the action. Check the AWS Identity and Access
Management (IAM) policy associated with this account.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.AwsServiceExceptiondefault GetServerStrategiesResponse getServerStrategies(GetServerStrategiesRequest getServerStrategiesRequest) throws ResourceNotFoundException, AccessDeniedException, ThrottlingException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, MigrationHubStrategyException
Retrieves recommended strategies and tools for the specified server.
getServerStrategiesRequest - ResourceNotFoundException - The specified ID in the request is not found.AccessDeniedException - The AWS user account does not have permission to perform the action. Check the AWS Identity and Access
Management (IAM) policy associated with this account.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.AwsServiceExceptiondefault 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.Builder avoiding the
need to create one manually via GetServerStrategiesRequest.builder()
getServerStrategiesRequest - A Consumer that will call methods on GetServerStrategiesRequest.Builder to create a
request.ResourceNotFoundException - The specified ID in the request is not found.AccessDeniedException - The AWS user account does not have permission to perform the action. Check the AWS Identity and Access
Management (IAM) policy associated with this account.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.AwsServiceExceptiondefault ListApplicationComponentsResponse listApplicationComponents(ListApplicationComponentsRequest listApplicationComponentsRequest) throws AccessDeniedException, ServiceLinkedRoleLockClientException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, MigrationHubStrategyException
Retrieves a list of all the application components (processes).
listApplicationComponentsRequest - AccessDeniedException - The AWS user account does not have permission to perform the action. Check the AWS Identity and Access
Management (IAM) policy associated with this account.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.AwsServiceExceptiondefault 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.Builder avoiding
the need to create one manually via ListApplicationComponentsRequest.builder()
listApplicationComponentsRequest - A Consumer that will call methods on ListApplicationComponentsRequest.Builder to create a
request.AccessDeniedException - The AWS user account does not have permission to perform the action. Check the AWS Identity and Access
Management (IAM) policy associated with this account.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.AwsServiceExceptiondefault ListApplicationComponentsIterable listApplicationComponentsPaginator(ListApplicationComponentsRequest listApplicationComponentsRequest) throws AccessDeniedException, ServiceLinkedRoleLockClientException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, MigrationHubStrategyException
Retrieves a list of all the application components (processes).
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
software.amazon.awssdk.services.migrationhubstrategy.paginators.ListApplicationComponentsIterable responses = client.listApplicationComponentsPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@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 directly
software.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.
listApplicationComponentsRequest - AccessDeniedException - The AWS user account does not have permission to perform the action. Check the AWS Identity and Access
Management (IAM) policy associated with this account.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.AwsServiceExceptiondefault ListApplicationComponentsIterable listApplicationComponentsPaginator(Consumer<ListApplicationComponentsRequest.Builder> listApplicationComponentsRequest) throws AccessDeniedException, ServiceLinkedRoleLockClientException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, MigrationHubStrategyException
Retrieves a list of all the application components (processes).
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
software.amazon.awssdk.services.migrationhubstrategy.paginators.ListApplicationComponentsIterable responses = client.listApplicationComponentsPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@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 directly
software.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.Builder avoiding
the need to create one manually via ListApplicationComponentsRequest.builder()
listApplicationComponentsRequest - A Consumer that will call methods on ListApplicationComponentsRequest.Builder to create a
request.AccessDeniedException - The AWS user account does not have permission to perform the action. Check the AWS Identity and Access
Management (IAM) policy associated with this account.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.AwsServiceExceptiondefault ListCollectorsResponse listCollectors(ListCollectorsRequest listCollectorsRequest) throws AccessDeniedException, ThrottlingException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, MigrationHubStrategyException
Retrieves a list of all the installed collectors.
listCollectorsRequest - AccessDeniedException - The AWS user account does not have permission to perform the action. Check the AWS Identity and Access
Management (IAM) policy associated with this account.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.AwsServiceExceptiondefault 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.Builder avoiding the need to
create one manually via ListCollectorsRequest.builder()
listCollectorsRequest - A Consumer that will call methods on ListCollectorsRequest.Builder to create a request.AccessDeniedException - The AWS user account does not have permission to perform the action. Check the AWS Identity and Access
Management (IAM) policy associated with this account.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.AwsServiceExceptiondefault ListCollectorsIterable listCollectorsPaginator(ListCollectorsRequest listCollectorsRequest) throws AccessDeniedException, ThrottlingException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, MigrationHubStrategyException
Retrieves a list of all the installed collectors.
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
software.amazon.awssdk.services.migrationhubstrategy.paginators.ListCollectorsIterable responses = client.listCollectorsPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@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 directly
software.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.
listCollectorsRequest - AccessDeniedException - The AWS user account does not have permission to perform the action. Check the AWS Identity and Access
Management (IAM) policy associated with this account.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.AwsServiceExceptiondefault ListCollectorsIterable listCollectorsPaginator(Consumer<ListCollectorsRequest.Builder> listCollectorsRequest) throws AccessDeniedException, ThrottlingException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, MigrationHubStrategyException
Retrieves a list of all the installed collectors.
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
software.amazon.awssdk.services.migrationhubstrategy.paginators.ListCollectorsIterable responses = client.listCollectorsPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@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 directly
software.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.Builder avoiding the need to
create one manually via ListCollectorsRequest.builder()
listCollectorsRequest - A Consumer that will call methods on ListCollectorsRequest.Builder to create a request.AccessDeniedException - The AWS user account does not have permission to perform the action. Check the AWS Identity and Access
Management (IAM) policy associated with this account.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.AwsServiceExceptiondefault ListImportFileTaskResponse listImportFileTask(ListImportFileTaskRequest listImportFileTaskRequest) throws AccessDeniedException, ThrottlingException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, MigrationHubStrategyException
Retrieves a list of all the imports performed.
listImportFileTaskRequest - AccessDeniedException - The AWS user account does not have permission to perform the action. Check the AWS Identity and Access
Management (IAM) policy associated with this account.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.AwsServiceExceptiondefault 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.Builder avoiding the
need to create one manually via ListImportFileTaskRequest.builder()
listImportFileTaskRequest - A Consumer that will call methods on ListImportFileTaskRequest.Builder to create a
request.AccessDeniedException - The AWS user account does not have permission to perform the action. Check the AWS Identity and Access
Management (IAM) policy associated with this account.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.AwsServiceExceptiondefault ListImportFileTaskIterable listImportFileTaskPaginator(ListImportFileTaskRequest listImportFileTaskRequest) throws AccessDeniedException, ThrottlingException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, MigrationHubStrategyException
Retrieves a list of all the imports performed.
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
software.amazon.awssdk.services.migrationhubstrategy.paginators.ListImportFileTaskIterable responses = client.listImportFileTaskPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@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 directly
software.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.
listImportFileTaskRequest - AccessDeniedException - The AWS user account does not have permission to perform the action. Check the AWS Identity and Access
Management (IAM) policy associated with this account.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.AwsServiceExceptiondefault ListImportFileTaskIterable listImportFileTaskPaginator(Consumer<ListImportFileTaskRequest.Builder> listImportFileTaskRequest) throws AccessDeniedException, ThrottlingException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, MigrationHubStrategyException
Retrieves a list of all the imports performed.
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
software.amazon.awssdk.services.migrationhubstrategy.paginators.ListImportFileTaskIterable responses = client.listImportFileTaskPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@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 directly
software.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.Builder avoiding the
need to create one manually via ListImportFileTaskRequest.builder()
listImportFileTaskRequest - A Consumer that will call methods on ListImportFileTaskRequest.Builder to create a
request.AccessDeniedException - The AWS user account does not have permission to perform the action. Check the AWS Identity and Access
Management (IAM) policy associated with this account.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.AwsServiceExceptiondefault ListServersResponse listServers(ListServersRequest listServersRequest) throws AccessDeniedException, ThrottlingException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, MigrationHubStrategyException
Returns a list of all the servers.
listServersRequest - AccessDeniedException - The AWS user account does not have permission to perform the action. Check the AWS Identity and Access
Management (IAM) policy associated with this account.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.AwsServiceExceptiondefault 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.Builder avoiding the need to
create one manually via ListServersRequest.builder()
listServersRequest - A Consumer that will call methods on ListServersRequest.Builder to create a request.AccessDeniedException - The AWS user account does not have permission to perform the action. Check the AWS Identity and Access
Management (IAM) policy associated with this account.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.AwsServiceExceptiondefault ListServersIterable listServersPaginator(ListServersRequest listServersRequest) throws AccessDeniedException, ThrottlingException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, MigrationHubStrategyException
Returns a list of all the servers.
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
software.amazon.awssdk.services.migrationhubstrategy.paginators.ListServersIterable responses = client.listServersPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@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 directly
software.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.
listServersRequest - AccessDeniedException - The AWS user account does not have permission to perform the action. Check the AWS Identity and Access
Management (IAM) policy associated with this account.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.AwsServiceExceptiondefault ListServersIterable listServersPaginator(Consumer<ListServersRequest.Builder> listServersRequest) throws AccessDeniedException, ThrottlingException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, MigrationHubStrategyException
Returns a list of all the servers.
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
software.amazon.awssdk.services.migrationhubstrategy.paginators.ListServersIterable responses = client.listServersPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@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 directly
software.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.Builder avoiding the need to
create one manually via ListServersRequest.builder()
listServersRequest - A Consumer that will call methods on ListServersRequest.Builder to create a request.AccessDeniedException - The AWS user account does not have permission to perform the action. Check the AWS Identity and Access
Management (IAM) policy associated with this account.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.AwsServiceExceptiondefault PutPortfolioPreferencesResponse putPortfolioPreferences(PutPortfolioPreferencesRequest putPortfolioPreferencesRequest) throws AccessDeniedException, ThrottlingException, ValidationException, ConflictException, InternalServerException, AwsServiceException, SdkClientException, MigrationHubStrategyException
Saves the specified migration and modernization preferences.
putPortfolioPreferencesRequest - AccessDeniedException - The AWS user account does not have permission to perform the action. Check the AWS Identity and Access
Management (IAM) policy associated with this account.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.AwsServiceExceptiondefault 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.Builder avoiding
the need to create one manually via PutPortfolioPreferencesRequest.builder()
putPortfolioPreferencesRequest - A Consumer that will call methods on PutPortfolioPreferencesRequest.Builder to create a
request.AccessDeniedException - The AWS user account does not have permission to perform the action. Check the AWS Identity and Access
Management (IAM) policy associated with this account.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.AwsServiceExceptiondefault StartAssessmentResponse startAssessment(StartAssessmentRequest startAssessmentRequest) throws AccessDeniedException, ThrottlingException, ServiceQuotaExceededException, InternalServerException, AwsServiceException, SdkClientException, MigrationHubStrategyException
Starts the assessment of an on-premises environment.
startAssessmentRequest - AccessDeniedException - The AWS user account does not have permission to perform the action. Check the AWS Identity and Access
Management (IAM) policy associated with this account.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.AwsServiceExceptiondefault 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.Builder avoiding the need
to create one manually via StartAssessmentRequest.builder()
startAssessmentRequest - A Consumer that will call methods on StartAssessmentRequest.Builder to create a request.AccessDeniedException - The AWS user account does not have permission to perform the action. Check the AWS Identity and Access
Management (IAM) policy associated with this account.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.AwsServiceExceptiondefault StartImportFileTaskResponse startImportFileTask(StartImportFileTaskRequest startImportFileTaskRequest) throws AccessDeniedException, ThrottlingException, ServiceQuotaExceededException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, MigrationHubStrategyException
Starts a file import.
startImportFileTaskRequest - AccessDeniedException - The AWS user account does not have permission to perform the action. Check the AWS Identity and Access
Management (IAM) policy associated with this account.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.AwsServiceExceptiondefault 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.Builder avoiding the
need to create one manually via StartImportFileTaskRequest.builder()
startImportFileTaskRequest - A Consumer that will call methods on StartImportFileTaskRequest.Builder to create a
request.AccessDeniedException - The AWS user account does not have permission to perform the action. Check the AWS Identity and Access
Management (IAM) policy associated with this account.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.AwsServiceExceptiondefault StartRecommendationReportGenerationResponse startRecommendationReportGeneration(StartRecommendationReportGenerationRequest startRecommendationReportGenerationRequest) throws AccessDeniedException, ThrottlingException, ValidationException, ConflictException, InternalServerException, AwsServiceException, SdkClientException, MigrationHubStrategyException
Starts generating a recommendation report.
startRecommendationReportGenerationRequest - AccessDeniedException - The AWS user account does not have permission to perform the action. Check the AWS Identity and Access
Management (IAM) policy associated with this account.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.AwsServiceExceptiondefault 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.Builder
avoiding the need to create one manually via StartRecommendationReportGenerationRequest.builder()
startRecommendationReportGenerationRequest - A Consumer that will call methods on StartRecommendationReportGenerationRequest.Builder to
create a request.AccessDeniedException - The AWS user account does not have permission to perform the action. Check the AWS Identity and Access
Management (IAM) policy associated with this account.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.AwsServiceExceptiondefault StopAssessmentResponse stopAssessment(StopAssessmentRequest stopAssessmentRequest) throws AccessDeniedException, ThrottlingException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, MigrationHubStrategyException
Stops the assessment of an on-premises environment.
stopAssessmentRequest - AccessDeniedException - The AWS user account does not have permission to perform the action. Check the AWS Identity and Access
Management (IAM) policy associated with this account.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.AwsServiceExceptiondefault 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.Builder avoiding the need to
create one manually via StopAssessmentRequest.builder()
stopAssessmentRequest - A Consumer that will call methods on StopAssessmentRequest.Builder to create a request.AccessDeniedException - The AWS user account does not have permission to perform the action. Check the AWS Identity and Access
Management (IAM) policy associated with this account.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.AwsServiceExceptiondefault UpdateApplicationComponentConfigResponse updateApplicationComponentConfig(UpdateApplicationComponentConfigRequest updateApplicationComponentConfigRequest) throws ResourceNotFoundException, ThrottlingException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, MigrationHubStrategyException
Updates the configuration of an application component.
updateApplicationComponentConfigRequest - 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.AwsServiceExceptiondefault 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.Builder
avoiding the need to create one manually via UpdateApplicationComponentConfigRequest.builder()
updateApplicationComponentConfigRequest - A Consumer that will call methods on UpdateApplicationComponentConfigRequest.Builder to
create a request.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.AwsServiceExceptiondefault UpdateServerConfigResponse updateServerConfig(UpdateServerConfigRequest updateServerConfigRequest) throws ResourceNotFoundException, ThrottlingException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, MigrationHubStrategyException
Updates the configuration of the specified server.
updateServerConfigRequest - 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.AwsServiceExceptiondefault 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.Builder avoiding the
need to create one manually via UpdateServerConfigRequest.builder()
updateServerConfigRequest - A Consumer that will call methods on UpdateServerConfigRequest.Builder to create a
request.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.AwsServiceExceptionstatic ServiceMetadata serviceMetadata()
Copyright © 2022. All rights reserved.