Interface MgnClient
- All Superinterfaces:
AutoCloseable,AwsClient,SdkAutoCloseable,SdkClient
builder() method.
The Application Migration Service service.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringValue for looking up the service's metadata from theServiceMetadataProvider.static final String -
Method Summary
Modifier and TypeMethodDescriptiondefault ArchiveApplicationResponsearchiveApplication(Consumer<ArchiveApplicationRequest.Builder> archiveApplicationRequest) Archive application.default ArchiveApplicationResponsearchiveApplication(ArchiveApplicationRequest archiveApplicationRequest) Archive application.default ArchiveWaveResponsearchiveWave(Consumer<ArchiveWaveRequest.Builder> archiveWaveRequest) Archive wave.default ArchiveWaveResponsearchiveWave(ArchiveWaveRequest archiveWaveRequest) Archive wave.default AssociateApplicationsResponseassociateApplications(Consumer<AssociateApplicationsRequest.Builder> associateApplicationsRequest) Associate applications to wave.default AssociateApplicationsResponseassociateApplications(AssociateApplicationsRequest associateApplicationsRequest) Associate applications to wave.default AssociateSourceServersResponseassociateSourceServers(Consumer<AssociateSourceServersRequest.Builder> associateSourceServersRequest) Associate source servers to application.default AssociateSourceServersResponseassociateSourceServers(AssociateSourceServersRequest associateSourceServersRequest) Associate source servers to application.static MgnClientBuilderbuilder()Create a builder that can be used to configure and create aMgnClient.changeServerLifeCycleState(Consumer<ChangeServerLifeCycleStateRequest.Builder> changeServerLifeCycleStateRequest) Allows the user to set the SourceServer.LifeCycle.state property for specific Source Server IDs to one of the following: READY_FOR_TEST or READY_FOR_CUTOVER.changeServerLifeCycleState(ChangeServerLifeCycleStateRequest changeServerLifeCycleStateRequest) Allows the user to set the SourceServer.LifeCycle.state property for specific Source Server IDs to one of the following: READY_FOR_TEST or READY_FOR_CUTOVER.static MgnClientcreate()Create aMgnClientwith the region loaded from theDefaultAwsRegionProviderChainand credentials loaded from theDefaultCredentialsProvider.default CreateApplicationResponsecreateApplication(Consumer<CreateApplicationRequest.Builder> createApplicationRequest) Create application.default CreateApplicationResponsecreateApplication(CreateApplicationRequest createApplicationRequest) Create application.default CreateConnectorResponsecreateConnector(Consumer<CreateConnectorRequest.Builder> createConnectorRequest) Create Connector.default CreateConnectorResponsecreateConnector(CreateConnectorRequest createConnectorRequest) Create Connector.createLaunchConfigurationTemplate(Consumer<CreateLaunchConfigurationTemplateRequest.Builder> createLaunchConfigurationTemplateRequest) Creates a new Launch Configuration Template.createLaunchConfigurationTemplate(CreateLaunchConfigurationTemplateRequest createLaunchConfigurationTemplateRequest) Creates a new Launch Configuration Template.createReplicationConfigurationTemplate(Consumer<CreateReplicationConfigurationTemplateRequest.Builder> createReplicationConfigurationTemplateRequest) Creates a new ReplicationConfigurationTemplate.createReplicationConfigurationTemplate(CreateReplicationConfigurationTemplateRequest createReplicationConfigurationTemplateRequest) Creates a new ReplicationConfigurationTemplate.default CreateWaveResponsecreateWave(Consumer<CreateWaveRequest.Builder> createWaveRequest) Create wave.default CreateWaveResponsecreateWave(CreateWaveRequest createWaveRequest) Create wave.default DeleteApplicationResponsedeleteApplication(Consumer<DeleteApplicationRequest.Builder> deleteApplicationRequest) Delete application.default DeleteApplicationResponsedeleteApplication(DeleteApplicationRequest deleteApplicationRequest) Delete application.default DeleteConnectorResponsedeleteConnector(Consumer<DeleteConnectorRequest.Builder> deleteConnectorRequest) Delete Connector.default DeleteConnectorResponsedeleteConnector(DeleteConnectorRequest deleteConnectorRequest) Delete Connector.default DeleteJobResponsedeleteJob(Consumer<DeleteJobRequest.Builder> deleteJobRequest) Deletes a single Job by ID.default DeleteJobResponsedeleteJob(DeleteJobRequest deleteJobRequest) Deletes a single Job by ID.deleteLaunchConfigurationTemplate(Consumer<DeleteLaunchConfigurationTemplateRequest.Builder> deleteLaunchConfigurationTemplateRequest) Deletes a single Launch Configuration Template by ID.deleteLaunchConfigurationTemplate(DeleteLaunchConfigurationTemplateRequest deleteLaunchConfigurationTemplateRequest) Deletes a single Launch Configuration Template by ID.deleteReplicationConfigurationTemplate(Consumer<DeleteReplicationConfigurationTemplateRequest.Builder> deleteReplicationConfigurationTemplateRequest) Deletes a single Replication Configuration Template by IDdeleteReplicationConfigurationTemplate(DeleteReplicationConfigurationTemplateRequest deleteReplicationConfigurationTemplateRequest) Deletes a single Replication Configuration Template by IDdefault DeleteSourceServerResponsedeleteSourceServer(Consumer<DeleteSourceServerRequest.Builder> deleteSourceServerRequest) Deletes a single source server by ID.default DeleteSourceServerResponsedeleteSourceServer(DeleteSourceServerRequest deleteSourceServerRequest) Deletes a single source server by ID.default DeleteVcenterClientResponsedeleteVcenterClient(Consumer<DeleteVcenterClientRequest.Builder> deleteVcenterClientRequest) Deletes a given vCenter client by ID.default DeleteVcenterClientResponsedeleteVcenterClient(DeleteVcenterClientRequest deleteVcenterClientRequest) Deletes a given vCenter client by ID.default DeleteWaveResponsedeleteWave(Consumer<DeleteWaveRequest.Builder> deleteWaveRequest) Delete wave.default DeleteWaveResponsedeleteWave(DeleteWaveRequest deleteWaveRequest) Delete wave.default DescribeJobLogItemsResponsedescribeJobLogItems(Consumer<DescribeJobLogItemsRequest.Builder> describeJobLogItemsRequest) Retrieves detailed job log items with paging.default DescribeJobLogItemsResponsedescribeJobLogItems(DescribeJobLogItemsRequest describeJobLogItemsRequest) Retrieves detailed job log items with paging.default DescribeJobLogItemsIterabledescribeJobLogItemsPaginator(Consumer<DescribeJobLogItemsRequest.Builder> describeJobLogItemsRequest) Retrieves detailed job log items with paging.default DescribeJobLogItemsIterabledescribeJobLogItemsPaginator(DescribeJobLogItemsRequest describeJobLogItemsRequest) Retrieves detailed job log items with paging.default DescribeJobsResponsedescribeJobs(Consumer<DescribeJobsRequest.Builder> describeJobsRequest) Returns a list of Jobs.default DescribeJobsResponsedescribeJobs(DescribeJobsRequest describeJobsRequest) Returns a list of Jobs.default DescribeJobsIterabledescribeJobsPaginator(Consumer<DescribeJobsRequest.Builder> describeJobsRequest) Returns a list of Jobs.default DescribeJobsIterabledescribeJobsPaginator(DescribeJobsRequest describeJobsRequest) Returns a list of Jobs.describeLaunchConfigurationTemplates(Consumer<DescribeLaunchConfigurationTemplatesRequest.Builder> describeLaunchConfigurationTemplatesRequest) Lists all Launch Configuration Templates, filtered by Launch Configuration Template IDsdescribeLaunchConfigurationTemplates(DescribeLaunchConfigurationTemplatesRequest describeLaunchConfigurationTemplatesRequest) Lists all Launch Configuration Templates, filtered by Launch Configuration Template IDsdescribeLaunchConfigurationTemplatesPaginator(Consumer<DescribeLaunchConfigurationTemplatesRequest.Builder> describeLaunchConfigurationTemplatesRequest) Lists all Launch Configuration Templates, filtered by Launch Configuration Template IDsdescribeLaunchConfigurationTemplatesPaginator(DescribeLaunchConfigurationTemplatesRequest describeLaunchConfigurationTemplatesRequest) Lists all Launch Configuration Templates, filtered by Launch Configuration Template IDsdescribeReplicationConfigurationTemplates(Consumer<DescribeReplicationConfigurationTemplatesRequest.Builder> describeReplicationConfigurationTemplatesRequest) Lists all ReplicationConfigurationTemplates, filtered by Source Server IDs.describeReplicationConfigurationTemplates(DescribeReplicationConfigurationTemplatesRequest describeReplicationConfigurationTemplatesRequest) Lists all ReplicationConfigurationTemplates, filtered by Source Server IDs.describeReplicationConfigurationTemplatesPaginator(Consumer<DescribeReplicationConfigurationTemplatesRequest.Builder> describeReplicationConfigurationTemplatesRequest) Lists all ReplicationConfigurationTemplates, filtered by Source Server IDs.describeReplicationConfigurationTemplatesPaginator(DescribeReplicationConfigurationTemplatesRequest describeReplicationConfigurationTemplatesRequest) Lists all ReplicationConfigurationTemplates, filtered by Source Server IDs.default DescribeSourceServersResponsedescribeSourceServers(Consumer<DescribeSourceServersRequest.Builder> describeSourceServersRequest) Retrieves all SourceServers or multiple SourceServers by ID.default DescribeSourceServersResponsedescribeSourceServers(DescribeSourceServersRequest describeSourceServersRequest) Retrieves all SourceServers or multiple SourceServers by ID.default DescribeSourceServersIterabledescribeSourceServersPaginator(Consumer<DescribeSourceServersRequest.Builder> describeSourceServersRequest) Retrieves all SourceServers or multiple SourceServers by ID.default DescribeSourceServersIterabledescribeSourceServersPaginator(DescribeSourceServersRequest describeSourceServersRequest) Retrieves all SourceServers or multiple SourceServers by ID.default DescribeVcenterClientsResponsedescribeVcenterClients(Consumer<DescribeVcenterClientsRequest.Builder> describeVcenterClientsRequest) Returns a list of the installed vCenter clients.default DescribeVcenterClientsResponsedescribeVcenterClients(DescribeVcenterClientsRequest describeVcenterClientsRequest) Returns a list of the installed vCenter clients.default DescribeVcenterClientsIterabledescribeVcenterClientsPaginator(Consumer<DescribeVcenterClientsRequest.Builder> describeVcenterClientsRequest) Returns a list of the installed vCenter clients.default DescribeVcenterClientsIterabledescribeVcenterClientsPaginator(DescribeVcenterClientsRequest describeVcenterClientsRequest) Returns a list of the installed vCenter clients.default DisassociateApplicationsResponsedisassociateApplications(Consumer<DisassociateApplicationsRequest.Builder> disassociateApplicationsRequest) Disassociate applications from wave.default DisassociateApplicationsResponsedisassociateApplications(DisassociateApplicationsRequest disassociateApplicationsRequest) Disassociate applications from wave.disassociateSourceServers(Consumer<DisassociateSourceServersRequest.Builder> disassociateSourceServersRequest) Disassociate source servers from application.disassociateSourceServers(DisassociateSourceServersRequest disassociateSourceServersRequest) Disassociate source servers from application.default DisconnectFromServiceResponsedisconnectFromService(Consumer<DisconnectFromServiceRequest.Builder> disconnectFromServiceRequest) Disconnects specific Source Servers from Application Migration Service.default DisconnectFromServiceResponsedisconnectFromService(DisconnectFromServiceRequest disconnectFromServiceRequest) Disconnects specific Source Servers from Application Migration Service.default FinalizeCutoverResponsefinalizeCutover(Consumer<FinalizeCutoverRequest.Builder> finalizeCutoverRequest) Finalizes the cutover immediately for specific Source Servers.default FinalizeCutoverResponsefinalizeCutover(FinalizeCutoverRequest finalizeCutoverRequest) Finalizes the cutover immediately for specific Source Servers.default GetLaunchConfigurationResponsegetLaunchConfiguration(Consumer<GetLaunchConfigurationRequest.Builder> getLaunchConfigurationRequest) Lists all LaunchConfigurations available, filtered by Source Server IDs.default GetLaunchConfigurationResponsegetLaunchConfiguration(GetLaunchConfigurationRequest getLaunchConfigurationRequest) Lists all LaunchConfigurations available, filtered by Source Server IDs.getReplicationConfiguration(Consumer<GetReplicationConfigurationRequest.Builder> getReplicationConfigurationRequest) Lists all ReplicationConfigurations, filtered by Source Server ID.getReplicationConfiguration(GetReplicationConfigurationRequest getReplicationConfigurationRequest) Lists all ReplicationConfigurations, filtered by Source Server ID.default InitializeServiceResponseinitializeService(Consumer<InitializeServiceRequest.Builder> initializeServiceRequest) Initialize Application Migration Service.default InitializeServiceResponseinitializeService(InitializeServiceRequest initializeServiceRequest) Initialize Application Migration Service.default ListApplicationsResponselistApplications(Consumer<ListApplicationsRequest.Builder> listApplicationsRequest) Retrieves all applications or multiple applications by ID.default ListApplicationsResponselistApplications(ListApplicationsRequest listApplicationsRequest) Retrieves all applications or multiple applications by ID.default ListApplicationsIterablelistApplicationsPaginator(Consumer<ListApplicationsRequest.Builder> listApplicationsRequest) Retrieves all applications or multiple applications by ID.default ListApplicationsIterablelistApplicationsPaginator(ListApplicationsRequest listApplicationsRequest) Retrieves all applications or multiple applications by ID.default ListConnectorsResponselistConnectors(Consumer<ListConnectorsRequest.Builder> listConnectorsRequest) List Connectors.default ListConnectorsResponselistConnectors(ListConnectorsRequest listConnectorsRequest) List Connectors.default ListConnectorsIterablelistConnectorsPaginator(Consumer<ListConnectorsRequest.Builder> listConnectorsRequest) List Connectors.default ListConnectorsIterablelistConnectorsPaginator(ListConnectorsRequest listConnectorsRequest) List Connectors.default ListExportErrorsResponselistExportErrors(Consumer<ListExportErrorsRequest.Builder> listExportErrorsRequest) List export errors.default ListExportErrorsResponselistExportErrors(ListExportErrorsRequest listExportErrorsRequest) List export errors.default ListExportErrorsIterablelistExportErrorsPaginator(Consumer<ListExportErrorsRequest.Builder> listExportErrorsRequest) List export errors.default ListExportErrorsIterablelistExportErrorsPaginator(ListExportErrorsRequest listExportErrorsRequest) List export errors.default ListExportsResponselistExports(Consumer<ListExportsRequest.Builder> listExportsRequest) List exports.default ListExportsResponselistExports(ListExportsRequest listExportsRequest) List exports.default ListExportsIterablelistExportsPaginator(Consumer<ListExportsRequest.Builder> listExportsRequest) List exports.default ListExportsIterablelistExportsPaginator(ListExportsRequest listExportsRequest) List exports.default ListImportErrorsResponselistImportErrors(Consumer<ListImportErrorsRequest.Builder> listImportErrorsRequest) List import errors.default ListImportErrorsResponselistImportErrors(ListImportErrorsRequest listImportErrorsRequest) List import errors.default ListImportErrorsIterablelistImportErrorsPaginator(Consumer<ListImportErrorsRequest.Builder> listImportErrorsRequest) List import errors.default ListImportErrorsIterablelistImportErrorsPaginator(ListImportErrorsRequest listImportErrorsRequest) List import errors.default ListImportsResponselistImports(Consumer<ListImportsRequest.Builder> listImportsRequest) List imports.default ListImportsResponselistImports(ListImportsRequest listImportsRequest) List imports.default ListImportsIterablelistImportsPaginator(Consumer<ListImportsRequest.Builder> listImportsRequest) List imports.default ListImportsIterablelistImportsPaginator(ListImportsRequest listImportsRequest) List imports.default ListManagedAccountsResponselistManagedAccounts(Consumer<ListManagedAccountsRequest.Builder> listManagedAccountsRequest) List Managed Accounts.default ListManagedAccountsResponselistManagedAccounts(ListManagedAccountsRequest listManagedAccountsRequest) List Managed Accounts.default ListManagedAccountsIterablelistManagedAccountsPaginator(Consumer<ListManagedAccountsRequest.Builder> listManagedAccountsRequest) List Managed Accounts.default ListManagedAccountsIterablelistManagedAccountsPaginator(ListManagedAccountsRequest listManagedAccountsRequest) List Managed Accounts.default ListSourceServerActionsResponselistSourceServerActions(Consumer<ListSourceServerActionsRequest.Builder> listSourceServerActionsRequest) List source server post migration custom actions.default ListSourceServerActionsResponselistSourceServerActions(ListSourceServerActionsRequest listSourceServerActionsRequest) List source server post migration custom actions.default ListSourceServerActionsIterablelistSourceServerActionsPaginator(Consumer<ListSourceServerActionsRequest.Builder> listSourceServerActionsRequest) List source server post migration custom actions.default ListSourceServerActionsIterablelistSourceServerActionsPaginator(ListSourceServerActionsRequest listSourceServerActionsRequest) List source server post migration custom actions.default ListTagsForResourceResponselistTagsForResource(Consumer<ListTagsForResourceRequest.Builder> listTagsForResourceRequest) List all tags for your Application Migration Service resources.default ListTagsForResourceResponselistTagsForResource(ListTagsForResourceRequest listTagsForResourceRequest) List all tags for your Application Migration Service resources.default ListTemplateActionsResponselistTemplateActions(Consumer<ListTemplateActionsRequest.Builder> listTemplateActionsRequest) List template post migration custom actions.default ListTemplateActionsResponselistTemplateActions(ListTemplateActionsRequest listTemplateActionsRequest) List template post migration custom actions.default ListTemplateActionsIterablelistTemplateActionsPaginator(Consumer<ListTemplateActionsRequest.Builder> listTemplateActionsRequest) List template post migration custom actions.default ListTemplateActionsIterablelistTemplateActionsPaginator(ListTemplateActionsRequest listTemplateActionsRequest) List template post migration custom actions.default ListWavesResponselistWaves(Consumer<ListWavesRequest.Builder> listWavesRequest) Retrieves all waves or multiple waves by ID.default ListWavesResponselistWaves(ListWavesRequest listWavesRequest) Retrieves all waves or multiple waves by ID.default ListWavesIterablelistWavesPaginator(Consumer<ListWavesRequest.Builder> listWavesRequest) Retrieves all waves or multiple waves by ID.default ListWavesIterablelistWavesPaginator(ListWavesRequest listWavesRequest) Retrieves all waves or multiple waves by ID.default MarkAsArchivedResponsemarkAsArchived(Consumer<MarkAsArchivedRequest.Builder> markAsArchivedRequest) Archives specific Source Servers by setting the SourceServer.isArchived property to true for specified SourceServers by ID.default MarkAsArchivedResponsemarkAsArchived(MarkAsArchivedRequest markAsArchivedRequest) Archives specific Source Servers by setting the SourceServer.isArchived property to true for specified SourceServers by ID.default PauseReplicationResponsepauseReplication(Consumer<PauseReplicationRequest.Builder> pauseReplicationRequest) Pause Replication.default PauseReplicationResponsepauseReplication(PauseReplicationRequest pauseReplicationRequest) Pause Replication.default PutSourceServerActionResponseputSourceServerAction(Consumer<PutSourceServerActionRequest.Builder> putSourceServerActionRequest) Put source server post migration custom action.default PutSourceServerActionResponseputSourceServerAction(PutSourceServerActionRequest putSourceServerActionRequest) Put source server post migration custom action.default PutTemplateActionResponseputTemplateAction(Consumer<PutTemplateActionRequest.Builder> putTemplateActionRequest) Put template post migration custom action.default PutTemplateActionResponseputTemplateAction(PutTemplateActionRequest putTemplateActionRequest) Put template post migration custom action.default RemoveSourceServerActionResponseremoveSourceServerAction(Consumer<RemoveSourceServerActionRequest.Builder> removeSourceServerActionRequest) Remove source server post migration custom action.default RemoveSourceServerActionResponseremoveSourceServerAction(RemoveSourceServerActionRequest removeSourceServerActionRequest) Remove source server post migration custom action.default RemoveTemplateActionResponseremoveTemplateAction(Consumer<RemoveTemplateActionRequest.Builder> removeTemplateActionRequest) Remove template post migration custom action.default RemoveTemplateActionResponseremoveTemplateAction(RemoveTemplateActionRequest removeTemplateActionRequest) Remove template post migration custom action.default ResumeReplicationResponseresumeReplication(Consumer<ResumeReplicationRequest.Builder> resumeReplicationRequest) Resume Replication.default ResumeReplicationResponseresumeReplication(ResumeReplicationRequest resumeReplicationRequest) Resume Replication.default RetryDataReplicationResponseretryDataReplication(Consumer<RetryDataReplicationRequest.Builder> retryDataReplicationRequest) Causes the data replication initiation sequence to begin immediately upon next Handshake for specified SourceServer IDs, regardless of when the previous initiation started.default RetryDataReplicationResponseretryDataReplication(RetryDataReplicationRequest retryDataReplicationRequest) Causes the data replication initiation sequence to begin immediately upon next Handshake for specified SourceServer IDs, regardless of when the previous initiation started.default MgnServiceClientConfigurationThe SDK service client configuration exposes client settings to the user, e.g., ClientOverrideConfigurationstatic ServiceMetadatadefault StartCutoverResponsestartCutover(Consumer<StartCutoverRequest.Builder> startCutoverRequest) Launches a Cutover Instance for specific Source Servers.default StartCutoverResponsestartCutover(StartCutoverRequest startCutoverRequest) Launches a Cutover Instance for specific Source Servers.default StartExportResponsestartExport(Consumer<StartExportRequest.Builder> startExportRequest) Start export.default StartExportResponsestartExport(StartExportRequest startExportRequest) Start export.default StartImportResponsestartImport(Consumer<StartImportRequest.Builder> startImportRequest) Start import.default StartImportResponsestartImport(StartImportRequest startImportRequest) Start import.default StartReplicationResponsestartReplication(Consumer<StartReplicationRequest.Builder> startReplicationRequest) Starts replication for SNAPSHOT_SHIPPING agents.default StartReplicationResponsestartReplication(StartReplicationRequest startReplicationRequest) Starts replication for SNAPSHOT_SHIPPING agents.default StartTestResponsestartTest(Consumer<StartTestRequest.Builder> startTestRequest) Launches a Test Instance for specific Source Servers.default StartTestResponsestartTest(StartTestRequest startTestRequest) Launches a Test Instance for specific Source Servers.default StopReplicationResponsestopReplication(Consumer<StopReplicationRequest.Builder> stopReplicationRequest) Stop Replication.default StopReplicationResponsestopReplication(StopReplicationRequest stopReplicationRequest) Stop Replication.default TagResourceResponsetagResource(Consumer<TagResourceRequest.Builder> tagResourceRequest) Adds or overwrites only the specified tags for the specified Application Migration Service resource or resources.default TagResourceResponsetagResource(TagResourceRequest tagResourceRequest) Adds or overwrites only the specified tags for the specified Application Migration Service resource or resources.default TerminateTargetInstancesResponseterminateTargetInstances(Consumer<TerminateTargetInstancesRequest.Builder> terminateTargetInstancesRequest) Starts a job that terminates specific launched EC2 Test and Cutover instances.default TerminateTargetInstancesResponseterminateTargetInstances(TerminateTargetInstancesRequest terminateTargetInstancesRequest) Starts a job that terminates specific launched EC2 Test and Cutover instances.default UnarchiveApplicationResponseunarchiveApplication(Consumer<UnarchiveApplicationRequest.Builder> unarchiveApplicationRequest) Unarchive application.default UnarchiveApplicationResponseunarchiveApplication(UnarchiveApplicationRequest unarchiveApplicationRequest) Unarchive application.default UnarchiveWaveResponseunarchiveWave(Consumer<UnarchiveWaveRequest.Builder> unarchiveWaveRequest) Unarchive wave.default UnarchiveWaveResponseunarchiveWave(UnarchiveWaveRequest unarchiveWaveRequest) Unarchive wave.default UntagResourceResponseuntagResource(Consumer<UntagResourceRequest.Builder> untagResourceRequest) Deletes the specified set of tags from the specified set of Application Migration Service resources.default UntagResourceResponseuntagResource(UntagResourceRequest untagResourceRequest) Deletes the specified set of tags from the specified set of Application Migration Service resources.default UpdateApplicationResponseupdateApplication(Consumer<UpdateApplicationRequest.Builder> updateApplicationRequest) Update application.default UpdateApplicationResponseupdateApplication(UpdateApplicationRequest updateApplicationRequest) Update application.default UpdateConnectorResponseupdateConnector(Consumer<UpdateConnectorRequest.Builder> updateConnectorRequest) Update Connector.default UpdateConnectorResponseupdateConnector(UpdateConnectorRequest updateConnectorRequest) Update Connector.updateLaunchConfiguration(Consumer<UpdateLaunchConfigurationRequest.Builder> updateLaunchConfigurationRequest) Updates multiple LaunchConfigurations by Source Server ID.updateLaunchConfiguration(UpdateLaunchConfigurationRequest updateLaunchConfigurationRequest) Updates multiple LaunchConfigurations by Source Server ID.updateLaunchConfigurationTemplate(Consumer<UpdateLaunchConfigurationTemplateRequest.Builder> updateLaunchConfigurationTemplateRequest) Updates an existing Launch Configuration Template by ID.updateLaunchConfigurationTemplate(UpdateLaunchConfigurationTemplateRequest updateLaunchConfigurationTemplateRequest) Updates an existing Launch Configuration Template by ID.updateReplicationConfiguration(Consumer<UpdateReplicationConfigurationRequest.Builder> updateReplicationConfigurationRequest) Allows you to update multiple ReplicationConfigurations by Source Server ID.updateReplicationConfiguration(UpdateReplicationConfigurationRequest updateReplicationConfigurationRequest) Allows you to update multiple ReplicationConfigurations by Source Server ID.updateReplicationConfigurationTemplate(Consumer<UpdateReplicationConfigurationTemplateRequest.Builder> updateReplicationConfigurationTemplateRequest) Updates multiple ReplicationConfigurationTemplates by ID.updateReplicationConfigurationTemplate(UpdateReplicationConfigurationTemplateRequest updateReplicationConfigurationTemplateRequest) Updates multiple ReplicationConfigurationTemplates by ID.default UpdateSourceServerResponseupdateSourceServer(Consumer<UpdateSourceServerRequest.Builder> updateSourceServerRequest) Update Source Server.default UpdateSourceServerResponseupdateSourceServer(UpdateSourceServerRequest updateSourceServerRequest) Update Source Server.updateSourceServerReplicationType(Consumer<UpdateSourceServerReplicationTypeRequest.Builder> updateSourceServerReplicationTypeRequest) Allows you to change between the AGENT_BASED replication type and the SNAPSHOT_SHIPPING replication type.updateSourceServerReplicationType(UpdateSourceServerReplicationTypeRequest updateSourceServerReplicationTypeRequest) Allows you to change between the AGENT_BASED replication type and the SNAPSHOT_SHIPPING replication type.default UpdateWaveResponseupdateWave(Consumer<UpdateWaveRequest.Builder> updateWaveRequest) Update wave.default UpdateWaveResponseupdateWave(UpdateWaveRequest updateWaveRequest) Update wave.Methods inherited from interface software.amazon.awssdk.utils.SdkAutoCloseable
closeMethods inherited from interface software.amazon.awssdk.core.SdkClient
serviceName
-
Field Details
-
SERVICE_NAME
- See Also:
-
SERVICE_METADATA_ID
Value for looking up the service's metadata from theServiceMetadataProvider.- See Also:
-
-
Method Details
-
archiveApplication
default ArchiveApplicationResponse archiveApplication(ArchiveApplicationRequest archiveApplicationRequest) throws UninitializedAccountException, ResourceNotFoundException, ServiceQuotaExceededException, ConflictException, AwsServiceException, SdkClientException, MgnException Archive application.
- Parameters:
archiveApplicationRequest-- Returns:
- Result of the ArchiveApplication operation returned by the service.
- See Also:
-
archiveApplication
default ArchiveApplicationResponse archiveApplication(Consumer<ArchiveApplicationRequest.Builder> archiveApplicationRequest) throws UninitializedAccountException, ResourceNotFoundException, ServiceQuotaExceededException, ConflictException, AwsServiceException, SdkClientException, MgnException Archive application.
This is a convenience which creates an instance of the
ArchiveApplicationRequest.Builderavoiding the need to create one manually viaArchiveApplicationRequest.builder()- Parameters:
archiveApplicationRequest- AConsumerthat will call methods onArchiveApplicationRequest.Builderto create a request.- Returns:
- Result of the ArchiveApplication operation returned by the service.
- See Also:
-
archiveWave
default ArchiveWaveResponse archiveWave(ArchiveWaveRequest archiveWaveRequest) throws UninitializedAccountException, ResourceNotFoundException, ServiceQuotaExceededException, ConflictException, AwsServiceException, SdkClientException, MgnException Archive wave.
- Parameters:
archiveWaveRequest-- Returns:
- Result of the ArchiveWave operation returned by the service.
- See Also:
-
archiveWave
default ArchiveWaveResponse archiveWave(Consumer<ArchiveWaveRequest.Builder> archiveWaveRequest) throws UninitializedAccountException, ResourceNotFoundException, ServiceQuotaExceededException, ConflictException, AwsServiceException, SdkClientException, MgnException Archive wave.
This is a convenience which creates an instance of the
ArchiveWaveRequest.Builderavoiding the need to create one manually viaArchiveWaveRequest.builder()- Parameters:
archiveWaveRequest- AConsumerthat will call methods onArchiveWaveRequest.Builderto create a request.- Returns:
- Result of the ArchiveWave operation returned by the service.
- See Also:
-
associateApplications
default AssociateApplicationsResponse associateApplications(AssociateApplicationsRequest associateApplicationsRequest) throws UninitializedAccountException, ResourceNotFoundException, ServiceQuotaExceededException, ConflictException, AwsServiceException, SdkClientException, MgnException Associate applications to wave.
- Parameters:
associateApplicationsRequest-- Returns:
- Result of the AssociateApplications operation returned by the service.
- See Also:
-
associateApplications
default AssociateApplicationsResponse associateApplications(Consumer<AssociateApplicationsRequest.Builder> associateApplicationsRequest) throws UninitializedAccountException, ResourceNotFoundException, ServiceQuotaExceededException, ConflictException, AwsServiceException, SdkClientException, MgnException Associate applications to wave.
This is a convenience which creates an instance of the
AssociateApplicationsRequest.Builderavoiding the need to create one manually viaAssociateApplicationsRequest.builder()- Parameters:
associateApplicationsRequest- AConsumerthat will call methods onAssociateApplicationsRequest.Builderto create a request.- Returns:
- Result of the AssociateApplications operation returned by the service.
- See Also:
-
associateSourceServers
default AssociateSourceServersResponse associateSourceServers(AssociateSourceServersRequest associateSourceServersRequest) throws UninitializedAccountException, ResourceNotFoundException, ServiceQuotaExceededException, ConflictException, AwsServiceException, SdkClientException, MgnException Associate source servers to application.
- Parameters:
associateSourceServersRequest-- Returns:
- Result of the AssociateSourceServers operation returned by the service.
- See Also:
-
associateSourceServers
default AssociateSourceServersResponse associateSourceServers(Consumer<AssociateSourceServersRequest.Builder> associateSourceServersRequest) throws UninitializedAccountException, ResourceNotFoundException, ServiceQuotaExceededException, ConflictException, AwsServiceException, SdkClientException, MgnException Associate source servers to application.
This is a convenience which creates an instance of the
AssociateSourceServersRequest.Builderavoiding the need to create one manually viaAssociateSourceServersRequest.builder()- Parameters:
associateSourceServersRequest- AConsumerthat will call methods onAssociateSourceServersRequest.Builderto create a request.- Returns:
- Result of the AssociateSourceServers operation returned by the service.
- See Also:
-
changeServerLifeCycleState
default ChangeServerLifeCycleStateResponse changeServerLifeCycleState(ChangeServerLifeCycleStateRequest changeServerLifeCycleStateRequest) throws UninitializedAccountException, ResourceNotFoundException, ValidationException, ConflictException, AwsServiceException, SdkClientException, MgnException Allows the user to set the SourceServer.LifeCycle.state property for specific Source Server IDs to one of the following: READY_FOR_TEST or READY_FOR_CUTOVER. This command only works if the Source Server is already launchable (dataReplicationInfo.lagDuration is not null.)
- Parameters:
changeServerLifeCycleStateRequest-- Returns:
- Result of the ChangeServerLifeCycleState operation returned by the service.
- See Also:
-
changeServerLifeCycleState
default ChangeServerLifeCycleStateResponse changeServerLifeCycleState(Consumer<ChangeServerLifeCycleStateRequest.Builder> changeServerLifeCycleStateRequest) throws UninitializedAccountException, ResourceNotFoundException, ValidationException, ConflictException, AwsServiceException, SdkClientException, MgnException Allows the user to set the SourceServer.LifeCycle.state property for specific Source Server IDs to one of the following: READY_FOR_TEST or READY_FOR_CUTOVER. This command only works if the Source Server is already launchable (dataReplicationInfo.lagDuration is not null.)
This is a convenience which creates an instance of the
ChangeServerLifeCycleStateRequest.Builderavoiding the need to create one manually viaChangeServerLifeCycleStateRequest.builder()- Parameters:
changeServerLifeCycleStateRequest- AConsumerthat will call methods onChangeServerLifeCycleStateRequest.Builderto create a request.- Returns:
- Result of the ChangeServerLifeCycleState operation returned by the service.
- See Also:
-
createApplication
default CreateApplicationResponse createApplication(CreateApplicationRequest createApplicationRequest) throws UninitializedAccountException, ServiceQuotaExceededException, ConflictException, AwsServiceException, SdkClientException, MgnException Create application.
- Parameters:
createApplicationRequest-- Returns:
- Result of the CreateApplication operation returned by the service.
- See Also:
-
createApplication
default CreateApplicationResponse createApplication(Consumer<CreateApplicationRequest.Builder> createApplicationRequest) throws UninitializedAccountException, ServiceQuotaExceededException, ConflictException, AwsServiceException, SdkClientException, MgnException Create application.
This is a convenience which creates an instance of the
CreateApplicationRequest.Builderavoiding the need to create one manually viaCreateApplicationRequest.builder()- Parameters:
createApplicationRequest- AConsumerthat will call methods onCreateApplicationRequest.Builderto create a request.- Returns:
- Result of the CreateApplication operation returned by the service.
- See Also:
-
createConnector
default CreateConnectorResponse createConnector(CreateConnectorRequest createConnectorRequest) throws UninitializedAccountException, ValidationException, AwsServiceException, SdkClientException, MgnException Create Connector.
- Parameters:
createConnectorRequest-- Returns:
- Result of the CreateConnector operation returned by the service.
- See Also:
-
createConnector
default CreateConnectorResponse createConnector(Consumer<CreateConnectorRequest.Builder> createConnectorRequest) throws UninitializedAccountException, ValidationException, AwsServiceException, SdkClientException, MgnException Create Connector.
This is a convenience which creates an instance of the
CreateConnectorRequest.Builderavoiding the need to create one manually viaCreateConnectorRequest.builder()- Parameters:
createConnectorRequest- AConsumerthat will call methods onCreateConnectorRequest.Builderto create a request.- Returns:
- Result of the CreateConnector operation returned by the service.
- See Also:
-
createLaunchConfigurationTemplate
default CreateLaunchConfigurationTemplateResponse createLaunchConfigurationTemplate(CreateLaunchConfigurationTemplateRequest createLaunchConfigurationTemplateRequest) throws UninitializedAccountException, ValidationException, AccessDeniedException, AwsServiceException, SdkClientException, MgnException Creates a new Launch Configuration Template.
- Parameters:
createLaunchConfigurationTemplateRequest-- Returns:
- Result of the CreateLaunchConfigurationTemplate operation returned by the service.
- See Also:
-
createLaunchConfigurationTemplate
default CreateLaunchConfigurationTemplateResponse createLaunchConfigurationTemplate(Consumer<CreateLaunchConfigurationTemplateRequest.Builder> createLaunchConfigurationTemplateRequest) throws UninitializedAccountException, ValidationException, AccessDeniedException, AwsServiceException, SdkClientException, MgnException Creates a new Launch Configuration Template.
This is a convenience which creates an instance of the
CreateLaunchConfigurationTemplateRequest.Builderavoiding the need to create one manually viaCreateLaunchConfigurationTemplateRequest.builder()- Parameters:
createLaunchConfigurationTemplateRequest- AConsumerthat will call methods onCreateLaunchConfigurationTemplateRequest.Builderto create a request.- Returns:
- Result of the CreateLaunchConfigurationTemplate operation returned by the service.
- See Also:
-
createReplicationConfigurationTemplate
default CreateReplicationConfigurationTemplateResponse createReplicationConfigurationTemplate(CreateReplicationConfigurationTemplateRequest createReplicationConfigurationTemplateRequest) throws UninitializedAccountException, ValidationException, AccessDeniedException, AwsServiceException, SdkClientException, MgnException Creates a new ReplicationConfigurationTemplate.
- Parameters:
createReplicationConfigurationTemplateRequest-- Returns:
- Result of the CreateReplicationConfigurationTemplate operation returned by the service.
- See Also:
-
createReplicationConfigurationTemplate
default CreateReplicationConfigurationTemplateResponse createReplicationConfigurationTemplate(Consumer<CreateReplicationConfigurationTemplateRequest.Builder> createReplicationConfigurationTemplateRequest) throws UninitializedAccountException, ValidationException, AccessDeniedException, AwsServiceException, SdkClientException, MgnException Creates a new ReplicationConfigurationTemplate.
This is a convenience which creates an instance of the
CreateReplicationConfigurationTemplateRequest.Builderavoiding the need to create one manually viaCreateReplicationConfigurationTemplateRequest.builder()- Parameters:
createReplicationConfigurationTemplateRequest- AConsumerthat will call methods onCreateReplicationConfigurationTemplateRequest.Builderto create a request.- Returns:
- Result of the CreateReplicationConfigurationTemplate operation returned by the service.
- See Also:
-
createWave
default CreateWaveResponse createWave(CreateWaveRequest createWaveRequest) throws UninitializedAccountException, ServiceQuotaExceededException, ConflictException, AwsServiceException, SdkClientException, MgnException Create wave.
- Parameters:
createWaveRequest-- Returns:
- Result of the CreateWave operation returned by the service.
- See Also:
-
createWave
default CreateWaveResponse createWave(Consumer<CreateWaveRequest.Builder> createWaveRequest) throws UninitializedAccountException, ServiceQuotaExceededException, ConflictException, AwsServiceException, SdkClientException, MgnException Create wave.
This is a convenience which creates an instance of the
CreateWaveRequest.Builderavoiding the need to create one manually viaCreateWaveRequest.builder()- Parameters:
createWaveRequest- AConsumerthat will call methods onCreateWaveRequest.Builderto create a request.- Returns:
- Result of the CreateWave operation returned by the service.
- See Also:
-
deleteApplication
default DeleteApplicationResponse deleteApplication(DeleteApplicationRequest deleteApplicationRequest) throws UninitializedAccountException, ResourceNotFoundException, ConflictException, AwsServiceException, SdkClientException, MgnException Delete application.
- Parameters:
deleteApplicationRequest-- Returns:
- Result of the DeleteApplication operation returned by the service.
- See Also:
-
deleteApplication
default DeleteApplicationResponse deleteApplication(Consumer<DeleteApplicationRequest.Builder> deleteApplicationRequest) throws UninitializedAccountException, ResourceNotFoundException, ConflictException, AwsServiceException, SdkClientException, MgnException Delete application.
This is a convenience which creates an instance of the
DeleteApplicationRequest.Builderavoiding the need to create one manually viaDeleteApplicationRequest.builder()- Parameters:
deleteApplicationRequest- AConsumerthat will call methods onDeleteApplicationRequest.Builderto create a request.- Returns:
- Result of the DeleteApplication operation returned by the service.
- See Also:
-
deleteConnector
default DeleteConnectorResponse deleteConnector(DeleteConnectorRequest deleteConnectorRequest) throws UninitializedAccountException, ResourceNotFoundException, ValidationException, AwsServiceException, SdkClientException, MgnException Delete Connector.
- Parameters:
deleteConnectorRequest-- Returns:
- Result of the DeleteConnector operation returned by the service.
- See Also:
-
deleteConnector
default DeleteConnectorResponse deleteConnector(Consumer<DeleteConnectorRequest.Builder> deleteConnectorRequest) throws UninitializedAccountException, ResourceNotFoundException, ValidationException, AwsServiceException, SdkClientException, MgnException Delete Connector.
This is a convenience which creates an instance of the
DeleteConnectorRequest.Builderavoiding the need to create one manually viaDeleteConnectorRequest.builder()- Parameters:
deleteConnectorRequest- AConsumerthat will call methods onDeleteConnectorRequest.Builderto create a request.- Returns:
- Result of the DeleteConnector operation returned by the service.
- See Also:
-
deleteJob
default DeleteJobResponse deleteJob(DeleteJobRequest deleteJobRequest) throws UninitializedAccountException, ResourceNotFoundException, ConflictException, AwsServiceException, SdkClientException, MgnException Deletes a single Job by ID.
- Parameters:
deleteJobRequest-- Returns:
- Result of the DeleteJob operation returned by the service.
- See Also:
-
deleteJob
default DeleteJobResponse deleteJob(Consumer<DeleteJobRequest.Builder> deleteJobRequest) throws UninitializedAccountException, ResourceNotFoundException, ConflictException, AwsServiceException, SdkClientException, MgnException Deletes a single Job by ID.
This is a convenience which creates an instance of the
DeleteJobRequest.Builderavoiding the need to create one manually viaDeleteJobRequest.builder()- Parameters:
deleteJobRequest- AConsumerthat will call methods onDeleteJobRequest.Builderto create a request.- Returns:
- Result of the DeleteJob operation returned by the service.
- See Also:
-
deleteLaunchConfigurationTemplate
default DeleteLaunchConfigurationTemplateResponse deleteLaunchConfigurationTemplate(DeleteLaunchConfigurationTemplateRequest deleteLaunchConfigurationTemplateRequest) throws UninitializedAccountException, ResourceNotFoundException, ConflictException, AwsServiceException, SdkClientException, MgnException Deletes a single Launch Configuration Template by ID.
- Parameters:
deleteLaunchConfigurationTemplateRequest-- Returns:
- Result of the DeleteLaunchConfigurationTemplate operation returned by the service.
- See Also:
-
deleteLaunchConfigurationTemplate
default DeleteLaunchConfigurationTemplateResponse deleteLaunchConfigurationTemplate(Consumer<DeleteLaunchConfigurationTemplateRequest.Builder> deleteLaunchConfigurationTemplateRequest) throws UninitializedAccountException, ResourceNotFoundException, ConflictException, AwsServiceException, SdkClientException, MgnException Deletes a single Launch Configuration Template by ID.
This is a convenience which creates an instance of the
DeleteLaunchConfigurationTemplateRequest.Builderavoiding the need to create one manually viaDeleteLaunchConfigurationTemplateRequest.builder()- Parameters:
deleteLaunchConfigurationTemplateRequest- AConsumerthat will call methods onDeleteLaunchConfigurationTemplateRequest.Builderto create a request.- Returns:
- Result of the DeleteLaunchConfigurationTemplate operation returned by the service.
- See Also:
-
deleteReplicationConfigurationTemplate
default DeleteReplicationConfigurationTemplateResponse deleteReplicationConfigurationTemplate(DeleteReplicationConfigurationTemplateRequest deleteReplicationConfigurationTemplateRequest) throws UninitializedAccountException, ResourceNotFoundException, ConflictException, AwsServiceException, SdkClientException, MgnException Deletes a single Replication Configuration Template by ID
- Parameters:
deleteReplicationConfigurationTemplateRequest-- Returns:
- Result of the DeleteReplicationConfigurationTemplate operation returned by the service.
- See Also:
-
deleteReplicationConfigurationTemplate
default DeleteReplicationConfigurationTemplateResponse deleteReplicationConfigurationTemplate(Consumer<DeleteReplicationConfigurationTemplateRequest.Builder> deleteReplicationConfigurationTemplateRequest) throws UninitializedAccountException, ResourceNotFoundException, ConflictException, AwsServiceException, SdkClientException, MgnException Deletes a single Replication Configuration Template by ID
This is a convenience which creates an instance of the
DeleteReplicationConfigurationTemplateRequest.Builderavoiding the need to create one manually viaDeleteReplicationConfigurationTemplateRequest.builder()- Parameters:
deleteReplicationConfigurationTemplateRequest- AConsumerthat will call methods onDeleteReplicationConfigurationTemplateRequest.Builderto create a request.- Returns:
- Result of the DeleteReplicationConfigurationTemplate operation returned by the service.
- See Also:
-
deleteSourceServer
default DeleteSourceServerResponse deleteSourceServer(DeleteSourceServerRequest deleteSourceServerRequest) throws UninitializedAccountException, ResourceNotFoundException, ConflictException, AwsServiceException, SdkClientException, MgnException Deletes a single source server by ID.
- Parameters:
deleteSourceServerRequest-- Returns:
- Result of the DeleteSourceServer operation returned by the service.
- See Also:
-
deleteSourceServer
default DeleteSourceServerResponse deleteSourceServer(Consumer<DeleteSourceServerRequest.Builder> deleteSourceServerRequest) throws UninitializedAccountException, ResourceNotFoundException, ConflictException, AwsServiceException, SdkClientException, MgnException Deletes a single source server by ID.
This is a convenience which creates an instance of the
DeleteSourceServerRequest.Builderavoiding the need to create one manually viaDeleteSourceServerRequest.builder()- Parameters:
deleteSourceServerRequest- AConsumerthat will call methods onDeleteSourceServerRequest.Builderto create a request.- Returns:
- Result of the DeleteSourceServer operation returned by the service.
- See Also:
-
deleteVcenterClient
default DeleteVcenterClientResponse deleteVcenterClient(DeleteVcenterClientRequest deleteVcenterClientRequest) throws UninitializedAccountException, ResourceNotFoundException, ValidationException, AwsServiceException, SdkClientException, MgnException Deletes a given vCenter client by ID.
- Parameters:
deleteVcenterClientRequest-- Returns:
- Result of the DeleteVcenterClient operation returned by the service.
- See Also:
-
deleteVcenterClient
default DeleteVcenterClientResponse deleteVcenterClient(Consumer<DeleteVcenterClientRequest.Builder> deleteVcenterClientRequest) throws UninitializedAccountException, ResourceNotFoundException, ValidationException, AwsServiceException, SdkClientException, MgnException Deletes a given vCenter client by ID.
This is a convenience which creates an instance of the
DeleteVcenterClientRequest.Builderavoiding the need to create one manually viaDeleteVcenterClientRequest.builder()- Parameters:
deleteVcenterClientRequest- AConsumerthat will call methods onDeleteVcenterClientRequest.Builderto create a request.- Returns:
- Result of the DeleteVcenterClient operation returned by the service.
- See Also:
-
deleteWave
default DeleteWaveResponse deleteWave(DeleteWaveRequest deleteWaveRequest) throws UninitializedAccountException, ResourceNotFoundException, ConflictException, AwsServiceException, SdkClientException, MgnException Delete wave.
- Parameters:
deleteWaveRequest-- Returns:
- Result of the DeleteWave operation returned by the service.
- See Also:
-
deleteWave
default DeleteWaveResponse deleteWave(Consumer<DeleteWaveRequest.Builder> deleteWaveRequest) throws UninitializedAccountException, ResourceNotFoundException, ConflictException, AwsServiceException, SdkClientException, MgnException Delete wave.
This is a convenience which creates an instance of the
DeleteWaveRequest.Builderavoiding the need to create one manually viaDeleteWaveRequest.builder()- Parameters:
deleteWaveRequest- AConsumerthat will call methods onDeleteWaveRequest.Builderto create a request.- Returns:
- Result of the DeleteWave operation returned by the service.
- See Also:
-
describeJobLogItems
default DescribeJobLogItemsResponse describeJobLogItems(DescribeJobLogItemsRequest describeJobLogItemsRequest) throws UninitializedAccountException, ValidationException, AwsServiceException, SdkClientException, MgnException Retrieves detailed job log items with paging.
- Parameters:
describeJobLogItemsRequest-- Returns:
- Result of the DescribeJobLogItems operation returned by the service.
- See Also:
-
describeJobLogItems
default DescribeJobLogItemsResponse describeJobLogItems(Consumer<DescribeJobLogItemsRequest.Builder> describeJobLogItemsRequest) throws UninitializedAccountException, ValidationException, AwsServiceException, SdkClientException, MgnException Retrieves detailed job log items with paging.
This is a convenience which creates an instance of the
DescribeJobLogItemsRequest.Builderavoiding the need to create one manually viaDescribeJobLogItemsRequest.builder()- Parameters:
describeJobLogItemsRequest- AConsumerthat will call methods onDescribeJobLogItemsRequest.Builderto create a request.- Returns:
- Result of the DescribeJobLogItems operation returned by the service.
- See Also:
-
describeJobLogItemsPaginator
default DescribeJobLogItemsIterable describeJobLogItemsPaginator(DescribeJobLogItemsRequest describeJobLogItemsRequest) throws UninitializedAccountException, ValidationException, AwsServiceException, SdkClientException, MgnException Retrieves detailed job log items with paging.
This is a variant of
describeJobLogItems(software.amazon.awssdk.services.mgn.model.DescribeJobLogItemsRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.mgn.paginators.DescribeJobLogItemsIterable responses = client.describeJobLogItemsPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.mgn.paginators.DescribeJobLogItemsIterable responses = client .describeJobLogItemsPaginator(request); for (software.amazon.awssdk.services.mgn.model.DescribeJobLogItemsResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.mgn.paginators.DescribeJobLogItemsIterable responses = client.describeJobLogItemsPaginator(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
describeJobLogItems(software.amazon.awssdk.services.mgn.model.DescribeJobLogItemsRequest)operation.- Parameters:
describeJobLogItemsRequest-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
describeJobLogItemsPaginator
default DescribeJobLogItemsIterable describeJobLogItemsPaginator(Consumer<DescribeJobLogItemsRequest.Builder> describeJobLogItemsRequest) throws UninitializedAccountException, ValidationException, AwsServiceException, SdkClientException, MgnException Retrieves detailed job log items with paging.
This is a variant of
describeJobLogItems(software.amazon.awssdk.services.mgn.model.DescribeJobLogItemsRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.mgn.paginators.DescribeJobLogItemsIterable responses = client.describeJobLogItemsPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.mgn.paginators.DescribeJobLogItemsIterable responses = client .describeJobLogItemsPaginator(request); for (software.amazon.awssdk.services.mgn.model.DescribeJobLogItemsResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.mgn.paginators.DescribeJobLogItemsIterable responses = client.describeJobLogItemsPaginator(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
describeJobLogItems(software.amazon.awssdk.services.mgn.model.DescribeJobLogItemsRequest)operation.This is a convenience which creates an instance of the
DescribeJobLogItemsRequest.Builderavoiding the need to create one manually viaDescribeJobLogItemsRequest.builder()- Parameters:
describeJobLogItemsRequest- AConsumerthat will call methods onDescribeJobLogItemsRequest.Builderto create a request.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
describeJobs
default DescribeJobsResponse describeJobs(DescribeJobsRequest describeJobsRequest) throws UninitializedAccountException, ValidationException, AwsServiceException, SdkClientException, MgnException Returns a list of Jobs. Use the JobsID and fromDate and toData filters to limit which jobs are returned. The response is sorted by creationDataTime - latest date first. Jobs are normally created by the StartTest, StartCutover, and TerminateTargetInstances APIs. Jobs are also created by DiagnosticLaunch and TerminateDiagnosticInstances, which are APIs available only to *Support* and only used in response to relevant support tickets.
- Parameters:
describeJobsRequest-- Returns:
- Result of the DescribeJobs operation returned by the service.
- See Also:
-
describeJobs
default DescribeJobsResponse describeJobs(Consumer<DescribeJobsRequest.Builder> describeJobsRequest) throws UninitializedAccountException, ValidationException, AwsServiceException, SdkClientException, MgnException Returns a list of Jobs. Use the JobsID and fromDate and toData filters to limit which jobs are returned. The response is sorted by creationDataTime - latest date first. Jobs are normally created by the StartTest, StartCutover, and TerminateTargetInstances APIs. Jobs are also created by DiagnosticLaunch and TerminateDiagnosticInstances, which are APIs available only to *Support* and only used in response to relevant support tickets.
This is a convenience which creates an instance of the
DescribeJobsRequest.Builderavoiding the need to create one manually viaDescribeJobsRequest.builder()- Parameters:
describeJobsRequest- AConsumerthat will call methods onDescribeJobsRequest.Builderto create a request.- Returns:
- Result of the DescribeJobs operation returned by the service.
- See Also:
-
describeJobsPaginator
default DescribeJobsIterable describeJobsPaginator(DescribeJobsRequest describeJobsRequest) throws UninitializedAccountException, ValidationException, AwsServiceException, SdkClientException, MgnException Returns a list of Jobs. Use the JobsID and fromDate and toData filters to limit which jobs are returned. The response is sorted by creationDataTime - latest date first. Jobs are normally created by the StartTest, StartCutover, and TerminateTargetInstances APIs. Jobs are also created by DiagnosticLaunch and TerminateDiagnosticInstances, which are APIs available only to *Support* and only used in response to relevant support tickets.
This is a variant of
describeJobs(software.amazon.awssdk.services.mgn.model.DescribeJobsRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.mgn.paginators.DescribeJobsIterable responses = client.describeJobsPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.mgn.paginators.DescribeJobsIterable responses = client.describeJobsPaginator(request); for (software.amazon.awssdk.services.mgn.model.DescribeJobsResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.mgn.paginators.DescribeJobsIterable responses = client.describeJobsPaginator(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
describeJobs(software.amazon.awssdk.services.mgn.model.DescribeJobsRequest)operation.- Parameters:
describeJobsRequest-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
describeJobsPaginator
default DescribeJobsIterable describeJobsPaginator(Consumer<DescribeJobsRequest.Builder> describeJobsRequest) throws UninitializedAccountException, ValidationException, AwsServiceException, SdkClientException, MgnException Returns a list of Jobs. Use the JobsID and fromDate and toData filters to limit which jobs are returned. The response is sorted by creationDataTime - latest date first. Jobs are normally created by the StartTest, StartCutover, and TerminateTargetInstances APIs. Jobs are also created by DiagnosticLaunch and TerminateDiagnosticInstances, which are APIs available only to *Support* and only used in response to relevant support tickets.
This is a variant of
describeJobs(software.amazon.awssdk.services.mgn.model.DescribeJobsRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.mgn.paginators.DescribeJobsIterable responses = client.describeJobsPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.mgn.paginators.DescribeJobsIterable responses = client.describeJobsPaginator(request); for (software.amazon.awssdk.services.mgn.model.DescribeJobsResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.mgn.paginators.DescribeJobsIterable responses = client.describeJobsPaginator(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
describeJobs(software.amazon.awssdk.services.mgn.model.DescribeJobsRequest)operation.This is a convenience which creates an instance of the
DescribeJobsRequest.Builderavoiding the need to create one manually viaDescribeJobsRequest.builder()- Parameters:
describeJobsRequest- AConsumerthat will call methods onDescribeJobsRequest.Builderto create a request.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
describeLaunchConfigurationTemplates
default DescribeLaunchConfigurationTemplatesResponse describeLaunchConfigurationTemplates(DescribeLaunchConfigurationTemplatesRequest describeLaunchConfigurationTemplatesRequest) throws UninitializedAccountException, ResourceNotFoundException, ValidationException, AwsServiceException, SdkClientException, MgnException Lists all Launch Configuration Templates, filtered by Launch Configuration Template IDs
- Parameters:
describeLaunchConfigurationTemplatesRequest-- Returns:
- Result of the DescribeLaunchConfigurationTemplates operation returned by the service.
- See Also:
-
describeLaunchConfigurationTemplates
default DescribeLaunchConfigurationTemplatesResponse describeLaunchConfigurationTemplates(Consumer<DescribeLaunchConfigurationTemplatesRequest.Builder> describeLaunchConfigurationTemplatesRequest) throws UninitializedAccountException, ResourceNotFoundException, ValidationException, AwsServiceException, SdkClientException, MgnException Lists all Launch Configuration Templates, filtered by Launch Configuration Template IDs
This is a convenience which creates an instance of the
DescribeLaunchConfigurationTemplatesRequest.Builderavoiding the need to create one manually viaDescribeLaunchConfigurationTemplatesRequest.builder()- Parameters:
describeLaunchConfigurationTemplatesRequest- AConsumerthat will call methods onDescribeLaunchConfigurationTemplatesRequest.Builderto create a request.- Returns:
- Result of the DescribeLaunchConfigurationTemplates operation returned by the service.
- See Also:
-
describeLaunchConfigurationTemplatesPaginator
default DescribeLaunchConfigurationTemplatesIterable describeLaunchConfigurationTemplatesPaginator(DescribeLaunchConfigurationTemplatesRequest describeLaunchConfigurationTemplatesRequest) throws UninitializedAccountException, ResourceNotFoundException, ValidationException, AwsServiceException, SdkClientException, MgnException Lists all Launch Configuration Templates, filtered by Launch Configuration Template IDs
This is a variant of
describeLaunchConfigurationTemplates(software.amazon.awssdk.services.mgn.model.DescribeLaunchConfigurationTemplatesRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.mgn.paginators.DescribeLaunchConfigurationTemplatesIterable responses = client.describeLaunchConfigurationTemplatesPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.mgn.paginators.DescribeLaunchConfigurationTemplatesIterable responses = client .describeLaunchConfigurationTemplatesPaginator(request); for (software.amazon.awssdk.services.mgn.model.DescribeLaunchConfigurationTemplatesResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.mgn.paginators.DescribeLaunchConfigurationTemplatesIterable responses = client.describeLaunchConfigurationTemplatesPaginator(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
describeLaunchConfigurationTemplates(software.amazon.awssdk.services.mgn.model.DescribeLaunchConfigurationTemplatesRequest)operation.- Parameters:
describeLaunchConfigurationTemplatesRequest-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
describeLaunchConfigurationTemplatesPaginator
default DescribeLaunchConfigurationTemplatesIterable describeLaunchConfigurationTemplatesPaginator(Consumer<DescribeLaunchConfigurationTemplatesRequest.Builder> describeLaunchConfigurationTemplatesRequest) throws UninitializedAccountException, ResourceNotFoundException, ValidationException, AwsServiceException, SdkClientException, MgnException Lists all Launch Configuration Templates, filtered by Launch Configuration Template IDs
This is a variant of
describeLaunchConfigurationTemplates(software.amazon.awssdk.services.mgn.model.DescribeLaunchConfigurationTemplatesRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.mgn.paginators.DescribeLaunchConfigurationTemplatesIterable responses = client.describeLaunchConfigurationTemplatesPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.mgn.paginators.DescribeLaunchConfigurationTemplatesIterable responses = client .describeLaunchConfigurationTemplatesPaginator(request); for (software.amazon.awssdk.services.mgn.model.DescribeLaunchConfigurationTemplatesResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.mgn.paginators.DescribeLaunchConfigurationTemplatesIterable responses = client.describeLaunchConfigurationTemplatesPaginator(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
describeLaunchConfigurationTemplates(software.amazon.awssdk.services.mgn.model.DescribeLaunchConfigurationTemplatesRequest)operation.This is a convenience which creates an instance of the
DescribeLaunchConfigurationTemplatesRequest.Builderavoiding the need to create one manually viaDescribeLaunchConfigurationTemplatesRequest.builder()- Parameters:
describeLaunchConfigurationTemplatesRequest- AConsumerthat will call methods onDescribeLaunchConfigurationTemplatesRequest.Builderto create a request.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
describeReplicationConfigurationTemplates
default DescribeReplicationConfigurationTemplatesResponse describeReplicationConfigurationTemplates(DescribeReplicationConfigurationTemplatesRequest describeReplicationConfigurationTemplatesRequest) throws UninitializedAccountException, ResourceNotFoundException, ValidationException, AwsServiceException, SdkClientException, MgnException Lists all ReplicationConfigurationTemplates, filtered by Source Server IDs.
- Parameters:
describeReplicationConfigurationTemplatesRequest-- Returns:
- Result of the DescribeReplicationConfigurationTemplates operation returned by the service.
- See Also:
-
describeReplicationConfigurationTemplates
default DescribeReplicationConfigurationTemplatesResponse describeReplicationConfigurationTemplates(Consumer<DescribeReplicationConfigurationTemplatesRequest.Builder> describeReplicationConfigurationTemplatesRequest) throws UninitializedAccountException, ResourceNotFoundException, ValidationException, AwsServiceException, SdkClientException, MgnException Lists all ReplicationConfigurationTemplates, filtered by Source Server IDs.
This is a convenience which creates an instance of the
DescribeReplicationConfigurationTemplatesRequest.Builderavoiding the need to create one manually viaDescribeReplicationConfigurationTemplatesRequest.builder()- Parameters:
describeReplicationConfigurationTemplatesRequest- AConsumerthat will call methods onDescribeReplicationConfigurationTemplatesRequest.Builderto create a request.- Returns:
- Result of the DescribeReplicationConfigurationTemplates operation returned by the service.
- See Also:
-
describeReplicationConfigurationTemplatesPaginator
default DescribeReplicationConfigurationTemplatesIterable describeReplicationConfigurationTemplatesPaginator(DescribeReplicationConfigurationTemplatesRequest describeReplicationConfigurationTemplatesRequest) throws UninitializedAccountException, ResourceNotFoundException, ValidationException, AwsServiceException, SdkClientException, MgnException Lists all ReplicationConfigurationTemplates, filtered by Source Server IDs.
This is a variant of
describeReplicationConfigurationTemplates(software.amazon.awssdk.services.mgn.model.DescribeReplicationConfigurationTemplatesRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.mgn.paginators.DescribeReplicationConfigurationTemplatesIterable responses = client.describeReplicationConfigurationTemplatesPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.mgn.paginators.DescribeReplicationConfigurationTemplatesIterable responses = client .describeReplicationConfigurationTemplatesPaginator(request); for (software.amazon.awssdk.services.mgn.model.DescribeReplicationConfigurationTemplatesResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.mgn.paginators.DescribeReplicationConfigurationTemplatesIterable responses = client.describeReplicationConfigurationTemplatesPaginator(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
describeReplicationConfigurationTemplates(software.amazon.awssdk.services.mgn.model.DescribeReplicationConfigurationTemplatesRequest)operation.- Parameters:
describeReplicationConfigurationTemplatesRequest-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
describeReplicationConfigurationTemplatesPaginator
default DescribeReplicationConfigurationTemplatesIterable describeReplicationConfigurationTemplatesPaginator(Consumer<DescribeReplicationConfigurationTemplatesRequest.Builder> describeReplicationConfigurationTemplatesRequest) throws UninitializedAccountException, ResourceNotFoundException, ValidationException, AwsServiceException, SdkClientException, MgnException Lists all ReplicationConfigurationTemplates, filtered by Source Server IDs.
This is a variant of
describeReplicationConfigurationTemplates(software.amazon.awssdk.services.mgn.model.DescribeReplicationConfigurationTemplatesRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.mgn.paginators.DescribeReplicationConfigurationTemplatesIterable responses = client.describeReplicationConfigurationTemplatesPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.mgn.paginators.DescribeReplicationConfigurationTemplatesIterable responses = client .describeReplicationConfigurationTemplatesPaginator(request); for (software.amazon.awssdk.services.mgn.model.DescribeReplicationConfigurationTemplatesResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.mgn.paginators.DescribeReplicationConfigurationTemplatesIterable responses = client.describeReplicationConfigurationTemplatesPaginator(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
describeReplicationConfigurationTemplates(software.amazon.awssdk.services.mgn.model.DescribeReplicationConfigurationTemplatesRequest)operation.This is a convenience which creates an instance of the
DescribeReplicationConfigurationTemplatesRequest.Builderavoiding the need to create one manually viaDescribeReplicationConfigurationTemplatesRequest.builder()- Parameters:
describeReplicationConfigurationTemplatesRequest- AConsumerthat will call methods onDescribeReplicationConfigurationTemplatesRequest.Builderto create a request.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
describeSourceServers
default DescribeSourceServersResponse describeSourceServers(DescribeSourceServersRequest describeSourceServersRequest) throws UninitializedAccountException, ValidationException, AwsServiceException, SdkClientException, MgnException Retrieves all SourceServers or multiple SourceServers by ID.
- Parameters:
describeSourceServersRequest-- Returns:
- Result of the DescribeSourceServers operation returned by the service.
- See Also:
-
describeSourceServers
default DescribeSourceServersResponse describeSourceServers(Consumer<DescribeSourceServersRequest.Builder> describeSourceServersRequest) throws UninitializedAccountException, ValidationException, AwsServiceException, SdkClientException, MgnException Retrieves all SourceServers or multiple SourceServers by ID.
This is a convenience which creates an instance of the
DescribeSourceServersRequest.Builderavoiding the need to create one manually viaDescribeSourceServersRequest.builder()- Parameters:
describeSourceServersRequest- AConsumerthat will call methods onDescribeSourceServersRequest.Builderto create a request.- Returns:
- Result of the DescribeSourceServers operation returned by the service.
- See Also:
-
describeSourceServersPaginator
default DescribeSourceServersIterable describeSourceServersPaginator(DescribeSourceServersRequest describeSourceServersRequest) throws UninitializedAccountException, ValidationException, AwsServiceException, SdkClientException, MgnException Retrieves all SourceServers or multiple SourceServers by ID.
This is a variant of
describeSourceServers(software.amazon.awssdk.services.mgn.model.DescribeSourceServersRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.mgn.paginators.DescribeSourceServersIterable responses = client.describeSourceServersPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.mgn.paginators.DescribeSourceServersIterable responses = client .describeSourceServersPaginator(request); for (software.amazon.awssdk.services.mgn.model.DescribeSourceServersResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.mgn.paginators.DescribeSourceServersIterable responses = client.describeSourceServersPaginator(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
describeSourceServers(software.amazon.awssdk.services.mgn.model.DescribeSourceServersRequest)operation.- Parameters:
describeSourceServersRequest-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
describeSourceServersPaginator
default DescribeSourceServersIterable describeSourceServersPaginator(Consumer<DescribeSourceServersRequest.Builder> describeSourceServersRequest) throws UninitializedAccountException, ValidationException, AwsServiceException, SdkClientException, MgnException Retrieves all SourceServers or multiple SourceServers by ID.
This is a variant of
describeSourceServers(software.amazon.awssdk.services.mgn.model.DescribeSourceServersRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.mgn.paginators.DescribeSourceServersIterable responses = client.describeSourceServersPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.mgn.paginators.DescribeSourceServersIterable responses = client .describeSourceServersPaginator(request); for (software.amazon.awssdk.services.mgn.model.DescribeSourceServersResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.mgn.paginators.DescribeSourceServersIterable responses = client.describeSourceServersPaginator(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
describeSourceServers(software.amazon.awssdk.services.mgn.model.DescribeSourceServersRequest)operation.This is a convenience which creates an instance of the
DescribeSourceServersRequest.Builderavoiding the need to create one manually viaDescribeSourceServersRequest.builder()- Parameters:
describeSourceServersRequest- AConsumerthat will call methods onDescribeSourceServersRequest.Builderto create a request.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
describeVcenterClients
default DescribeVcenterClientsResponse describeVcenterClients(DescribeVcenterClientsRequest describeVcenterClientsRequest) throws UninitializedAccountException, ResourceNotFoundException, ValidationException, AwsServiceException, SdkClientException, MgnException Returns a list of the installed vCenter clients.
- Parameters:
describeVcenterClientsRequest-- Returns:
- Result of the DescribeVcenterClients operation returned by the service.
- See Also:
-
describeVcenterClients
default DescribeVcenterClientsResponse describeVcenterClients(Consumer<DescribeVcenterClientsRequest.Builder> describeVcenterClientsRequest) throws UninitializedAccountException, ResourceNotFoundException, ValidationException, AwsServiceException, SdkClientException, MgnException Returns a list of the installed vCenter clients.
This is a convenience which creates an instance of the
DescribeVcenterClientsRequest.Builderavoiding the need to create one manually viaDescribeVcenterClientsRequest.builder()- Parameters:
describeVcenterClientsRequest- AConsumerthat will call methods onDescribeVcenterClientsRequest.Builderto create a request.- Returns:
- Result of the DescribeVcenterClients operation returned by the service.
- See Also:
-
describeVcenterClientsPaginator
default DescribeVcenterClientsIterable describeVcenterClientsPaginator(DescribeVcenterClientsRequest describeVcenterClientsRequest) throws UninitializedAccountException, ResourceNotFoundException, ValidationException, AwsServiceException, SdkClientException, MgnException Returns a list of the installed vCenter clients.
This is a variant of
describeVcenterClients(software.amazon.awssdk.services.mgn.model.DescribeVcenterClientsRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.mgn.paginators.DescribeVcenterClientsIterable responses = client.describeVcenterClientsPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.mgn.paginators.DescribeVcenterClientsIterable responses = client .describeVcenterClientsPaginator(request); for (software.amazon.awssdk.services.mgn.model.DescribeVcenterClientsResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.mgn.paginators.DescribeVcenterClientsIterable responses = client.describeVcenterClientsPaginator(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
describeVcenterClients(software.amazon.awssdk.services.mgn.model.DescribeVcenterClientsRequest)operation.- Parameters:
describeVcenterClientsRequest-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
describeVcenterClientsPaginator
default DescribeVcenterClientsIterable describeVcenterClientsPaginator(Consumer<DescribeVcenterClientsRequest.Builder> describeVcenterClientsRequest) throws UninitializedAccountException, ResourceNotFoundException, ValidationException, AwsServiceException, SdkClientException, MgnException Returns a list of the installed vCenter clients.
This is a variant of
describeVcenterClients(software.amazon.awssdk.services.mgn.model.DescribeVcenterClientsRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.mgn.paginators.DescribeVcenterClientsIterable responses = client.describeVcenterClientsPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.mgn.paginators.DescribeVcenterClientsIterable responses = client .describeVcenterClientsPaginator(request); for (software.amazon.awssdk.services.mgn.model.DescribeVcenterClientsResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.mgn.paginators.DescribeVcenterClientsIterable responses = client.describeVcenterClientsPaginator(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
describeVcenterClients(software.amazon.awssdk.services.mgn.model.DescribeVcenterClientsRequest)operation.This is a convenience which creates an instance of the
DescribeVcenterClientsRequest.Builderavoiding the need to create one manually viaDescribeVcenterClientsRequest.builder()- Parameters:
describeVcenterClientsRequest- AConsumerthat will call methods onDescribeVcenterClientsRequest.Builderto create a request.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
disassociateApplications
default DisassociateApplicationsResponse disassociateApplications(DisassociateApplicationsRequest disassociateApplicationsRequest) throws UninitializedAccountException, ResourceNotFoundException, ConflictException, AwsServiceException, SdkClientException, MgnException Disassociate applications from wave.
- Parameters:
disassociateApplicationsRequest-- Returns:
- Result of the DisassociateApplications operation returned by the service.
- See Also:
-
disassociateApplications
default DisassociateApplicationsResponse disassociateApplications(Consumer<DisassociateApplicationsRequest.Builder> disassociateApplicationsRequest) throws UninitializedAccountException, ResourceNotFoundException, ConflictException, AwsServiceException, SdkClientException, MgnException Disassociate applications from wave.
This is a convenience which creates an instance of the
DisassociateApplicationsRequest.Builderavoiding the need to create one manually viaDisassociateApplicationsRequest.builder()- Parameters:
disassociateApplicationsRequest- AConsumerthat will call methods onDisassociateApplicationsRequest.Builderto create a request.- Returns:
- Result of the DisassociateApplications operation returned by the service.
- See Also:
-
disassociateSourceServers
default DisassociateSourceServersResponse disassociateSourceServers(DisassociateSourceServersRequest disassociateSourceServersRequest) throws UninitializedAccountException, ResourceNotFoundException, ConflictException, AwsServiceException, SdkClientException, MgnException Disassociate source servers from application.
- Parameters:
disassociateSourceServersRequest-- Returns:
- Result of the DisassociateSourceServers operation returned by the service.
- See Also:
-
disassociateSourceServers
default DisassociateSourceServersResponse disassociateSourceServers(Consumer<DisassociateSourceServersRequest.Builder> disassociateSourceServersRequest) throws UninitializedAccountException, ResourceNotFoundException, ConflictException, AwsServiceException, SdkClientException, MgnException Disassociate source servers from application.
This is a convenience which creates an instance of the
DisassociateSourceServersRequest.Builderavoiding the need to create one manually viaDisassociateSourceServersRequest.builder()- Parameters:
disassociateSourceServersRequest- AConsumerthat will call methods onDisassociateSourceServersRequest.Builderto create a request.- Returns:
- Result of the DisassociateSourceServers operation returned by the service.
- See Also:
-
disconnectFromService
default DisconnectFromServiceResponse disconnectFromService(DisconnectFromServiceRequest disconnectFromServiceRequest) throws UninitializedAccountException, ResourceNotFoundException, ConflictException, AwsServiceException, SdkClientException, MgnException Disconnects specific Source Servers from Application Migration Service. Data replication is stopped immediately. All AWS resources created by Application Migration Service for enabling the replication of these source servers will be terminated / deleted within 90 minutes. Launched Test or Cutover instances will NOT be terminated. If the agent on the source server has not been prevented from communicating with the Application Migration Service service, then it will receive a command to uninstall itself (within approximately 10 minutes). The following properties of the SourceServer will be changed immediately: dataReplicationInfo.dataReplicationState will be set to DISCONNECTED; The totalStorageBytes property for each of dataReplicationInfo.replicatedDisks will be set to zero; dataReplicationInfo.lagDuration and dataReplicationInfo.lagDuration will be nullified.
- Parameters:
disconnectFromServiceRequest-- Returns:
- Result of the DisconnectFromService operation returned by the service.
- See Also:
-
disconnectFromService
default DisconnectFromServiceResponse disconnectFromService(Consumer<DisconnectFromServiceRequest.Builder> disconnectFromServiceRequest) throws UninitializedAccountException, ResourceNotFoundException, ConflictException, AwsServiceException, SdkClientException, MgnException Disconnects specific Source Servers from Application Migration Service. Data replication is stopped immediately. All AWS resources created by Application Migration Service for enabling the replication of these source servers will be terminated / deleted within 90 minutes. Launched Test or Cutover instances will NOT be terminated. If the agent on the source server has not been prevented from communicating with the Application Migration Service service, then it will receive a command to uninstall itself (within approximately 10 minutes). The following properties of the SourceServer will be changed immediately: dataReplicationInfo.dataReplicationState will be set to DISCONNECTED; The totalStorageBytes property for each of dataReplicationInfo.replicatedDisks will be set to zero; dataReplicationInfo.lagDuration and dataReplicationInfo.lagDuration will be nullified.
This is a convenience which creates an instance of the
DisconnectFromServiceRequest.Builderavoiding the need to create one manually viaDisconnectFromServiceRequest.builder()- Parameters:
disconnectFromServiceRequest- AConsumerthat will call methods onDisconnectFromServiceRequest.Builderto create a request.- Returns:
- Result of the DisconnectFromService operation returned by the service.
- See Also:
-
finalizeCutover
default FinalizeCutoverResponse finalizeCutover(FinalizeCutoverRequest finalizeCutoverRequest) throws UninitializedAccountException, ResourceNotFoundException, ValidationException, ConflictException, AwsServiceException, SdkClientException, MgnException Finalizes the cutover immediately for specific Source Servers. All AWS resources created by Application Migration Service for enabling the replication of these source servers will be terminated / deleted within 90 minutes. Launched Test or Cutover instances will NOT be terminated. The AWS Replication Agent will receive a command to uninstall itself (within 10 minutes). The following properties of the SourceServer will be changed immediately: dataReplicationInfo.dataReplicationState will be changed to DISCONNECTED; The SourceServer.lifeCycle.state will be changed to CUTOVER; The totalStorageBytes property fo each of dataReplicationInfo.replicatedDisks will be set to zero; dataReplicationInfo.lagDuration and dataReplicationInfo.lagDuration will be nullified.
- Parameters:
finalizeCutoverRequest-- Returns:
- Result of the FinalizeCutover operation returned by the service.
- See Also:
-
finalizeCutover
default FinalizeCutoverResponse finalizeCutover(Consumer<FinalizeCutoverRequest.Builder> finalizeCutoverRequest) throws UninitializedAccountException, ResourceNotFoundException, ValidationException, ConflictException, AwsServiceException, SdkClientException, MgnException Finalizes the cutover immediately for specific Source Servers. All AWS resources created by Application Migration Service for enabling the replication of these source servers will be terminated / deleted within 90 minutes. Launched Test or Cutover instances will NOT be terminated. The AWS Replication Agent will receive a command to uninstall itself (within 10 minutes). The following properties of the SourceServer will be changed immediately: dataReplicationInfo.dataReplicationState will be changed to DISCONNECTED; The SourceServer.lifeCycle.state will be changed to CUTOVER; The totalStorageBytes property fo each of dataReplicationInfo.replicatedDisks will be set to zero; dataReplicationInfo.lagDuration and dataReplicationInfo.lagDuration will be nullified.
This is a convenience which creates an instance of the
FinalizeCutoverRequest.Builderavoiding the need to create one manually viaFinalizeCutoverRequest.builder()- Parameters:
finalizeCutoverRequest- AConsumerthat will call methods onFinalizeCutoverRequest.Builderto create a request.- Returns:
- Result of the FinalizeCutover operation returned by the service.
- See Also:
-
getLaunchConfiguration
default GetLaunchConfigurationResponse getLaunchConfiguration(GetLaunchConfigurationRequest getLaunchConfigurationRequest) throws UninitializedAccountException, ResourceNotFoundException, AwsServiceException, SdkClientException, MgnException Lists all LaunchConfigurations available, filtered by Source Server IDs.
- Parameters:
getLaunchConfigurationRequest-- Returns:
- Result of the GetLaunchConfiguration operation returned by the service.
- See Also:
-
getLaunchConfiguration
default GetLaunchConfigurationResponse getLaunchConfiguration(Consumer<GetLaunchConfigurationRequest.Builder> getLaunchConfigurationRequest) throws UninitializedAccountException, ResourceNotFoundException, AwsServiceException, SdkClientException, MgnException Lists all LaunchConfigurations available, filtered by Source Server IDs.
This is a convenience which creates an instance of the
GetLaunchConfigurationRequest.Builderavoiding the need to create one manually viaGetLaunchConfigurationRequest.builder()- Parameters:
getLaunchConfigurationRequest- AConsumerthat will call methods onGetLaunchConfigurationRequest.Builderto create a request.- Returns:
- Result of the GetLaunchConfiguration operation returned by the service.
- See Also:
-
getReplicationConfiguration
default GetReplicationConfigurationResponse getReplicationConfiguration(GetReplicationConfigurationRequest getReplicationConfigurationRequest) throws UninitializedAccountException, ResourceNotFoundException, AwsServiceException, SdkClientException, MgnException Lists all ReplicationConfigurations, filtered by Source Server ID.
- Parameters:
getReplicationConfigurationRequest-- Returns:
- Result of the GetReplicationConfiguration operation returned by the service.
- See Also:
-
getReplicationConfiguration
default GetReplicationConfigurationResponse getReplicationConfiguration(Consumer<GetReplicationConfigurationRequest.Builder> getReplicationConfigurationRequest) throws UninitializedAccountException, ResourceNotFoundException, AwsServiceException, SdkClientException, MgnException Lists all ReplicationConfigurations, filtered by Source Server ID.
This is a convenience which creates an instance of the
GetReplicationConfigurationRequest.Builderavoiding the need to create one manually viaGetReplicationConfigurationRequest.builder()- Parameters:
getReplicationConfigurationRequest- AConsumerthat will call methods onGetReplicationConfigurationRequest.Builderto create a request.- Returns:
- Result of the GetReplicationConfiguration operation returned by the service.
- See Also:
-
initializeService
default InitializeServiceResponse initializeService(InitializeServiceRequest initializeServiceRequest) throws ValidationException, AccessDeniedException, AwsServiceException, SdkClientException, MgnException Initialize Application Migration Service.
- Parameters:
initializeServiceRequest-- Returns:
- Result of the InitializeService operation returned by the service.
- See Also:
-
initializeService
default InitializeServiceResponse initializeService(Consumer<InitializeServiceRequest.Builder> initializeServiceRequest) throws ValidationException, AccessDeniedException, AwsServiceException, SdkClientException, MgnException Initialize Application Migration Service.
This is a convenience which creates an instance of the
InitializeServiceRequest.Builderavoiding the need to create one manually viaInitializeServiceRequest.builder()- Parameters:
initializeServiceRequest- AConsumerthat will call methods onInitializeServiceRequest.Builderto create a request.- Returns:
- Result of the InitializeService operation returned by the service.
- See Also:
-
listApplications
default ListApplicationsResponse listApplications(ListApplicationsRequest listApplicationsRequest) throws UninitializedAccountException, AwsServiceException, SdkClientException, MgnException Retrieves all applications or multiple applications by ID.
- Parameters:
listApplicationsRequest-- Returns:
- Result of the ListApplications operation returned by the service.
- See Also:
-
listApplications
default ListApplicationsResponse listApplications(Consumer<ListApplicationsRequest.Builder> listApplicationsRequest) throws UninitializedAccountException, AwsServiceException, SdkClientException, MgnException Retrieves all applications or multiple applications by ID.
This is a convenience which creates an instance of the
ListApplicationsRequest.Builderavoiding the need to create one manually viaListApplicationsRequest.builder()- Parameters:
listApplicationsRequest- AConsumerthat will call methods onListApplicationsRequest.Builderto create a request.- Returns:
- Result of the ListApplications operation returned by the service.
- See Also:
-
listApplicationsPaginator
default ListApplicationsIterable listApplicationsPaginator(ListApplicationsRequest listApplicationsRequest) throws UninitializedAccountException, AwsServiceException, SdkClientException, MgnException Retrieves all applications or multiple applications by ID.
This is a variant of
listApplications(software.amazon.awssdk.services.mgn.model.ListApplicationsRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.mgn.paginators.ListApplicationsIterable responses = client.listApplicationsPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.mgn.paginators.ListApplicationsIterable responses = client.listApplicationsPaginator(request); for (software.amazon.awssdk.services.mgn.model.ListApplicationsResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.mgn.paginators.ListApplicationsIterable responses = client.listApplicationsPaginator(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
listApplications(software.amazon.awssdk.services.mgn.model.ListApplicationsRequest)operation.- Parameters:
listApplicationsRequest-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listApplicationsPaginator
default ListApplicationsIterable listApplicationsPaginator(Consumer<ListApplicationsRequest.Builder> listApplicationsRequest) throws UninitializedAccountException, AwsServiceException, SdkClientException, MgnException Retrieves all applications or multiple applications by ID.
This is a variant of
listApplications(software.amazon.awssdk.services.mgn.model.ListApplicationsRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.mgn.paginators.ListApplicationsIterable responses = client.listApplicationsPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.mgn.paginators.ListApplicationsIterable responses = client.listApplicationsPaginator(request); for (software.amazon.awssdk.services.mgn.model.ListApplicationsResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.mgn.paginators.ListApplicationsIterable responses = client.listApplicationsPaginator(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
listApplications(software.amazon.awssdk.services.mgn.model.ListApplicationsRequest)operation.This is a convenience which creates an instance of the
ListApplicationsRequest.Builderavoiding the need to create one manually viaListApplicationsRequest.builder()- Parameters:
listApplicationsRequest- AConsumerthat will call methods onListApplicationsRequest.Builderto create a request.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listConnectors
default ListConnectorsResponse listConnectors(ListConnectorsRequest listConnectorsRequest) throws UninitializedAccountException, ValidationException, AwsServiceException, SdkClientException, MgnException List Connectors.
- Parameters:
listConnectorsRequest-- Returns:
- Result of the ListConnectors operation returned by the service.
- See Also:
-
listConnectors
default ListConnectorsResponse listConnectors(Consumer<ListConnectorsRequest.Builder> listConnectorsRequest) throws UninitializedAccountException, ValidationException, AwsServiceException, SdkClientException, MgnException List Connectors.
This is a convenience which creates an instance of the
ListConnectorsRequest.Builderavoiding the need to create one manually viaListConnectorsRequest.builder()- Parameters:
listConnectorsRequest- AConsumerthat will call methods onListConnectorsRequest.Builderto create a request.- Returns:
- Result of the ListConnectors operation returned by the service.
- See Also:
-
listConnectorsPaginator
default ListConnectorsIterable listConnectorsPaginator(ListConnectorsRequest listConnectorsRequest) throws UninitializedAccountException, ValidationException, AwsServiceException, SdkClientException, MgnException List Connectors.
This is a variant of
listConnectors(software.amazon.awssdk.services.mgn.model.ListConnectorsRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.mgn.paginators.ListConnectorsIterable responses = client.listConnectorsPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.mgn.paginators.ListConnectorsIterable responses = client.listConnectorsPaginator(request); for (software.amazon.awssdk.services.mgn.model.ListConnectorsResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.mgn.paginators.ListConnectorsIterable responses = client.listConnectorsPaginator(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
listConnectors(software.amazon.awssdk.services.mgn.model.ListConnectorsRequest)operation.- Parameters:
listConnectorsRequest-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listConnectorsPaginator
default ListConnectorsIterable listConnectorsPaginator(Consumer<ListConnectorsRequest.Builder> listConnectorsRequest) throws UninitializedAccountException, ValidationException, AwsServiceException, SdkClientException, MgnException List Connectors.
This is a variant of
listConnectors(software.amazon.awssdk.services.mgn.model.ListConnectorsRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.mgn.paginators.ListConnectorsIterable responses = client.listConnectorsPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.mgn.paginators.ListConnectorsIterable responses = client.listConnectorsPaginator(request); for (software.amazon.awssdk.services.mgn.model.ListConnectorsResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.mgn.paginators.ListConnectorsIterable responses = client.listConnectorsPaginator(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
listConnectors(software.amazon.awssdk.services.mgn.model.ListConnectorsRequest)operation.This is a convenience which creates an instance of the
ListConnectorsRequest.Builderavoiding the need to create one manually viaListConnectorsRequest.builder()- Parameters:
listConnectorsRequest- AConsumerthat will call methods onListConnectorsRequest.Builderto create a request.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listExportErrors
default ListExportErrorsResponse listExportErrors(ListExportErrorsRequest listExportErrorsRequest) throws UninitializedAccountException, ValidationException, AwsServiceException, SdkClientException, MgnException List export errors.
- Parameters:
listExportErrorsRequest- List export errors request.- Returns:
- Result of the ListExportErrors operation returned by the service.
- See Also:
-
listExportErrors
default ListExportErrorsResponse listExportErrors(Consumer<ListExportErrorsRequest.Builder> listExportErrorsRequest) throws UninitializedAccountException, ValidationException, AwsServiceException, SdkClientException, MgnException List export errors.
This is a convenience which creates an instance of the
ListExportErrorsRequest.Builderavoiding the need to create one manually viaListExportErrorsRequest.builder()- Parameters:
listExportErrorsRequest- AConsumerthat will call methods onListExportErrorsRequest.Builderto create a request. List export errors request.- Returns:
- Result of the ListExportErrors operation returned by the service.
- See Also:
-
listExportErrorsPaginator
default ListExportErrorsIterable listExportErrorsPaginator(ListExportErrorsRequest listExportErrorsRequest) throws UninitializedAccountException, ValidationException, AwsServiceException, SdkClientException, MgnException List export errors.
This is a variant of
listExportErrors(software.amazon.awssdk.services.mgn.model.ListExportErrorsRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.mgn.paginators.ListExportErrorsIterable responses = client.listExportErrorsPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.mgn.paginators.ListExportErrorsIterable responses = client.listExportErrorsPaginator(request); for (software.amazon.awssdk.services.mgn.model.ListExportErrorsResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.mgn.paginators.ListExportErrorsIterable responses = client.listExportErrorsPaginator(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
listExportErrors(software.amazon.awssdk.services.mgn.model.ListExportErrorsRequest)operation.- Parameters:
listExportErrorsRequest- List export errors request.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listExportErrorsPaginator
default ListExportErrorsIterable listExportErrorsPaginator(Consumer<ListExportErrorsRequest.Builder> listExportErrorsRequest) throws UninitializedAccountException, ValidationException, AwsServiceException, SdkClientException, MgnException List export errors.
This is a variant of
listExportErrors(software.amazon.awssdk.services.mgn.model.ListExportErrorsRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.mgn.paginators.ListExportErrorsIterable responses = client.listExportErrorsPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.mgn.paginators.ListExportErrorsIterable responses = client.listExportErrorsPaginator(request); for (software.amazon.awssdk.services.mgn.model.ListExportErrorsResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.mgn.paginators.ListExportErrorsIterable responses = client.listExportErrorsPaginator(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
listExportErrors(software.amazon.awssdk.services.mgn.model.ListExportErrorsRequest)operation.This is a convenience which creates an instance of the
ListExportErrorsRequest.Builderavoiding the need to create one manually viaListExportErrorsRequest.builder()- Parameters:
listExportErrorsRequest- AConsumerthat will call methods onListExportErrorsRequest.Builderto create a request. List export errors request.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listExports
default ListExportsResponse listExports(ListExportsRequest listExportsRequest) throws UninitializedAccountException, AwsServiceException, SdkClientException, MgnException List exports.
- Parameters:
listExportsRequest- List export request.- Returns:
- Result of the ListExports operation returned by the service.
- See Also:
-
listExports
default ListExportsResponse listExports(Consumer<ListExportsRequest.Builder> listExportsRequest) throws UninitializedAccountException, AwsServiceException, SdkClientException, MgnException List exports.
This is a convenience which creates an instance of the
ListExportsRequest.Builderavoiding the need to create one manually viaListExportsRequest.builder()- Parameters:
listExportsRequest- AConsumerthat will call methods onListExportsRequest.Builderto create a request. List export request.- Returns:
- Result of the ListExports operation returned by the service.
- See Also:
-
listExportsPaginator
default ListExportsIterable listExportsPaginator(ListExportsRequest listExportsRequest) throws UninitializedAccountException, AwsServiceException, SdkClientException, MgnException List exports.
This is a variant of
listExports(software.amazon.awssdk.services.mgn.model.ListExportsRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.mgn.paginators.ListExportsIterable responses = client.listExportsPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.mgn.paginators.ListExportsIterable responses = client.listExportsPaginator(request); for (software.amazon.awssdk.services.mgn.model.ListExportsResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.mgn.paginators.ListExportsIterable responses = client.listExportsPaginator(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
listExports(software.amazon.awssdk.services.mgn.model.ListExportsRequest)operation.- Parameters:
listExportsRequest- List export request.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listExportsPaginator
default ListExportsIterable listExportsPaginator(Consumer<ListExportsRequest.Builder> listExportsRequest) throws UninitializedAccountException, AwsServiceException, SdkClientException, MgnException List exports.
This is a variant of
listExports(software.amazon.awssdk.services.mgn.model.ListExportsRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.mgn.paginators.ListExportsIterable responses = client.listExportsPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.mgn.paginators.ListExportsIterable responses = client.listExportsPaginator(request); for (software.amazon.awssdk.services.mgn.model.ListExportsResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.mgn.paginators.ListExportsIterable responses = client.listExportsPaginator(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
listExports(software.amazon.awssdk.services.mgn.model.ListExportsRequest)operation.This is a convenience which creates an instance of the
ListExportsRequest.Builderavoiding the need to create one manually viaListExportsRequest.builder()- Parameters:
listExportsRequest- AConsumerthat will call methods onListExportsRequest.Builderto create a request. List export request.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listImportErrors
default ListImportErrorsResponse listImportErrors(ListImportErrorsRequest listImportErrorsRequest) throws UninitializedAccountException, ValidationException, AwsServiceException, SdkClientException, MgnException List import errors.
- Parameters:
listImportErrorsRequest- List import errors request.- Returns:
- Result of the ListImportErrors operation returned by the service.
- See Also:
-
listImportErrors
default ListImportErrorsResponse listImportErrors(Consumer<ListImportErrorsRequest.Builder> listImportErrorsRequest) throws UninitializedAccountException, ValidationException, AwsServiceException, SdkClientException, MgnException List import errors.
This is a convenience which creates an instance of the
ListImportErrorsRequest.Builderavoiding the need to create one manually viaListImportErrorsRequest.builder()- Parameters:
listImportErrorsRequest- AConsumerthat will call methods onListImportErrorsRequest.Builderto create a request. List import errors request.- Returns:
- Result of the ListImportErrors operation returned by the service.
- See Also:
-
listImportErrorsPaginator
default ListImportErrorsIterable listImportErrorsPaginator(ListImportErrorsRequest listImportErrorsRequest) throws UninitializedAccountException, ValidationException, AwsServiceException, SdkClientException, MgnException List import errors.
This is a variant of
listImportErrors(software.amazon.awssdk.services.mgn.model.ListImportErrorsRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.mgn.paginators.ListImportErrorsIterable responses = client.listImportErrorsPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.mgn.paginators.ListImportErrorsIterable responses = client.listImportErrorsPaginator(request); for (software.amazon.awssdk.services.mgn.model.ListImportErrorsResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.mgn.paginators.ListImportErrorsIterable responses = client.listImportErrorsPaginator(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
listImportErrors(software.amazon.awssdk.services.mgn.model.ListImportErrorsRequest)operation.- Parameters:
listImportErrorsRequest- List import errors request.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listImportErrorsPaginator
default ListImportErrorsIterable listImportErrorsPaginator(Consumer<ListImportErrorsRequest.Builder> listImportErrorsRequest) throws UninitializedAccountException, ValidationException, AwsServiceException, SdkClientException, MgnException List import errors.
This is a variant of
listImportErrors(software.amazon.awssdk.services.mgn.model.ListImportErrorsRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.mgn.paginators.ListImportErrorsIterable responses = client.listImportErrorsPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.mgn.paginators.ListImportErrorsIterable responses = client.listImportErrorsPaginator(request); for (software.amazon.awssdk.services.mgn.model.ListImportErrorsResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.mgn.paginators.ListImportErrorsIterable responses = client.listImportErrorsPaginator(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
listImportErrors(software.amazon.awssdk.services.mgn.model.ListImportErrorsRequest)operation.This is a convenience which creates an instance of the
ListImportErrorsRequest.Builderavoiding the need to create one manually viaListImportErrorsRequest.builder()- Parameters:
listImportErrorsRequest- AConsumerthat will call methods onListImportErrorsRequest.Builderto create a request. List import errors request.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listImports
default ListImportsResponse listImports(ListImportsRequest listImportsRequest) throws UninitializedAccountException, ValidationException, AwsServiceException, SdkClientException, MgnException List imports.
- Parameters:
listImportsRequest- List imports request.- Returns:
- Result of the ListImports operation returned by the service.
- See Also:
-
listImports
default ListImportsResponse listImports(Consumer<ListImportsRequest.Builder> listImportsRequest) throws UninitializedAccountException, ValidationException, AwsServiceException, SdkClientException, MgnException List imports.
This is a convenience which creates an instance of the
ListImportsRequest.Builderavoiding the need to create one manually viaListImportsRequest.builder()- Parameters:
listImportsRequest- AConsumerthat will call methods onListImportsRequest.Builderto create a request. List imports request.- Returns:
- Result of the ListImports operation returned by the service.
- See Also:
-
listImportsPaginator
default ListImportsIterable listImportsPaginator(ListImportsRequest listImportsRequest) throws UninitializedAccountException, ValidationException, AwsServiceException, SdkClientException, MgnException List imports.
This is a variant of
listImports(software.amazon.awssdk.services.mgn.model.ListImportsRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.mgn.paginators.ListImportsIterable responses = client.listImportsPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.mgn.paginators.ListImportsIterable responses = client.listImportsPaginator(request); for (software.amazon.awssdk.services.mgn.model.ListImportsResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.mgn.paginators.ListImportsIterable responses = client.listImportsPaginator(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
listImports(software.amazon.awssdk.services.mgn.model.ListImportsRequest)operation.- Parameters:
listImportsRequest- List imports request.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listImportsPaginator
default ListImportsIterable listImportsPaginator(Consumer<ListImportsRequest.Builder> listImportsRequest) throws UninitializedAccountException, ValidationException, AwsServiceException, SdkClientException, MgnException List imports.
This is a variant of
listImports(software.amazon.awssdk.services.mgn.model.ListImportsRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.mgn.paginators.ListImportsIterable responses = client.listImportsPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.mgn.paginators.ListImportsIterable responses = client.listImportsPaginator(request); for (software.amazon.awssdk.services.mgn.model.ListImportsResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.mgn.paginators.ListImportsIterable responses = client.listImportsPaginator(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
listImports(software.amazon.awssdk.services.mgn.model.ListImportsRequest)operation.This is a convenience which creates an instance of the
ListImportsRequest.Builderavoiding the need to create one manually viaListImportsRequest.builder()- Parameters:
listImportsRequest- AConsumerthat will call methods onListImportsRequest.Builderto create a request. List imports request.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listManagedAccounts
default ListManagedAccountsResponse listManagedAccounts(ListManagedAccountsRequest listManagedAccountsRequest) throws UninitializedAccountException, ValidationException, AwsServiceException, SdkClientException, MgnException List Managed Accounts.
- Parameters:
listManagedAccountsRequest- List managed accounts request.- Returns:
- Result of the ListManagedAccounts operation returned by the service.
- See Also:
-
listManagedAccounts
default ListManagedAccountsResponse listManagedAccounts(Consumer<ListManagedAccountsRequest.Builder> listManagedAccountsRequest) throws UninitializedAccountException, ValidationException, AwsServiceException, SdkClientException, MgnException List Managed Accounts.
This is a convenience which creates an instance of the
ListManagedAccountsRequest.Builderavoiding the need to create one manually viaListManagedAccountsRequest.builder()- Parameters:
listManagedAccountsRequest- AConsumerthat will call methods onListManagedAccountsRequest.Builderto create a request. List managed accounts request.- Returns:
- Result of the ListManagedAccounts operation returned by the service.
- See Also:
-
listManagedAccountsPaginator
default ListManagedAccountsIterable listManagedAccountsPaginator(ListManagedAccountsRequest listManagedAccountsRequest) throws UninitializedAccountException, ValidationException, AwsServiceException, SdkClientException, MgnException List Managed Accounts.
This is a variant of
listManagedAccounts(software.amazon.awssdk.services.mgn.model.ListManagedAccountsRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.mgn.paginators.ListManagedAccountsIterable responses = client.listManagedAccountsPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.mgn.paginators.ListManagedAccountsIterable responses = client .listManagedAccountsPaginator(request); for (software.amazon.awssdk.services.mgn.model.ListManagedAccountsResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.mgn.paginators.ListManagedAccountsIterable responses = client.listManagedAccountsPaginator(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
listManagedAccounts(software.amazon.awssdk.services.mgn.model.ListManagedAccountsRequest)operation.- Parameters:
listManagedAccountsRequest- List managed accounts request.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listManagedAccountsPaginator
default ListManagedAccountsIterable listManagedAccountsPaginator(Consumer<ListManagedAccountsRequest.Builder> listManagedAccountsRequest) throws UninitializedAccountException, ValidationException, AwsServiceException, SdkClientException, MgnException List Managed Accounts.
This is a variant of
listManagedAccounts(software.amazon.awssdk.services.mgn.model.ListManagedAccountsRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.mgn.paginators.ListManagedAccountsIterable responses = client.listManagedAccountsPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.mgn.paginators.ListManagedAccountsIterable responses = client .listManagedAccountsPaginator(request); for (software.amazon.awssdk.services.mgn.model.ListManagedAccountsResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.mgn.paginators.ListManagedAccountsIterable responses = client.listManagedAccountsPaginator(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
listManagedAccounts(software.amazon.awssdk.services.mgn.model.ListManagedAccountsRequest)operation.This is a convenience which creates an instance of the
ListManagedAccountsRequest.Builderavoiding the need to create one manually viaListManagedAccountsRequest.builder()- Parameters:
listManagedAccountsRequest- AConsumerthat will call methods onListManagedAccountsRequest.Builderto create a request. List managed accounts request.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listSourceServerActions
default ListSourceServerActionsResponse listSourceServerActions(ListSourceServerActionsRequest listSourceServerActionsRequest) throws UninitializedAccountException, ResourceNotFoundException, AwsServiceException, SdkClientException, MgnException List source server post migration custom actions.
- Parameters:
listSourceServerActionsRequest-- Returns:
- Result of the ListSourceServerActions operation returned by the service.
- See Also:
-
listSourceServerActions
default ListSourceServerActionsResponse listSourceServerActions(Consumer<ListSourceServerActionsRequest.Builder> listSourceServerActionsRequest) throws UninitializedAccountException, ResourceNotFoundException, AwsServiceException, SdkClientException, MgnException List source server post migration custom actions.
This is a convenience which creates an instance of the
ListSourceServerActionsRequest.Builderavoiding the need to create one manually viaListSourceServerActionsRequest.builder()- Parameters:
listSourceServerActionsRequest- AConsumerthat will call methods onListSourceServerActionsRequest.Builderto create a request.- Returns:
- Result of the ListSourceServerActions operation returned by the service.
- See Also:
-
listSourceServerActionsPaginator
default ListSourceServerActionsIterable listSourceServerActionsPaginator(ListSourceServerActionsRequest listSourceServerActionsRequest) throws UninitializedAccountException, ResourceNotFoundException, AwsServiceException, SdkClientException, MgnException List source server post migration custom actions.
This is a variant of
listSourceServerActions(software.amazon.awssdk.services.mgn.model.ListSourceServerActionsRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.mgn.paginators.ListSourceServerActionsIterable responses = client.listSourceServerActionsPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.mgn.paginators.ListSourceServerActionsIterable responses = client .listSourceServerActionsPaginator(request); for (software.amazon.awssdk.services.mgn.model.ListSourceServerActionsResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.mgn.paginators.ListSourceServerActionsIterable responses = client.listSourceServerActionsPaginator(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
listSourceServerActions(software.amazon.awssdk.services.mgn.model.ListSourceServerActionsRequest)operation.- Parameters:
listSourceServerActionsRequest-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listSourceServerActionsPaginator
default ListSourceServerActionsIterable listSourceServerActionsPaginator(Consumer<ListSourceServerActionsRequest.Builder> listSourceServerActionsRequest) throws UninitializedAccountException, ResourceNotFoundException, AwsServiceException, SdkClientException, MgnException List source server post migration custom actions.
This is a variant of
listSourceServerActions(software.amazon.awssdk.services.mgn.model.ListSourceServerActionsRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.mgn.paginators.ListSourceServerActionsIterable responses = client.listSourceServerActionsPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.mgn.paginators.ListSourceServerActionsIterable responses = client .listSourceServerActionsPaginator(request); for (software.amazon.awssdk.services.mgn.model.ListSourceServerActionsResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.mgn.paginators.ListSourceServerActionsIterable responses = client.listSourceServerActionsPaginator(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
listSourceServerActions(software.amazon.awssdk.services.mgn.model.ListSourceServerActionsRequest)operation.This is a convenience which creates an instance of the
ListSourceServerActionsRequest.Builderavoiding the need to create one manually viaListSourceServerActionsRequest.builder()- Parameters:
listSourceServerActionsRequest- AConsumerthat will call methods onListSourceServerActionsRequest.Builderto create a request.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listTagsForResource
default ListTagsForResourceResponse listTagsForResource(ListTagsForResourceRequest listTagsForResourceRequest) throws ResourceNotFoundException, ThrottlingException, ValidationException, AccessDeniedException, InternalServerException, AwsServiceException, SdkClientException, MgnException List all tags for your Application Migration Service resources.
- Parameters:
listTagsForResourceRequest-- Returns:
- Result of the ListTagsForResource operation returned by the service.
- See Also:
-
listTagsForResource
default ListTagsForResourceResponse listTagsForResource(Consumer<ListTagsForResourceRequest.Builder> listTagsForResourceRequest) throws ResourceNotFoundException, ThrottlingException, ValidationException, AccessDeniedException, InternalServerException, AwsServiceException, SdkClientException, MgnException List all tags for your Application Migration Service resources.
This is a convenience which creates an instance of the
ListTagsForResourceRequest.Builderavoiding the need to create one manually viaListTagsForResourceRequest.builder()- Parameters:
listTagsForResourceRequest- AConsumerthat will call methods onListTagsForResourceRequest.Builderto create a request.- Returns:
- Result of the ListTagsForResource operation returned by the service.
- See Also:
-
listTemplateActions
default ListTemplateActionsResponse listTemplateActions(ListTemplateActionsRequest listTemplateActionsRequest) throws UninitializedAccountException, ResourceNotFoundException, AwsServiceException, SdkClientException, MgnException List template post migration custom actions.
- Parameters:
listTemplateActionsRequest-- Returns:
- Result of the ListTemplateActions operation returned by the service.
- See Also:
-
listTemplateActions
default ListTemplateActionsResponse listTemplateActions(Consumer<ListTemplateActionsRequest.Builder> listTemplateActionsRequest) throws UninitializedAccountException, ResourceNotFoundException, AwsServiceException, SdkClientException, MgnException List template post migration custom actions.
This is a convenience which creates an instance of the
ListTemplateActionsRequest.Builderavoiding the need to create one manually viaListTemplateActionsRequest.builder()- Parameters:
listTemplateActionsRequest- AConsumerthat will call methods onListTemplateActionsRequest.Builderto create a request.- Returns:
- Result of the ListTemplateActions operation returned by the service.
- See Also:
-
listTemplateActionsPaginator
default ListTemplateActionsIterable listTemplateActionsPaginator(ListTemplateActionsRequest listTemplateActionsRequest) throws UninitializedAccountException, ResourceNotFoundException, AwsServiceException, SdkClientException, MgnException List template post migration custom actions.
This is a variant of
listTemplateActions(software.amazon.awssdk.services.mgn.model.ListTemplateActionsRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.mgn.paginators.ListTemplateActionsIterable responses = client.listTemplateActionsPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.mgn.paginators.ListTemplateActionsIterable responses = client .listTemplateActionsPaginator(request); for (software.amazon.awssdk.services.mgn.model.ListTemplateActionsResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.mgn.paginators.ListTemplateActionsIterable responses = client.listTemplateActionsPaginator(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
listTemplateActions(software.amazon.awssdk.services.mgn.model.ListTemplateActionsRequest)operation.- Parameters:
listTemplateActionsRequest-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listTemplateActionsPaginator
default ListTemplateActionsIterable listTemplateActionsPaginator(Consumer<ListTemplateActionsRequest.Builder> listTemplateActionsRequest) throws UninitializedAccountException, ResourceNotFoundException, AwsServiceException, SdkClientException, MgnException List template post migration custom actions.
This is a variant of
listTemplateActions(software.amazon.awssdk.services.mgn.model.ListTemplateActionsRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.mgn.paginators.ListTemplateActionsIterable responses = client.listTemplateActionsPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.mgn.paginators.ListTemplateActionsIterable responses = client .listTemplateActionsPaginator(request); for (software.amazon.awssdk.services.mgn.model.ListTemplateActionsResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.mgn.paginators.ListTemplateActionsIterable responses = client.listTemplateActionsPaginator(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
listTemplateActions(software.amazon.awssdk.services.mgn.model.ListTemplateActionsRequest)operation.This is a convenience which creates an instance of the
ListTemplateActionsRequest.Builderavoiding the need to create one manually viaListTemplateActionsRequest.builder()- Parameters:
listTemplateActionsRequest- AConsumerthat will call methods onListTemplateActionsRequest.Builderto create a request.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listWaves
default ListWavesResponse listWaves(ListWavesRequest listWavesRequest) throws UninitializedAccountException, AwsServiceException, SdkClientException, MgnException Retrieves all waves or multiple waves by ID.
- Parameters:
listWavesRequest-- Returns:
- Result of the ListWaves operation returned by the service.
- See Also:
-
listWaves
default ListWavesResponse listWaves(Consumer<ListWavesRequest.Builder> listWavesRequest) throws UninitializedAccountException, AwsServiceException, SdkClientException, MgnException Retrieves all waves or multiple waves by ID.
This is a convenience which creates an instance of the
ListWavesRequest.Builderavoiding the need to create one manually viaListWavesRequest.builder()- Parameters:
listWavesRequest- AConsumerthat will call methods onListWavesRequest.Builderto create a request.- Returns:
- Result of the ListWaves operation returned by the service.
- See Also:
-
listWavesPaginator
default ListWavesIterable listWavesPaginator(ListWavesRequest listWavesRequest) throws UninitializedAccountException, AwsServiceException, SdkClientException, MgnException Retrieves all waves or multiple waves by ID.
This is a variant of
listWaves(software.amazon.awssdk.services.mgn.model.ListWavesRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.mgn.paginators.ListWavesIterable responses = client.listWavesPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.mgn.paginators.ListWavesIterable responses = client.listWavesPaginator(request); for (software.amazon.awssdk.services.mgn.model.ListWavesResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.mgn.paginators.ListWavesIterable responses = client.listWavesPaginator(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
listWaves(software.amazon.awssdk.services.mgn.model.ListWavesRequest)operation.- Parameters:
listWavesRequest-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listWavesPaginator
default ListWavesIterable listWavesPaginator(Consumer<ListWavesRequest.Builder> listWavesRequest) throws UninitializedAccountException, AwsServiceException, SdkClientException, MgnException Retrieves all waves or multiple waves by ID.
This is a variant of
listWaves(software.amazon.awssdk.services.mgn.model.ListWavesRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.mgn.paginators.ListWavesIterable responses = client.listWavesPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.mgn.paginators.ListWavesIterable responses = client.listWavesPaginator(request); for (software.amazon.awssdk.services.mgn.model.ListWavesResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.mgn.paginators.ListWavesIterable responses = client.listWavesPaginator(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
listWaves(software.amazon.awssdk.services.mgn.model.ListWavesRequest)operation.This is a convenience which creates an instance of the
ListWavesRequest.Builderavoiding the need to create one manually viaListWavesRequest.builder()- Parameters:
listWavesRequest- AConsumerthat will call methods onListWavesRequest.Builderto create a request.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
markAsArchived
default MarkAsArchivedResponse markAsArchived(MarkAsArchivedRequest markAsArchivedRequest) throws UninitializedAccountException, ResourceNotFoundException, ConflictException, AwsServiceException, SdkClientException, MgnException Archives specific Source Servers by setting the SourceServer.isArchived property to true for specified SourceServers by ID. This command only works for SourceServers with a lifecycle. state which equals DISCONNECTED or CUTOVER.
- Parameters:
markAsArchivedRequest-- Returns:
- Result of the MarkAsArchived operation returned by the service.
- See Also:
-
markAsArchived
default MarkAsArchivedResponse markAsArchived(Consumer<MarkAsArchivedRequest.Builder> markAsArchivedRequest) throws UninitializedAccountException, ResourceNotFoundException, ConflictException, AwsServiceException, SdkClientException, MgnException Archives specific Source Servers by setting the SourceServer.isArchived property to true for specified SourceServers by ID. This command only works for SourceServers with a lifecycle. state which equals DISCONNECTED or CUTOVER.
This is a convenience which creates an instance of the
MarkAsArchivedRequest.Builderavoiding the need to create one manually viaMarkAsArchivedRequest.builder()- Parameters:
markAsArchivedRequest- AConsumerthat will call methods onMarkAsArchivedRequest.Builderto create a request.- Returns:
- Result of the MarkAsArchived operation returned by the service.
- See Also:
-
pauseReplication
default PauseReplicationResponse pauseReplication(PauseReplicationRequest pauseReplicationRequest) throws UninitializedAccountException, ResourceNotFoundException, ValidationException, ServiceQuotaExceededException, ConflictException, AwsServiceException, SdkClientException, MgnException Pause Replication.
- Parameters:
pauseReplicationRequest-- Returns:
- Result of the PauseReplication operation returned by the service.
- See Also:
-
pauseReplication
default PauseReplicationResponse pauseReplication(Consumer<PauseReplicationRequest.Builder> pauseReplicationRequest) throws UninitializedAccountException, ResourceNotFoundException, ValidationException, ServiceQuotaExceededException, ConflictException, AwsServiceException, SdkClientException, MgnException Pause Replication.
This is a convenience which creates an instance of the
PauseReplicationRequest.Builderavoiding the need to create one manually viaPauseReplicationRequest.builder()- Parameters:
pauseReplicationRequest- AConsumerthat will call methods onPauseReplicationRequest.Builderto create a request.- Returns:
- Result of the PauseReplication operation returned by the service.
- See Also:
-
putSourceServerAction
default PutSourceServerActionResponse putSourceServerAction(PutSourceServerActionRequest putSourceServerActionRequest) throws UninitializedAccountException, ResourceNotFoundException, ValidationException, ConflictException, AwsServiceException, SdkClientException, MgnException Put source server post migration custom action.
- Parameters:
putSourceServerActionRequest-- Returns:
- Result of the PutSourceServerAction operation returned by the service.
- See Also:
-
putSourceServerAction
default PutSourceServerActionResponse putSourceServerAction(Consumer<PutSourceServerActionRequest.Builder> putSourceServerActionRequest) throws UninitializedAccountException, ResourceNotFoundException, ValidationException, ConflictException, AwsServiceException, SdkClientException, MgnException Put source server post migration custom action.
This is a convenience which creates an instance of the
PutSourceServerActionRequest.Builderavoiding the need to create one manually viaPutSourceServerActionRequest.builder()- Parameters:
putSourceServerActionRequest- AConsumerthat will call methods onPutSourceServerActionRequest.Builderto create a request.- Returns:
- Result of the PutSourceServerAction operation returned by the service.
- See Also:
-
putTemplateAction
default PutTemplateActionResponse putTemplateAction(PutTemplateActionRequest putTemplateActionRequest) throws UninitializedAccountException, ResourceNotFoundException, ValidationException, ConflictException, AwsServiceException, SdkClientException, MgnException Put template post migration custom action.
- Parameters:
putTemplateActionRequest-- Returns:
- Result of the PutTemplateAction operation returned by the service.
- See Also:
-
putTemplateAction
default PutTemplateActionResponse putTemplateAction(Consumer<PutTemplateActionRequest.Builder> putTemplateActionRequest) throws UninitializedAccountException, ResourceNotFoundException, ValidationException, ConflictException, AwsServiceException, SdkClientException, MgnException Put template post migration custom action.
This is a convenience which creates an instance of the
PutTemplateActionRequest.Builderavoiding the need to create one manually viaPutTemplateActionRequest.builder()- Parameters:
putTemplateActionRequest- AConsumerthat will call methods onPutTemplateActionRequest.Builderto create a request.- Returns:
- Result of the PutTemplateAction operation returned by the service.
- See Also:
-
removeSourceServerAction
default RemoveSourceServerActionResponse removeSourceServerAction(RemoveSourceServerActionRequest removeSourceServerActionRequest) throws UninitializedAccountException, ResourceNotFoundException, ValidationException, AwsServiceException, SdkClientException, MgnException Remove source server post migration custom action.
- Parameters:
removeSourceServerActionRequest-- Returns:
- Result of the RemoveSourceServerAction operation returned by the service.
- See Also:
-
removeSourceServerAction
default RemoveSourceServerActionResponse removeSourceServerAction(Consumer<RemoveSourceServerActionRequest.Builder> removeSourceServerActionRequest) throws UninitializedAccountException, ResourceNotFoundException, ValidationException, AwsServiceException, SdkClientException, MgnException Remove source server post migration custom action.
This is a convenience which creates an instance of the
RemoveSourceServerActionRequest.Builderavoiding the need to create one manually viaRemoveSourceServerActionRequest.builder()- Parameters:
removeSourceServerActionRequest- AConsumerthat will call methods onRemoveSourceServerActionRequest.Builderto create a request.- Returns:
- Result of the RemoveSourceServerAction operation returned by the service.
- See Also:
-
removeTemplateAction
default RemoveTemplateActionResponse removeTemplateAction(RemoveTemplateActionRequest removeTemplateActionRequest) throws UninitializedAccountException, ResourceNotFoundException, ValidationException, AwsServiceException, SdkClientException, MgnException Remove template post migration custom action.
- Parameters:
removeTemplateActionRequest-- Returns:
- Result of the RemoveTemplateAction operation returned by the service.
- See Also:
-
removeTemplateAction
default RemoveTemplateActionResponse removeTemplateAction(Consumer<RemoveTemplateActionRequest.Builder> removeTemplateActionRequest) throws UninitializedAccountException, ResourceNotFoundException, ValidationException, AwsServiceException, SdkClientException, MgnException Remove template post migration custom action.
This is a convenience which creates an instance of the
RemoveTemplateActionRequest.Builderavoiding the need to create one manually viaRemoveTemplateActionRequest.builder()- Parameters:
removeTemplateActionRequest- AConsumerthat will call methods onRemoveTemplateActionRequest.Builderto create a request.- Returns:
- Result of the RemoveTemplateAction operation returned by the service.
- See Also:
-
resumeReplication
default ResumeReplicationResponse resumeReplication(ResumeReplicationRequest resumeReplicationRequest) throws UninitializedAccountException, ResourceNotFoundException, ValidationException, ServiceQuotaExceededException, ConflictException, AwsServiceException, SdkClientException, MgnException Resume Replication.
- Parameters:
resumeReplicationRequest-- Returns:
- Result of the ResumeReplication operation returned by the service.
- See Also:
-
resumeReplication
default ResumeReplicationResponse resumeReplication(Consumer<ResumeReplicationRequest.Builder> resumeReplicationRequest) throws UninitializedAccountException, ResourceNotFoundException, ValidationException, ServiceQuotaExceededException, ConflictException, AwsServiceException, SdkClientException, MgnException Resume Replication.
This is a convenience which creates an instance of the
ResumeReplicationRequest.Builderavoiding the need to create one manually viaResumeReplicationRequest.builder()- Parameters:
resumeReplicationRequest- AConsumerthat will call methods onResumeReplicationRequest.Builderto create a request.- Returns:
- Result of the ResumeReplication operation returned by the service.
- See Also:
-
retryDataReplication
default RetryDataReplicationResponse retryDataReplication(RetryDataReplicationRequest retryDataReplicationRequest) throws UninitializedAccountException, ResourceNotFoundException, ValidationException, AwsServiceException, SdkClientException, MgnException Causes the data replication initiation sequence to begin immediately upon next Handshake for specified SourceServer IDs, regardless of when the previous initiation started. This command will not work if the SourceServer is not stalled or is in a DISCONNECTED or STOPPED state.
- Parameters:
retryDataReplicationRequest-- Returns:
- Result of the RetryDataReplication operation returned by the service.
- See Also:
-
retryDataReplication
default RetryDataReplicationResponse retryDataReplication(Consumer<RetryDataReplicationRequest.Builder> retryDataReplicationRequest) throws UninitializedAccountException, ResourceNotFoundException, ValidationException, AwsServiceException, SdkClientException, MgnException Causes the data replication initiation sequence to begin immediately upon next Handshake for specified SourceServer IDs, regardless of when the previous initiation started. This command will not work if the SourceServer is not stalled or is in a DISCONNECTED or STOPPED state.
This is a convenience which creates an instance of the
RetryDataReplicationRequest.Builderavoiding the need to create one manually viaRetryDataReplicationRequest.builder()- Parameters:
retryDataReplicationRequest- AConsumerthat will call methods onRetryDataReplicationRequest.Builderto create a request.- Returns:
- Result of the RetryDataReplication operation returned by the service.
- See Also:
-
startCutover
default StartCutoverResponse startCutover(StartCutoverRequest startCutoverRequest) throws UninitializedAccountException, ValidationException, ConflictException, AwsServiceException, SdkClientException, MgnException Launches a Cutover Instance for specific Source Servers. This command starts a LAUNCH job whose initiatedBy property is StartCutover and changes the SourceServer.lifeCycle.state property to CUTTING_OVER.
- Parameters:
startCutoverRequest-- Returns:
- Result of the StartCutover operation returned by the service.
- See Also:
-
startCutover
default StartCutoverResponse startCutover(Consumer<StartCutoverRequest.Builder> startCutoverRequest) throws UninitializedAccountException, ValidationException, ConflictException, AwsServiceException, SdkClientException, MgnException Launches a Cutover Instance for specific Source Servers. This command starts a LAUNCH job whose initiatedBy property is StartCutover and changes the SourceServer.lifeCycle.state property to CUTTING_OVER.
This is a convenience which creates an instance of the
StartCutoverRequest.Builderavoiding the need to create one manually viaStartCutoverRequest.builder()- Parameters:
startCutoverRequest- AConsumerthat will call methods onStartCutoverRequest.Builderto create a request.- Returns:
- Result of the StartCutover operation returned by the service.
- See Also:
-
startExport
default StartExportResponse startExport(StartExportRequest startExportRequest) throws UninitializedAccountException, ValidationException, ServiceQuotaExceededException, AwsServiceException, SdkClientException, MgnException Start export.
- Parameters:
startExportRequest- Start export request.- Returns:
- Result of the StartExport operation returned by the service.
- See Also:
-
startExport
default StartExportResponse startExport(Consumer<StartExportRequest.Builder> startExportRequest) throws UninitializedAccountException, ValidationException, ServiceQuotaExceededException, AwsServiceException, SdkClientException, MgnException Start export.
This is a convenience which creates an instance of the
StartExportRequest.Builderavoiding the need to create one manually viaStartExportRequest.builder()- Parameters:
startExportRequest- AConsumerthat will call methods onStartExportRequest.Builderto create a request. Start export request.- Returns:
- Result of the StartExport operation returned by the service.
- See Also:
-
startImport
default StartImportResponse startImport(StartImportRequest startImportRequest) throws UninitializedAccountException, ResourceNotFoundException, ValidationException, ServiceQuotaExceededException, ConflictException, AwsServiceException, SdkClientException, MgnException Start import.
- Parameters:
startImportRequest- Start import request.- Returns:
- Result of the StartImport operation returned by the service.
- See Also:
-
startImport
default StartImportResponse startImport(Consumer<StartImportRequest.Builder> startImportRequest) throws UninitializedAccountException, ResourceNotFoundException, ValidationException, ServiceQuotaExceededException, ConflictException, AwsServiceException, SdkClientException, MgnException Start import.
This is a convenience which creates an instance of the
StartImportRequest.Builderavoiding the need to create one manually viaStartImportRequest.builder()- Parameters:
startImportRequest- AConsumerthat will call methods onStartImportRequest.Builderto create a request. Start import request.- Returns:
- Result of the StartImport operation returned by the service.
- See Also:
-
startReplication
default StartReplicationResponse startReplication(StartReplicationRequest startReplicationRequest) throws UninitializedAccountException, ResourceNotFoundException, ValidationException, ServiceQuotaExceededException, ConflictException, AwsServiceException, SdkClientException, MgnException Starts replication for SNAPSHOT_SHIPPING agents.
- Parameters:
startReplicationRequest-- Returns:
- Result of the StartReplication operation returned by the service.
- See Also:
-
startReplication
default StartReplicationResponse startReplication(Consumer<StartReplicationRequest.Builder> startReplicationRequest) throws UninitializedAccountException, ResourceNotFoundException, ValidationException, ServiceQuotaExceededException, ConflictException, AwsServiceException, SdkClientException, MgnException Starts replication for SNAPSHOT_SHIPPING agents.
This is a convenience which creates an instance of the
StartReplicationRequest.Builderavoiding the need to create one manually viaStartReplicationRequest.builder()- Parameters:
startReplicationRequest- AConsumerthat will call methods onStartReplicationRequest.Builderto create a request.- Returns:
- Result of the StartReplication operation returned by the service.
- See Also:
-
startTest
default StartTestResponse startTest(StartTestRequest startTestRequest) throws UninitializedAccountException, ValidationException, ConflictException, AwsServiceException, SdkClientException, MgnException Launches a Test Instance for specific Source Servers. This command starts a LAUNCH job whose initiatedBy property is StartTest and changes the SourceServer.lifeCycle.state property to TESTING.
- Parameters:
startTestRequest-- Returns:
- Result of the StartTest operation returned by the service.
- See Also:
-
startTest
default StartTestResponse startTest(Consumer<StartTestRequest.Builder> startTestRequest) throws UninitializedAccountException, ValidationException, ConflictException, AwsServiceException, SdkClientException, MgnException Launches a Test Instance for specific Source Servers. This command starts a LAUNCH job whose initiatedBy property is StartTest and changes the SourceServer.lifeCycle.state property to TESTING.
This is a convenience which creates an instance of the
StartTestRequest.Builderavoiding the need to create one manually viaStartTestRequest.builder()- Parameters:
startTestRequest- AConsumerthat will call methods onStartTestRequest.Builderto create a request.- Returns:
- Result of the StartTest operation returned by the service.
- See Also:
-
stopReplication
default StopReplicationResponse stopReplication(StopReplicationRequest stopReplicationRequest) throws UninitializedAccountException, ResourceNotFoundException, ValidationException, ServiceQuotaExceededException, ConflictException, AwsServiceException, SdkClientException, MgnException Stop Replication.
- Parameters:
stopReplicationRequest-- Returns:
- Result of the StopReplication operation returned by the service.
- See Also:
-
stopReplication
default StopReplicationResponse stopReplication(Consumer<StopReplicationRequest.Builder> stopReplicationRequest) throws UninitializedAccountException, ResourceNotFoundException, ValidationException, ServiceQuotaExceededException, ConflictException, AwsServiceException, SdkClientException, MgnException Stop Replication.
This is a convenience which creates an instance of the
StopReplicationRequest.Builderavoiding the need to create one manually viaStopReplicationRequest.builder()- Parameters:
stopReplicationRequest- AConsumerthat will call methods onStopReplicationRequest.Builderto create a request.- Returns:
- Result of the StopReplication operation returned by the service.
- See Also:
-
tagResource
default TagResourceResponse tagResource(TagResourceRequest tagResourceRequest) throws ResourceNotFoundException, ThrottlingException, ValidationException, AccessDeniedException, InternalServerException, AwsServiceException, SdkClientException, MgnException Adds or overwrites only the specified tags for the specified Application Migration Service resource or resources. When you specify an existing tag key, the value is overwritten with the new value. Each resource can have a maximum of 50 tags. Each tag consists of a key and optional value.
- Parameters:
tagResourceRequest-- Returns:
- Result of the TagResource operation returned by the service.
- See Also:
-
tagResource
default TagResourceResponse tagResource(Consumer<TagResourceRequest.Builder> tagResourceRequest) throws ResourceNotFoundException, ThrottlingException, ValidationException, AccessDeniedException, InternalServerException, AwsServiceException, SdkClientException, MgnException Adds or overwrites only the specified tags for the specified Application Migration Service resource or resources. When you specify an existing tag key, the value is overwritten with the new value. Each resource can have a maximum of 50 tags. Each tag consists of a key and optional value.
This is a convenience which creates an instance of the
TagResourceRequest.Builderavoiding the need to create one manually viaTagResourceRequest.builder()- Parameters:
tagResourceRequest- AConsumerthat will call methods onTagResourceRequest.Builderto create a request.- Returns:
- Result of the TagResource operation returned by the service.
- See Also:
-
terminateTargetInstances
default TerminateTargetInstancesResponse terminateTargetInstances(TerminateTargetInstancesRequest terminateTargetInstancesRequest) throws UninitializedAccountException, ValidationException, ConflictException, AwsServiceException, SdkClientException, MgnException Starts a job that terminates specific launched EC2 Test and Cutover instances. This command will not work for any Source Server with a lifecycle.state of TESTING, CUTTING_OVER, or CUTOVER.
- Parameters:
terminateTargetInstancesRequest-- Returns:
- Result of the TerminateTargetInstances operation returned by the service.
- See Also:
-
terminateTargetInstances
default TerminateTargetInstancesResponse terminateTargetInstances(Consumer<TerminateTargetInstancesRequest.Builder> terminateTargetInstancesRequest) throws UninitializedAccountException, ValidationException, ConflictException, AwsServiceException, SdkClientException, MgnException Starts a job that terminates specific launched EC2 Test and Cutover instances. This command will not work for any Source Server with a lifecycle.state of TESTING, CUTTING_OVER, or CUTOVER.
This is a convenience which creates an instance of the
TerminateTargetInstancesRequest.Builderavoiding the need to create one manually viaTerminateTargetInstancesRequest.builder()- Parameters:
terminateTargetInstancesRequest- AConsumerthat will call methods onTerminateTargetInstancesRequest.Builderto create a request.- Returns:
- Result of the TerminateTargetInstances operation returned by the service.
- See Also:
-
unarchiveApplication
default UnarchiveApplicationResponse unarchiveApplication(UnarchiveApplicationRequest unarchiveApplicationRequest) throws UninitializedAccountException, ResourceNotFoundException, ServiceQuotaExceededException, AwsServiceException, SdkClientException, MgnException Unarchive application.
- Parameters:
unarchiveApplicationRequest-- Returns:
- Result of the UnarchiveApplication operation returned by the service.
- See Also:
-
unarchiveApplication
default UnarchiveApplicationResponse unarchiveApplication(Consumer<UnarchiveApplicationRequest.Builder> unarchiveApplicationRequest) throws UninitializedAccountException, ResourceNotFoundException, ServiceQuotaExceededException, AwsServiceException, SdkClientException, MgnException Unarchive application.
This is a convenience which creates an instance of the
UnarchiveApplicationRequest.Builderavoiding the need to create one manually viaUnarchiveApplicationRequest.builder()- Parameters:
unarchiveApplicationRequest- AConsumerthat will call methods onUnarchiveApplicationRequest.Builderto create a request.- Returns:
- Result of the UnarchiveApplication operation returned by the service.
- See Also:
-
unarchiveWave
default UnarchiveWaveResponse unarchiveWave(UnarchiveWaveRequest unarchiveWaveRequest) throws UninitializedAccountException, ResourceNotFoundException, ServiceQuotaExceededException, AwsServiceException, SdkClientException, MgnException Unarchive wave.
- Parameters:
unarchiveWaveRequest-- Returns:
- Result of the UnarchiveWave operation returned by the service.
- See Also:
-
unarchiveWave
default UnarchiveWaveResponse unarchiveWave(Consumer<UnarchiveWaveRequest.Builder> unarchiveWaveRequest) throws UninitializedAccountException, ResourceNotFoundException, ServiceQuotaExceededException, AwsServiceException, SdkClientException, MgnException Unarchive wave.
This is a convenience which creates an instance of the
UnarchiveWaveRequest.Builderavoiding the need to create one manually viaUnarchiveWaveRequest.builder()- Parameters:
unarchiveWaveRequest- AConsumerthat will call methods onUnarchiveWaveRequest.Builderto create a request.- Returns:
- Result of the UnarchiveWave operation returned by the service.
- See Also:
-
untagResource
default UntagResourceResponse untagResource(UntagResourceRequest untagResourceRequest) throws ResourceNotFoundException, ThrottlingException, ValidationException, AccessDeniedException, InternalServerException, AwsServiceException, SdkClientException, MgnException Deletes the specified set of tags from the specified set of Application Migration Service resources.
- Parameters:
untagResourceRequest-- Returns:
- Result of the UntagResource operation returned by the service.
- See Also:
-
untagResource
default UntagResourceResponse untagResource(Consumer<UntagResourceRequest.Builder> untagResourceRequest) throws ResourceNotFoundException, ThrottlingException, ValidationException, AccessDeniedException, InternalServerException, AwsServiceException, SdkClientException, MgnException Deletes the specified set of tags from the specified set of Application Migration Service resources.
This is a convenience which creates an instance of the
UntagResourceRequest.Builderavoiding the need to create one manually viaUntagResourceRequest.builder()- Parameters:
untagResourceRequest- AConsumerthat will call methods onUntagResourceRequest.Builderto create a request.- Returns:
- Result of the UntagResource operation returned by the service.
- See Also:
-
updateApplication
default UpdateApplicationResponse updateApplication(UpdateApplicationRequest updateApplicationRequest) throws UninitializedAccountException, ResourceNotFoundException, ConflictException, AwsServiceException, SdkClientException, MgnException Update application.
- Parameters:
updateApplicationRequest-- Returns:
- Result of the UpdateApplication operation returned by the service.
- See Also:
-
updateApplication
default UpdateApplicationResponse updateApplication(Consumer<UpdateApplicationRequest.Builder> updateApplicationRequest) throws UninitializedAccountException, ResourceNotFoundException, ConflictException, AwsServiceException, SdkClientException, MgnException Update application.
This is a convenience which creates an instance of the
UpdateApplicationRequest.Builderavoiding the need to create one manually viaUpdateApplicationRequest.builder()- Parameters:
updateApplicationRequest- AConsumerthat will call methods onUpdateApplicationRequest.Builderto create a request.- Returns:
- Result of the UpdateApplication operation returned by the service.
- See Also:
-
updateConnector
default UpdateConnectorResponse updateConnector(UpdateConnectorRequest updateConnectorRequest) throws UninitializedAccountException, ResourceNotFoundException, ValidationException, AwsServiceException, SdkClientException, MgnException Update Connector.
- Parameters:
updateConnectorRequest-- Returns:
- Result of the UpdateConnector operation returned by the service.
- See Also:
-
updateConnector
default UpdateConnectorResponse updateConnector(Consumer<UpdateConnectorRequest.Builder> updateConnectorRequest) throws UninitializedAccountException, ResourceNotFoundException, ValidationException, AwsServiceException, SdkClientException, MgnException Update Connector.
This is a convenience which creates an instance of the
UpdateConnectorRequest.Builderavoiding the need to create one manually viaUpdateConnectorRequest.builder()- Parameters:
updateConnectorRequest- AConsumerthat will call methods onUpdateConnectorRequest.Builderto create a request.- Returns:
- Result of the UpdateConnector operation returned by the service.
- See Also:
-
updateLaunchConfiguration
default UpdateLaunchConfigurationResponse updateLaunchConfiguration(UpdateLaunchConfigurationRequest updateLaunchConfigurationRequest) throws UninitializedAccountException, ResourceNotFoundException, ValidationException, ConflictException, AwsServiceException, SdkClientException, MgnException Updates multiple LaunchConfigurations by Source Server ID.
- Parameters:
updateLaunchConfigurationRequest-- Returns:
- Result of the UpdateLaunchConfiguration operation returned by the service.
- See Also:
-
updateLaunchConfiguration
default UpdateLaunchConfigurationResponse updateLaunchConfiguration(Consumer<UpdateLaunchConfigurationRequest.Builder> updateLaunchConfigurationRequest) throws UninitializedAccountException, ResourceNotFoundException, ValidationException, ConflictException, AwsServiceException, SdkClientException, MgnException Updates multiple LaunchConfigurations by Source Server ID.
This is a convenience which creates an instance of the
UpdateLaunchConfigurationRequest.Builderavoiding the need to create one manually viaUpdateLaunchConfigurationRequest.builder()- Parameters:
updateLaunchConfigurationRequest- AConsumerthat will call methods onUpdateLaunchConfigurationRequest.Builderto create a request.- Returns:
- Result of the UpdateLaunchConfiguration operation returned by the service.
- See Also:
-
updateLaunchConfigurationTemplate
default UpdateLaunchConfigurationTemplateResponse updateLaunchConfigurationTemplate(UpdateLaunchConfigurationTemplateRequest updateLaunchConfigurationTemplateRequest) throws UninitializedAccountException, ResourceNotFoundException, ValidationException, AccessDeniedException, AwsServiceException, SdkClientException, MgnException Updates an existing Launch Configuration Template by ID.
- Parameters:
updateLaunchConfigurationTemplateRequest-- Returns:
- Result of the UpdateLaunchConfigurationTemplate operation returned by the service.
- See Also:
-
updateLaunchConfigurationTemplate
default UpdateLaunchConfigurationTemplateResponse updateLaunchConfigurationTemplate(Consumer<UpdateLaunchConfigurationTemplateRequest.Builder> updateLaunchConfigurationTemplateRequest) throws UninitializedAccountException, ResourceNotFoundException, ValidationException, AccessDeniedException, AwsServiceException, SdkClientException, MgnException Updates an existing Launch Configuration Template by ID.
This is a convenience which creates an instance of the
UpdateLaunchConfigurationTemplateRequest.Builderavoiding the need to create one manually viaUpdateLaunchConfigurationTemplateRequest.builder()- Parameters:
updateLaunchConfigurationTemplateRequest- AConsumerthat will call methods onUpdateLaunchConfigurationTemplateRequest.Builderto create a request.- Returns:
- Result of the UpdateLaunchConfigurationTemplate operation returned by the service.
- See Also:
-
updateReplicationConfiguration
default UpdateReplicationConfigurationResponse updateReplicationConfiguration(UpdateReplicationConfigurationRequest updateReplicationConfigurationRequest) throws UninitializedAccountException, ResourceNotFoundException, ValidationException, AccessDeniedException, ConflictException, AwsServiceException, SdkClientException, MgnException Allows you to update multiple ReplicationConfigurations by Source Server ID.
- Parameters:
updateReplicationConfigurationRequest-- Returns:
- Result of the UpdateReplicationConfiguration operation returned by the service.
- See Also:
-
updateReplicationConfiguration
default UpdateReplicationConfigurationResponse updateReplicationConfiguration(Consumer<UpdateReplicationConfigurationRequest.Builder> updateReplicationConfigurationRequest) throws UninitializedAccountException, ResourceNotFoundException, ValidationException, AccessDeniedException, ConflictException, AwsServiceException, SdkClientException, MgnException Allows you to update multiple ReplicationConfigurations by Source Server ID.
This is a convenience which creates an instance of the
UpdateReplicationConfigurationRequest.Builderavoiding the need to create one manually viaUpdateReplicationConfigurationRequest.builder()- Parameters:
updateReplicationConfigurationRequest- AConsumerthat will call methods onUpdateReplicationConfigurationRequest.Builderto create a request.- Returns:
- Result of the UpdateReplicationConfiguration operation returned by the service.
- See Also:
-
updateReplicationConfigurationTemplate
default UpdateReplicationConfigurationTemplateResponse updateReplicationConfigurationTemplate(UpdateReplicationConfigurationTemplateRequest updateReplicationConfigurationTemplateRequest) throws UninitializedAccountException, ResourceNotFoundException, ValidationException, AccessDeniedException, AwsServiceException, SdkClientException, MgnException Updates multiple ReplicationConfigurationTemplates by ID.
- Parameters:
updateReplicationConfigurationTemplateRequest-- Returns:
- Result of the UpdateReplicationConfigurationTemplate operation returned by the service.
- See Also:
-
updateReplicationConfigurationTemplate
default UpdateReplicationConfigurationTemplateResponse updateReplicationConfigurationTemplate(Consumer<UpdateReplicationConfigurationTemplateRequest.Builder> updateReplicationConfigurationTemplateRequest) throws UninitializedAccountException, ResourceNotFoundException, ValidationException, AccessDeniedException, AwsServiceException, SdkClientException, MgnException Updates multiple ReplicationConfigurationTemplates by ID.
This is a convenience which creates an instance of the
UpdateReplicationConfigurationTemplateRequest.Builderavoiding the need to create one manually viaUpdateReplicationConfigurationTemplateRequest.builder()- Parameters:
updateReplicationConfigurationTemplateRequest- AConsumerthat will call methods onUpdateReplicationConfigurationTemplateRequest.Builderto create a request.- Returns:
- Result of the UpdateReplicationConfigurationTemplate operation returned by the service.
- See Also:
-
updateSourceServer
default UpdateSourceServerResponse updateSourceServer(UpdateSourceServerRequest updateSourceServerRequest) throws UninitializedAccountException, ResourceNotFoundException, ConflictException, AwsServiceException, SdkClientException, MgnException Update Source Server.
- Parameters:
updateSourceServerRequest-- Returns:
- Result of the UpdateSourceServer operation returned by the service.
- See Also:
-
updateSourceServer
default UpdateSourceServerResponse updateSourceServer(Consumer<UpdateSourceServerRequest.Builder> updateSourceServerRequest) throws UninitializedAccountException, ResourceNotFoundException, ConflictException, AwsServiceException, SdkClientException, MgnException Update Source Server.
This is a convenience which creates an instance of the
UpdateSourceServerRequest.Builderavoiding the need to create one manually viaUpdateSourceServerRequest.builder()- Parameters:
updateSourceServerRequest- AConsumerthat will call methods onUpdateSourceServerRequest.Builderto create a request.- Returns:
- Result of the UpdateSourceServer operation returned by the service.
- See Also:
-
updateSourceServerReplicationType
default UpdateSourceServerReplicationTypeResponse updateSourceServerReplicationType(UpdateSourceServerReplicationTypeRequest updateSourceServerReplicationTypeRequest) throws UninitializedAccountException, ResourceNotFoundException, ValidationException, ConflictException, AwsServiceException, SdkClientException, MgnException Allows you to change between the AGENT_BASED replication type and the SNAPSHOT_SHIPPING replication type.
- Parameters:
updateSourceServerReplicationTypeRequest-- Returns:
- Result of the UpdateSourceServerReplicationType operation returned by the service.
- See Also:
-
updateSourceServerReplicationType
default UpdateSourceServerReplicationTypeResponse updateSourceServerReplicationType(Consumer<UpdateSourceServerReplicationTypeRequest.Builder> updateSourceServerReplicationTypeRequest) throws UninitializedAccountException, ResourceNotFoundException, ValidationException, ConflictException, AwsServiceException, SdkClientException, MgnException Allows you to change between the AGENT_BASED replication type and the SNAPSHOT_SHIPPING replication type.
This is a convenience which creates an instance of the
UpdateSourceServerReplicationTypeRequest.Builderavoiding the need to create one manually viaUpdateSourceServerReplicationTypeRequest.builder()- Parameters:
updateSourceServerReplicationTypeRequest- AConsumerthat will call methods onUpdateSourceServerReplicationTypeRequest.Builderto create a request.- Returns:
- Result of the UpdateSourceServerReplicationType operation returned by the service.
- See Also:
-
updateWave
default UpdateWaveResponse updateWave(UpdateWaveRequest updateWaveRequest) throws UninitializedAccountException, ResourceNotFoundException, ConflictException, AwsServiceException, SdkClientException, MgnException Update wave.
- Parameters:
updateWaveRequest-- Returns:
- Result of the UpdateWave operation returned by the service.
- See Also:
-
updateWave
default UpdateWaveResponse updateWave(Consumer<UpdateWaveRequest.Builder> updateWaveRequest) throws UninitializedAccountException, ResourceNotFoundException, ConflictException, AwsServiceException, SdkClientException, MgnException Update wave.
This is a convenience which creates an instance of the
UpdateWaveRequest.Builderavoiding the need to create one manually viaUpdateWaveRequest.builder()- Parameters:
updateWaveRequest- AConsumerthat will call methods onUpdateWaveRequest.Builderto create a request.- Returns:
- Result of the UpdateWave operation returned by the service.
- See Also:
-
create
Create aMgnClientwith the region loaded from theDefaultAwsRegionProviderChainand credentials loaded from theDefaultCredentialsProvider. -
builder
Create a builder that can be used to configure and create aMgnClient. -
serviceMetadata
-
serviceClientConfiguration
Description copied from interface:SdkClientThe SDK service client configuration exposes client settings to the user, e.g., ClientOverrideConfiguration- Specified by:
serviceClientConfigurationin interfaceAwsClient- Specified by:
serviceClientConfigurationin interfaceSdkClient- Returns:
- SdkServiceClientConfiguration
-