@Generated(value="software.amazon.awssdk:codegen") @ThreadSafe public interface DrsAsyncClient extends AwsClient
builder() method.
AWS Elastic Disaster Recovery Service.
| Modifier and Type | Field and Description |
|---|---|
static String |
SERVICE_METADATA_ID
Value for looking up the service's metadata from the
ServiceMetadataProvider. |
static String |
SERVICE_NAME |
| Modifier and Type | Method and Description |
|---|---|
default CompletableFuture<AssociateSourceNetworkStackResponse> |
associateSourceNetworkStack(AssociateSourceNetworkStackRequest associateSourceNetworkStackRequest)
Associate a Source Network to an existing CloudFormation Stack and modify launch templates to use this network.
|
default CompletableFuture<AssociateSourceNetworkStackResponse> |
associateSourceNetworkStack(Consumer<AssociateSourceNetworkStackRequest.Builder> associateSourceNetworkStackRequest)
Associate a Source Network to an existing CloudFormation Stack and modify launch templates to use this network.
|
static DrsAsyncClientBuilder |
builder()
Create a builder that can be used to configure and create a
DrsAsyncClient. |
static DrsAsyncClient |
create()
Create a
DrsAsyncClient with the region loaded from the
DefaultAwsRegionProviderChain and credentials loaded from the
DefaultCredentialsProvider. |
default CompletableFuture<CreateExtendedSourceServerResponse> |
createExtendedSourceServer(Consumer<CreateExtendedSourceServerRequest.Builder> createExtendedSourceServerRequest)
Create an extended source server in the target Account based on the source server in staging account.
|
default CompletableFuture<CreateExtendedSourceServerResponse> |
createExtendedSourceServer(CreateExtendedSourceServerRequest createExtendedSourceServerRequest)
Create an extended source server in the target Account based on the source server in staging account.
|
default CompletableFuture<CreateLaunchConfigurationTemplateResponse> |
createLaunchConfigurationTemplate(Consumer<CreateLaunchConfigurationTemplateRequest.Builder> createLaunchConfigurationTemplateRequest)
Creates a new Launch Configuration Template.
|
default CompletableFuture<CreateLaunchConfigurationTemplateResponse> |
createLaunchConfigurationTemplate(CreateLaunchConfigurationTemplateRequest createLaunchConfigurationTemplateRequest)
Creates a new Launch Configuration Template.
|
default CompletableFuture<CreateReplicationConfigurationTemplateResponse> |
createReplicationConfigurationTemplate(Consumer<CreateReplicationConfigurationTemplateRequest.Builder> createReplicationConfigurationTemplateRequest)
Creates a new ReplicationConfigurationTemplate.
|
default CompletableFuture<CreateReplicationConfigurationTemplateResponse> |
createReplicationConfigurationTemplate(CreateReplicationConfigurationTemplateRequest createReplicationConfigurationTemplateRequest)
Creates a new ReplicationConfigurationTemplate.
|
default CompletableFuture<CreateSourceNetworkResponse> |
createSourceNetwork(Consumer<CreateSourceNetworkRequest.Builder> createSourceNetworkRequest)
Create a new Source Network resource for a provided VPC ID.
|
default CompletableFuture<CreateSourceNetworkResponse> |
createSourceNetwork(CreateSourceNetworkRequest createSourceNetworkRequest)
Create a new Source Network resource for a provided VPC ID.
|
default CompletableFuture<DeleteJobResponse> |
deleteJob(Consumer<DeleteJobRequest.Builder> deleteJobRequest)
Deletes a single Job by ID.
|
default CompletableFuture<DeleteJobResponse> |
deleteJob(DeleteJobRequest deleteJobRequest)
Deletes a single Job by ID.
|
default CompletableFuture<DeleteLaunchConfigurationTemplateResponse> |
deleteLaunchConfigurationTemplate(Consumer<DeleteLaunchConfigurationTemplateRequest.Builder> deleteLaunchConfigurationTemplateRequest)
Deletes a single Launch Configuration Template by ID.
|
default CompletableFuture<DeleteLaunchConfigurationTemplateResponse> |
deleteLaunchConfigurationTemplate(DeleteLaunchConfigurationTemplateRequest deleteLaunchConfigurationTemplateRequest)
Deletes a single Launch Configuration Template by ID.
|
default CompletableFuture<DeleteRecoveryInstanceResponse> |
deleteRecoveryInstance(Consumer<DeleteRecoveryInstanceRequest.Builder> deleteRecoveryInstanceRequest)
Deletes a single Recovery Instance by ID.
|
default CompletableFuture<DeleteRecoveryInstanceResponse> |
deleteRecoveryInstance(DeleteRecoveryInstanceRequest deleteRecoveryInstanceRequest)
Deletes a single Recovery Instance by ID.
|
default CompletableFuture<DeleteReplicationConfigurationTemplateResponse> |
deleteReplicationConfigurationTemplate(Consumer<DeleteReplicationConfigurationTemplateRequest.Builder> deleteReplicationConfigurationTemplateRequest)
Deletes a single Replication Configuration Template by ID
|
default CompletableFuture<DeleteReplicationConfigurationTemplateResponse> |
deleteReplicationConfigurationTemplate(DeleteReplicationConfigurationTemplateRequest deleteReplicationConfigurationTemplateRequest)
Deletes a single Replication Configuration Template by ID
|
default CompletableFuture<DeleteSourceNetworkResponse> |
deleteSourceNetwork(Consumer<DeleteSourceNetworkRequest.Builder> deleteSourceNetworkRequest)
Delete Source Network resource.
|
default CompletableFuture<DeleteSourceNetworkResponse> |
deleteSourceNetwork(DeleteSourceNetworkRequest deleteSourceNetworkRequest)
Delete Source Network resource.
|
default CompletableFuture<DeleteSourceServerResponse> |
deleteSourceServer(Consumer<DeleteSourceServerRequest.Builder> deleteSourceServerRequest)
Deletes a single Source Server by ID.
|
default CompletableFuture<DeleteSourceServerResponse> |
deleteSourceServer(DeleteSourceServerRequest deleteSourceServerRequest)
Deletes a single Source Server by ID.
|
default CompletableFuture<DescribeJobLogItemsResponse> |
describeJobLogItems(Consumer<DescribeJobLogItemsRequest.Builder> describeJobLogItemsRequest)
Retrieves a detailed Job log with pagination.
|
default CompletableFuture<DescribeJobLogItemsResponse> |
describeJobLogItems(DescribeJobLogItemsRequest describeJobLogItemsRequest)
Retrieves a detailed Job log with pagination.
|
default DescribeJobLogItemsPublisher |
describeJobLogItemsPaginator(Consumer<DescribeJobLogItemsRequest.Builder> describeJobLogItemsRequest)
Retrieves a detailed Job log with pagination.
|
default DescribeJobLogItemsPublisher |
describeJobLogItemsPaginator(DescribeJobLogItemsRequest describeJobLogItemsRequest)
Retrieves a detailed Job log with pagination.
|
default CompletableFuture<DescribeJobsResponse> |
describeJobs(Consumer<DescribeJobsRequest.Builder> describeJobsRequest)
Returns a list of Jobs.
|
default CompletableFuture<DescribeJobsResponse> |
describeJobs(DescribeJobsRequest describeJobsRequest)
Returns a list of Jobs.
|
default DescribeJobsPublisher |
describeJobsPaginator(Consumer<DescribeJobsRequest.Builder> describeJobsRequest)
Returns a list of Jobs.
|
default DescribeJobsPublisher |
describeJobsPaginator(DescribeJobsRequest describeJobsRequest)
Returns a list of Jobs.
|
default CompletableFuture<DescribeLaunchConfigurationTemplatesResponse> |
describeLaunchConfigurationTemplates(Consumer<DescribeLaunchConfigurationTemplatesRequest.Builder> describeLaunchConfigurationTemplatesRequest)
Lists all Launch Configuration Templates, filtered by Launch Configuration Template IDs
|
default CompletableFuture<DescribeLaunchConfigurationTemplatesResponse> |
describeLaunchConfigurationTemplates(DescribeLaunchConfigurationTemplatesRequest describeLaunchConfigurationTemplatesRequest)
Lists all Launch Configuration Templates, filtered by Launch Configuration Template IDs
|
default DescribeLaunchConfigurationTemplatesPublisher |
describeLaunchConfigurationTemplatesPaginator(Consumer<DescribeLaunchConfigurationTemplatesRequest.Builder> describeLaunchConfigurationTemplatesRequest)
Lists all Launch Configuration Templates, filtered by Launch Configuration Template IDs
|
default DescribeLaunchConfigurationTemplatesPublisher |
describeLaunchConfigurationTemplatesPaginator(DescribeLaunchConfigurationTemplatesRequest describeLaunchConfigurationTemplatesRequest)
Lists all Launch Configuration Templates, filtered by Launch Configuration Template IDs
|
default CompletableFuture<DescribeRecoveryInstancesResponse> |
describeRecoveryInstances(Consumer<DescribeRecoveryInstancesRequest.Builder> describeRecoveryInstancesRequest)
Lists all Recovery Instances or multiple Recovery Instances by ID.
|
default CompletableFuture<DescribeRecoveryInstancesResponse> |
describeRecoveryInstances(DescribeRecoveryInstancesRequest describeRecoveryInstancesRequest)
Lists all Recovery Instances or multiple Recovery Instances by ID.
|
default DescribeRecoveryInstancesPublisher |
describeRecoveryInstancesPaginator(Consumer<DescribeRecoveryInstancesRequest.Builder> describeRecoveryInstancesRequest)
Lists all Recovery Instances or multiple Recovery Instances by ID.
|
default DescribeRecoveryInstancesPublisher |
describeRecoveryInstancesPaginator(DescribeRecoveryInstancesRequest describeRecoveryInstancesRequest)
Lists all Recovery Instances or multiple Recovery Instances by ID.
|
default CompletableFuture<DescribeRecoverySnapshotsResponse> |
describeRecoverySnapshots(Consumer<DescribeRecoverySnapshotsRequest.Builder> describeRecoverySnapshotsRequest)
Lists all Recovery Snapshots for a single Source Server.
|
default CompletableFuture<DescribeRecoverySnapshotsResponse> |
describeRecoverySnapshots(DescribeRecoverySnapshotsRequest describeRecoverySnapshotsRequest)
Lists all Recovery Snapshots for a single Source Server.
|
default DescribeRecoverySnapshotsPublisher |
describeRecoverySnapshotsPaginator(Consumer<DescribeRecoverySnapshotsRequest.Builder> describeRecoverySnapshotsRequest)
Lists all Recovery Snapshots for a single Source Server.
|
default DescribeRecoverySnapshotsPublisher |
describeRecoverySnapshotsPaginator(DescribeRecoverySnapshotsRequest describeRecoverySnapshotsRequest)
Lists all Recovery Snapshots for a single Source Server.
|
default CompletableFuture<DescribeReplicationConfigurationTemplatesResponse> |
describeReplicationConfigurationTemplates(Consumer<DescribeReplicationConfigurationTemplatesRequest.Builder> describeReplicationConfigurationTemplatesRequest)
Lists all ReplicationConfigurationTemplates, filtered by Source Server IDs.
|
default CompletableFuture<DescribeReplicationConfigurationTemplatesResponse> |
describeReplicationConfigurationTemplates(DescribeReplicationConfigurationTemplatesRequest describeReplicationConfigurationTemplatesRequest)
Lists all ReplicationConfigurationTemplates, filtered by Source Server IDs.
|
default DescribeReplicationConfigurationTemplatesPublisher |
describeReplicationConfigurationTemplatesPaginator(Consumer<DescribeReplicationConfigurationTemplatesRequest.Builder> describeReplicationConfigurationTemplatesRequest)
Lists all ReplicationConfigurationTemplates, filtered by Source Server IDs.
|
default DescribeReplicationConfigurationTemplatesPublisher |
describeReplicationConfigurationTemplatesPaginator(DescribeReplicationConfigurationTemplatesRequest describeReplicationConfigurationTemplatesRequest)
Lists all ReplicationConfigurationTemplates, filtered by Source Server IDs.
|
default CompletableFuture<DescribeSourceNetworksResponse> |
describeSourceNetworks(Consumer<DescribeSourceNetworksRequest.Builder> describeSourceNetworksRequest)
Lists all Source Networks or multiple Source Networks filtered by ID.
|
default CompletableFuture<DescribeSourceNetworksResponse> |
describeSourceNetworks(DescribeSourceNetworksRequest describeSourceNetworksRequest)
Lists all Source Networks or multiple Source Networks filtered by ID.
|
default DescribeSourceNetworksPublisher |
describeSourceNetworksPaginator(Consumer<DescribeSourceNetworksRequest.Builder> describeSourceNetworksRequest)
Lists all Source Networks or multiple Source Networks filtered by ID.
|
default DescribeSourceNetworksPublisher |
describeSourceNetworksPaginator(DescribeSourceNetworksRequest describeSourceNetworksRequest)
Lists all Source Networks or multiple Source Networks filtered by ID.
|
default CompletableFuture<DescribeSourceServersResponse> |
describeSourceServers(Consumer<DescribeSourceServersRequest.Builder> describeSourceServersRequest)
Lists all Source Servers or multiple Source Servers filtered by ID.
|
default CompletableFuture<DescribeSourceServersResponse> |
describeSourceServers(DescribeSourceServersRequest describeSourceServersRequest)
Lists all Source Servers or multiple Source Servers filtered by ID.
|
default DescribeSourceServersPublisher |
describeSourceServersPaginator(Consumer<DescribeSourceServersRequest.Builder> describeSourceServersRequest)
Lists all Source Servers or multiple Source Servers filtered by ID.
|
default DescribeSourceServersPublisher |
describeSourceServersPaginator(DescribeSourceServersRequest describeSourceServersRequest)
Lists all Source Servers or multiple Source Servers filtered by ID.
|
default CompletableFuture<DisconnectRecoveryInstanceResponse> |
disconnectRecoveryInstance(Consumer<DisconnectRecoveryInstanceRequest.Builder> disconnectRecoveryInstanceRequest)
Disconnect a Recovery Instance from Elastic Disaster Recovery.
|
default CompletableFuture<DisconnectRecoveryInstanceResponse> |
disconnectRecoveryInstance(DisconnectRecoveryInstanceRequest disconnectRecoveryInstanceRequest)
Disconnect a Recovery Instance from Elastic Disaster Recovery.
|
default CompletableFuture<DisconnectSourceServerResponse> |
disconnectSourceServer(Consumer<DisconnectSourceServerRequest.Builder> disconnectSourceServerRequest)
Disconnects a specific Source Server from Elastic Disaster Recovery.
|
default CompletableFuture<DisconnectSourceServerResponse> |
disconnectSourceServer(DisconnectSourceServerRequest disconnectSourceServerRequest)
Disconnects a specific Source Server from Elastic Disaster Recovery.
|
default CompletableFuture<ExportSourceNetworkCfnTemplateResponse> |
exportSourceNetworkCfnTemplate(Consumer<ExportSourceNetworkCfnTemplateRequest.Builder> exportSourceNetworkCfnTemplateRequest)
Export the Source Network CloudFormation template to an S3 bucket.
|
default CompletableFuture<ExportSourceNetworkCfnTemplateResponse> |
exportSourceNetworkCfnTemplate(ExportSourceNetworkCfnTemplateRequest exportSourceNetworkCfnTemplateRequest)
Export the Source Network CloudFormation template to an S3 bucket.
|
default CompletableFuture<GetFailbackReplicationConfigurationResponse> |
getFailbackReplicationConfiguration(Consumer<GetFailbackReplicationConfigurationRequest.Builder> getFailbackReplicationConfigurationRequest)
Lists all Failback ReplicationConfigurations, filtered by Recovery Instance ID.
|
default CompletableFuture<GetFailbackReplicationConfigurationResponse> |
getFailbackReplicationConfiguration(GetFailbackReplicationConfigurationRequest getFailbackReplicationConfigurationRequest)
Lists all Failback ReplicationConfigurations, filtered by Recovery Instance ID.
|
default CompletableFuture<GetLaunchConfigurationResponse> |
getLaunchConfiguration(Consumer<GetLaunchConfigurationRequest.Builder> getLaunchConfigurationRequest)
Gets a LaunchConfiguration, filtered by Source Server IDs.
|
default CompletableFuture<GetLaunchConfigurationResponse> |
getLaunchConfiguration(GetLaunchConfigurationRequest getLaunchConfigurationRequest)
Gets a LaunchConfiguration, filtered by Source Server IDs.
|
default CompletableFuture<GetReplicationConfigurationResponse> |
getReplicationConfiguration(Consumer<GetReplicationConfigurationRequest.Builder> getReplicationConfigurationRequest)
Gets a ReplicationConfiguration, filtered by Source Server ID.
|
default CompletableFuture<GetReplicationConfigurationResponse> |
getReplicationConfiguration(GetReplicationConfigurationRequest getReplicationConfigurationRequest)
Gets a ReplicationConfiguration, filtered by Source Server ID.
|
default CompletableFuture<InitializeServiceResponse> |
initializeService(Consumer<InitializeServiceRequest.Builder> initializeServiceRequest)
Initialize Elastic Disaster Recovery.
|
default CompletableFuture<InitializeServiceResponse> |
initializeService(InitializeServiceRequest initializeServiceRequest)
Initialize Elastic Disaster Recovery.
|
default CompletableFuture<ListExtensibleSourceServersResponse> |
listExtensibleSourceServers(Consumer<ListExtensibleSourceServersRequest.Builder> listExtensibleSourceServersRequest)
Returns a list of source servers on a staging account that are extensible, which means that: a.
|
default CompletableFuture<ListExtensibleSourceServersResponse> |
listExtensibleSourceServers(ListExtensibleSourceServersRequest listExtensibleSourceServersRequest)
Returns a list of source servers on a staging account that are extensible, which means that: a.
|
default ListExtensibleSourceServersPublisher |
listExtensibleSourceServersPaginator(Consumer<ListExtensibleSourceServersRequest.Builder> listExtensibleSourceServersRequest)
Returns a list of source servers on a staging account that are extensible, which means that: a.
|
default ListExtensibleSourceServersPublisher |
listExtensibleSourceServersPaginator(ListExtensibleSourceServersRequest listExtensibleSourceServersRequest)
Returns a list of source servers on a staging account that are extensible, which means that: a.
|
default CompletableFuture<ListStagingAccountsResponse> |
listStagingAccounts(Consumer<ListStagingAccountsRequest.Builder> listStagingAccountsRequest)
Returns an array of staging accounts for existing extended source servers.
|
default CompletableFuture<ListStagingAccountsResponse> |
listStagingAccounts(ListStagingAccountsRequest listStagingAccountsRequest)
Returns an array of staging accounts for existing extended source servers.
|
default ListStagingAccountsPublisher |
listStagingAccountsPaginator(Consumer<ListStagingAccountsRequest.Builder> listStagingAccountsRequest)
Returns an array of staging accounts for existing extended source servers.
|
default ListStagingAccountsPublisher |
listStagingAccountsPaginator(ListStagingAccountsRequest listStagingAccountsRequest)
Returns an array of staging accounts for existing extended source servers.
|
default CompletableFuture<ListTagsForResourceResponse> |
listTagsForResource(Consumer<ListTagsForResourceRequest.Builder> listTagsForResourceRequest)
List all tags for your Elastic Disaster Recovery resources.
|
default CompletableFuture<ListTagsForResourceResponse> |
listTagsForResource(ListTagsForResourceRequest listTagsForResourceRequest)
List all tags for your Elastic Disaster Recovery resources.
|
default CompletableFuture<RetryDataReplicationResponse> |
retryDataReplication(Consumer<RetryDataReplicationRequest.Builder> retryDataReplicationRequest)
Deprecated.
WARNING: RetryDataReplication is deprecated
|
default CompletableFuture<RetryDataReplicationResponse> |
retryDataReplication(RetryDataReplicationRequest retryDataReplicationRequest)
Deprecated.
WARNING: RetryDataReplication is deprecated
|
default CompletableFuture<ReverseReplicationResponse> |
reverseReplication(Consumer<ReverseReplicationRequest.Builder> reverseReplicationRequest)
Start replication to origin / target region - applies only to protected instances that originated in EC2.
|
default CompletableFuture<ReverseReplicationResponse> |
reverseReplication(ReverseReplicationRequest reverseReplicationRequest)
Start replication to origin / target region - applies only to protected instances that originated in EC2.
|
default DrsServiceClientConfiguration |
serviceClientConfiguration() |
default CompletableFuture<StartFailbackLaunchResponse> |
startFailbackLaunch(Consumer<StartFailbackLaunchRequest.Builder> startFailbackLaunchRequest)
Initiates a Job for launching the machine that is being failed back to from the specified Recovery Instance.
|
default CompletableFuture<StartFailbackLaunchResponse> |
startFailbackLaunch(StartFailbackLaunchRequest startFailbackLaunchRequest)
Initiates a Job for launching the machine that is being failed back to from the specified Recovery Instance.
|
default CompletableFuture<StartRecoveryResponse> |
startRecovery(Consumer<StartRecoveryRequest.Builder> startRecoveryRequest)
Launches Recovery Instances for the specified Source Servers.
|
default CompletableFuture<StartRecoveryResponse> |
startRecovery(StartRecoveryRequest startRecoveryRequest)
Launches Recovery Instances for the specified Source Servers.
|
default CompletableFuture<StartReplicationResponse> |
startReplication(Consumer<StartReplicationRequest.Builder> startReplicationRequest)
Starts replication for a stopped Source Server.
|
default CompletableFuture<StartReplicationResponse> |
startReplication(StartReplicationRequest startReplicationRequest)
Starts replication for a stopped Source Server.
|
default CompletableFuture<StartSourceNetworkRecoveryResponse> |
startSourceNetworkRecovery(Consumer<StartSourceNetworkRecoveryRequest.Builder> startSourceNetworkRecoveryRequest)
Deploy VPC for the specified Source Network and modify launch templates to use this network.
|
default CompletableFuture<StartSourceNetworkRecoveryResponse> |
startSourceNetworkRecovery(StartSourceNetworkRecoveryRequest startSourceNetworkRecoveryRequest)
Deploy VPC for the specified Source Network and modify launch templates to use this network.
|
default CompletableFuture<StartSourceNetworkReplicationResponse> |
startSourceNetworkReplication(Consumer<StartSourceNetworkReplicationRequest.Builder> startSourceNetworkReplicationRequest)
Starts replication for a Source Network.
|
default CompletableFuture<StartSourceNetworkReplicationResponse> |
startSourceNetworkReplication(StartSourceNetworkReplicationRequest startSourceNetworkReplicationRequest)
Starts replication for a Source Network.
|
default CompletableFuture<StopFailbackResponse> |
stopFailback(Consumer<StopFailbackRequest.Builder> stopFailbackRequest)
Stops the failback process for a specified Recovery Instance.
|
default CompletableFuture<StopFailbackResponse> |
stopFailback(StopFailbackRequest stopFailbackRequest)
Stops the failback process for a specified Recovery Instance.
|
default CompletableFuture<StopReplicationResponse> |
stopReplication(Consumer<StopReplicationRequest.Builder> stopReplicationRequest)
Stops replication for a Source Server.
|
default CompletableFuture<StopReplicationResponse> |
stopReplication(StopReplicationRequest stopReplicationRequest)
Stops replication for a Source Server.
|
default CompletableFuture<StopSourceNetworkReplicationResponse> |
stopSourceNetworkReplication(Consumer<StopSourceNetworkReplicationRequest.Builder> stopSourceNetworkReplicationRequest)
Stops replication for a Source Network.
|
default CompletableFuture<StopSourceNetworkReplicationResponse> |
stopSourceNetworkReplication(StopSourceNetworkReplicationRequest stopSourceNetworkReplicationRequest)
Stops replication for a Source Network.
|
default CompletableFuture<TagResourceResponse> |
tagResource(Consumer<TagResourceRequest.Builder> tagResourceRequest)
Adds or overwrites only the specified tags for the specified Elastic Disaster Recovery resource or resources.
|
default CompletableFuture<TagResourceResponse> |
tagResource(TagResourceRequest tagResourceRequest)
Adds or overwrites only the specified tags for the specified Elastic Disaster Recovery resource or resources.
|
default CompletableFuture<TerminateRecoveryInstancesResponse> |
terminateRecoveryInstances(Consumer<TerminateRecoveryInstancesRequest.Builder> terminateRecoveryInstancesRequest)
Initiates a Job for terminating the EC2 resources associated with the specified Recovery Instances, and then will
delete the Recovery Instances from the Elastic Disaster Recovery service.
|
default CompletableFuture<TerminateRecoveryInstancesResponse> |
terminateRecoveryInstances(TerminateRecoveryInstancesRequest terminateRecoveryInstancesRequest)
Initiates a Job for terminating the EC2 resources associated with the specified Recovery Instances, and then will
delete the Recovery Instances from the Elastic Disaster Recovery service.
|
default CompletableFuture<UntagResourceResponse> |
untagResource(Consumer<UntagResourceRequest.Builder> untagResourceRequest)
Deletes the specified set of tags from the specified set of Elastic Disaster Recovery resources.
|
default CompletableFuture<UntagResourceResponse> |
untagResource(UntagResourceRequest untagResourceRequest)
Deletes the specified set of tags from the specified set of Elastic Disaster Recovery resources.
|
default CompletableFuture<UpdateFailbackReplicationConfigurationResponse> |
updateFailbackReplicationConfiguration(Consumer<UpdateFailbackReplicationConfigurationRequest.Builder> updateFailbackReplicationConfigurationRequest)
Allows you to update the failback replication configuration of a Recovery Instance by ID.
|
default CompletableFuture<UpdateFailbackReplicationConfigurationResponse> |
updateFailbackReplicationConfiguration(UpdateFailbackReplicationConfigurationRequest updateFailbackReplicationConfigurationRequest)
Allows you to update the failback replication configuration of a Recovery Instance by ID.
|
default CompletableFuture<UpdateLaunchConfigurationResponse> |
updateLaunchConfiguration(Consumer<UpdateLaunchConfigurationRequest.Builder> updateLaunchConfigurationRequest)
Updates a LaunchConfiguration by Source Server ID.
|
default CompletableFuture<UpdateLaunchConfigurationResponse> |
updateLaunchConfiguration(UpdateLaunchConfigurationRequest updateLaunchConfigurationRequest)
Updates a LaunchConfiguration by Source Server ID.
|
default CompletableFuture<UpdateLaunchConfigurationTemplateResponse> |
updateLaunchConfigurationTemplate(Consumer<UpdateLaunchConfigurationTemplateRequest.Builder> updateLaunchConfigurationTemplateRequest)
Updates an existing Launch Configuration Template by ID.
|
default CompletableFuture<UpdateLaunchConfigurationTemplateResponse> |
updateLaunchConfigurationTemplate(UpdateLaunchConfigurationTemplateRequest updateLaunchConfigurationTemplateRequest)
Updates an existing Launch Configuration Template by ID.
|
default CompletableFuture<UpdateReplicationConfigurationResponse> |
updateReplicationConfiguration(Consumer<UpdateReplicationConfigurationRequest.Builder> updateReplicationConfigurationRequest)
Allows you to update a ReplicationConfiguration by Source Server ID.
|
default CompletableFuture<UpdateReplicationConfigurationResponse> |
updateReplicationConfiguration(UpdateReplicationConfigurationRequest updateReplicationConfigurationRequest)
Allows you to update a ReplicationConfiguration by Source Server ID.
|
default CompletableFuture<UpdateReplicationConfigurationTemplateResponse> |
updateReplicationConfigurationTemplate(Consumer<UpdateReplicationConfigurationTemplateRequest.Builder> updateReplicationConfigurationTemplateRequest)
Updates a ReplicationConfigurationTemplate by ID.
|
default CompletableFuture<UpdateReplicationConfigurationTemplateResponse> |
updateReplicationConfigurationTemplate(UpdateReplicationConfigurationTemplateRequest updateReplicationConfigurationTemplateRequest)
Updates a ReplicationConfigurationTemplate by ID.
|
serviceNameclosestatic final String SERVICE_NAME
static final String SERVICE_METADATA_ID
ServiceMetadataProvider.default CompletableFuture<AssociateSourceNetworkStackResponse> associateSourceNetworkStack(AssociateSourceNetworkStackRequest associateSourceNetworkStackRequest)
Associate a Source Network to an existing CloudFormation Stack and modify launch templates to use this network. Can be used for reverting to previously deployed CloudFormation stacks.
associateSourceNetworkStackRequest - default CompletableFuture<AssociateSourceNetworkStackResponse> associateSourceNetworkStack(Consumer<AssociateSourceNetworkStackRequest.Builder> associateSourceNetworkStackRequest)
Associate a Source Network to an existing CloudFormation Stack and modify launch templates to use this network. Can be used for reverting to previously deployed CloudFormation stacks.
This is a convenience which creates an instance of the AssociateSourceNetworkStackRequest.Builder
avoiding the need to create one manually via AssociateSourceNetworkStackRequest.builder()
associateSourceNetworkStackRequest - A Consumer that will call methods on
AssociateSourceNetworkStackRequest.Builder to create a
request.default CompletableFuture<CreateExtendedSourceServerResponse> createExtendedSourceServer(CreateExtendedSourceServerRequest createExtendedSourceServerRequest)
Create an extended source server in the target Account based on the source server in staging account.
createExtendedSourceServerRequest - default CompletableFuture<CreateExtendedSourceServerResponse> createExtendedSourceServer(Consumer<CreateExtendedSourceServerRequest.Builder> createExtendedSourceServerRequest)
Create an extended source server in the target Account based on the source server in staging account.
This is a convenience which creates an instance of the CreateExtendedSourceServerRequest.Builder avoiding
the need to create one manually via CreateExtendedSourceServerRequest.builder()
createExtendedSourceServerRequest - A Consumer that will call methods on
CreateExtendedSourceServerRequest.Builder to create a
request.default CompletableFuture<CreateLaunchConfigurationTemplateResponse> createLaunchConfigurationTemplate(CreateLaunchConfigurationTemplateRequest createLaunchConfigurationTemplateRequest)
Creates a new Launch Configuration Template.
createLaunchConfigurationTemplateRequest - default CompletableFuture<CreateLaunchConfigurationTemplateResponse> createLaunchConfigurationTemplate(Consumer<CreateLaunchConfigurationTemplateRequest.Builder> createLaunchConfigurationTemplateRequest)
Creates a new Launch Configuration Template.
This is a convenience which creates an instance of the CreateLaunchConfigurationTemplateRequest.Builder
avoiding the need to create one manually via CreateLaunchConfigurationTemplateRequest.builder()
createLaunchConfigurationTemplateRequest - A Consumer that will call methods on
CreateLaunchConfigurationTemplateRequest.Builder to
create a request.default CompletableFuture<CreateReplicationConfigurationTemplateResponse> createReplicationConfigurationTemplate(CreateReplicationConfigurationTemplateRequest createReplicationConfigurationTemplateRequest)
Creates a new ReplicationConfigurationTemplate.
createReplicationConfigurationTemplateRequest - default CompletableFuture<CreateReplicationConfigurationTemplateResponse> createReplicationConfigurationTemplate(Consumer<CreateReplicationConfigurationTemplateRequest.Builder> createReplicationConfigurationTemplateRequest)
Creates a new ReplicationConfigurationTemplate.
This is a convenience which creates an instance of the
CreateReplicationConfigurationTemplateRequest.Builder avoiding the need to create one manually via
CreateReplicationConfigurationTemplateRequest.builder()
createReplicationConfigurationTemplateRequest - A Consumer that will call methods on
CreateReplicationConfigurationTemplateRequest.Builder to
create a request.default CompletableFuture<CreateSourceNetworkResponse> createSourceNetwork(CreateSourceNetworkRequest createSourceNetworkRequest)
Create a new Source Network resource for a provided VPC ID.
createSourceNetworkRequest - default CompletableFuture<CreateSourceNetworkResponse> createSourceNetwork(Consumer<CreateSourceNetworkRequest.Builder> createSourceNetworkRequest)
Create a new Source Network resource for a provided VPC ID.
This is a convenience which creates an instance of the CreateSourceNetworkRequest.Builder avoiding the
need to create one manually via CreateSourceNetworkRequest.builder()
createSourceNetworkRequest - A Consumer that will call methods on
CreateSourceNetworkRequest.Builder to create a request.default CompletableFuture<DeleteJobResponse> deleteJob(DeleteJobRequest deleteJobRequest)
Deletes a single Job by ID.
deleteJobRequest - default CompletableFuture<DeleteJobResponse> deleteJob(Consumer<DeleteJobRequest.Builder> deleteJobRequest)
Deletes a single Job by ID.
This is a convenience which creates an instance of the DeleteJobRequest.Builder avoiding the need to
create one manually via DeleteJobRequest.builder()
deleteJobRequest - A Consumer that will call methods on
DeleteJobRequest.Builder to create a request.default CompletableFuture<DeleteLaunchConfigurationTemplateResponse> deleteLaunchConfigurationTemplate(DeleteLaunchConfigurationTemplateRequest deleteLaunchConfigurationTemplateRequest)
Deletes a single Launch Configuration Template by ID.
deleteLaunchConfigurationTemplateRequest - default CompletableFuture<DeleteLaunchConfigurationTemplateResponse> deleteLaunchConfigurationTemplate(Consumer<DeleteLaunchConfigurationTemplateRequest.Builder> deleteLaunchConfigurationTemplateRequest)
Deletes a single Launch Configuration Template by ID.
This is a convenience which creates an instance of the DeleteLaunchConfigurationTemplateRequest.Builder
avoiding the need to create one manually via DeleteLaunchConfigurationTemplateRequest.builder()
deleteLaunchConfigurationTemplateRequest - A Consumer that will call methods on
DeleteLaunchConfigurationTemplateRequest.Builder to
create a request.default CompletableFuture<DeleteRecoveryInstanceResponse> deleteRecoveryInstance(DeleteRecoveryInstanceRequest deleteRecoveryInstanceRequest)
Deletes a single Recovery Instance by ID. This deletes the Recovery Instance resource from Elastic Disaster Recovery. The Recovery Instance must be disconnected first in order to delete it.
deleteRecoveryInstanceRequest - default CompletableFuture<DeleteRecoveryInstanceResponse> deleteRecoveryInstance(Consumer<DeleteRecoveryInstanceRequest.Builder> deleteRecoveryInstanceRequest)
Deletes a single Recovery Instance by ID. This deletes the Recovery Instance resource from Elastic Disaster Recovery. The Recovery Instance must be disconnected first in order to delete it.
This is a convenience which creates an instance of the DeleteRecoveryInstanceRequest.Builder avoiding the
need to create one manually via DeleteRecoveryInstanceRequest.builder()
deleteRecoveryInstanceRequest - A Consumer that will call methods on
DeleteRecoveryInstanceRequest.Builder to create a
request.default CompletableFuture<DeleteReplicationConfigurationTemplateResponse> deleteReplicationConfigurationTemplate(DeleteReplicationConfigurationTemplateRequest deleteReplicationConfigurationTemplateRequest)
Deletes a single Replication Configuration Template by ID
deleteReplicationConfigurationTemplateRequest - default CompletableFuture<DeleteReplicationConfigurationTemplateResponse> deleteReplicationConfigurationTemplate(Consumer<DeleteReplicationConfigurationTemplateRequest.Builder> deleteReplicationConfigurationTemplateRequest)
Deletes a single Replication Configuration Template by ID
This is a convenience which creates an instance of the
DeleteReplicationConfigurationTemplateRequest.Builder avoiding the need to create one manually via
DeleteReplicationConfigurationTemplateRequest.builder()
deleteReplicationConfigurationTemplateRequest - A Consumer that will call methods on
DeleteReplicationConfigurationTemplateRequest.Builder to
create a request.default CompletableFuture<DeleteSourceNetworkResponse> deleteSourceNetwork(DeleteSourceNetworkRequest deleteSourceNetworkRequest)
Delete Source Network resource.
deleteSourceNetworkRequest - default CompletableFuture<DeleteSourceNetworkResponse> deleteSourceNetwork(Consumer<DeleteSourceNetworkRequest.Builder> deleteSourceNetworkRequest)
Delete Source Network resource.
This is a convenience which creates an instance of the DeleteSourceNetworkRequest.Builder avoiding the
need to create one manually via DeleteSourceNetworkRequest.builder()
deleteSourceNetworkRequest - A Consumer that will call methods on
DeleteSourceNetworkRequest.Builder to create a request.default CompletableFuture<DeleteSourceServerResponse> deleteSourceServer(DeleteSourceServerRequest deleteSourceServerRequest)
Deletes a single Source Server by ID. The Source Server must be disconnected first.
deleteSourceServerRequest - default CompletableFuture<DeleteSourceServerResponse> deleteSourceServer(Consumer<DeleteSourceServerRequest.Builder> deleteSourceServerRequest)
Deletes a single Source Server by ID. The Source Server must be disconnected first.
This is a convenience which creates an instance of the DeleteSourceServerRequest.Builder avoiding the
need to create one manually via DeleteSourceServerRequest.builder()
deleteSourceServerRequest - A Consumer that will call methods on
DeleteSourceServerRequest.Builder to create a request.default CompletableFuture<DescribeJobLogItemsResponse> describeJobLogItems(DescribeJobLogItemsRequest describeJobLogItemsRequest)
Retrieves a detailed Job log with pagination.
describeJobLogItemsRequest - default CompletableFuture<DescribeJobLogItemsResponse> describeJobLogItems(Consumer<DescribeJobLogItemsRequest.Builder> describeJobLogItemsRequest)
Retrieves a detailed Job log with pagination.
This is a convenience which creates an instance of the DescribeJobLogItemsRequest.Builder avoiding the
need to create one manually via DescribeJobLogItemsRequest.builder()
describeJobLogItemsRequest - A Consumer that will call methods on
DescribeJobLogItemsRequest.Builder to create a request.default DescribeJobLogItemsPublisher describeJobLogItemsPaginator(DescribeJobLogItemsRequest describeJobLogItemsRequest)
Retrieves a detailed Job log with pagination.
This is a variant of
describeJobLogItems(software.amazon.awssdk.services.drs.model.DescribeJobLogItemsRequest) operation. The
return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will
internally handle making service calls for you.
When the operation is called, an instance of this class is returned. At this point, no service calls are made yet
and so there is no guarantee that the request is valid. If there are errors in your request, you will see the
failures only after you start streaming the data. The subscribe method should be called as a request to start
streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe
method will result in a new Subscription i.e., a new contract to stream data from the
starting request.
The following are few ways to use the response class:
1) Using the subscribe helper method
software.amazon.awssdk.services.drs.paginators.DescribeJobLogItemsPublisher publisher = client.describeJobLogItemsPaginator(request);
CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.drs.paginators.DescribeJobLogItemsPublisher publisher = client.describeJobLogItemsPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.drs.model.DescribeJobLogItemsResponse>() {
public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
public void onNext(software.amazon.awssdk.services.drs.model.DescribeJobLogItemsResponse response) { //... };
});
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.
Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
describeJobLogItems(software.amazon.awssdk.services.drs.model.DescribeJobLogItemsRequest) operation.
describeJobLogItemsRequest - default DescribeJobLogItemsPublisher describeJobLogItemsPaginator(Consumer<DescribeJobLogItemsRequest.Builder> describeJobLogItemsRequest)
Retrieves a detailed Job log with pagination.
This is a variant of
describeJobLogItems(software.amazon.awssdk.services.drs.model.DescribeJobLogItemsRequest) operation. The
return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will
internally handle making service calls for you.
When the operation is called, an instance of this class is returned. At this point, no service calls are made yet
and so there is no guarantee that the request is valid. If there are errors in your request, you will see the
failures only after you start streaming the data. The subscribe method should be called as a request to start
streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe
method will result in a new Subscription i.e., a new contract to stream data from the
starting request.
The following are few ways to use the response class:
1) Using the subscribe helper method
software.amazon.awssdk.services.drs.paginators.DescribeJobLogItemsPublisher publisher = client.describeJobLogItemsPaginator(request);
CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.drs.paginators.DescribeJobLogItemsPublisher publisher = client.describeJobLogItemsPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.drs.model.DescribeJobLogItemsResponse>() {
public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
public void onNext(software.amazon.awssdk.services.drs.model.DescribeJobLogItemsResponse response) { //... };
});
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.
Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
describeJobLogItems(software.amazon.awssdk.services.drs.model.DescribeJobLogItemsRequest) operation.
This is a convenience which creates an instance of the DescribeJobLogItemsRequest.Builder avoiding the
need to create one manually via DescribeJobLogItemsRequest.builder()
describeJobLogItemsRequest - A Consumer that will call methods on
DescribeJobLogItemsRequest.Builder to create a request.default CompletableFuture<DescribeJobsResponse> describeJobs(DescribeJobsRequest describeJobsRequest)
Returns a list of Jobs. Use the JobsID and fromDate and toDate filters to limit which jobs are returned. The response is sorted by creationDataTime - latest date first. Jobs are created by the StartRecovery, TerminateRecoveryInstances and StartFailbackLaunch 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.
describeJobsRequest - default CompletableFuture<DescribeJobsResponse> describeJobs(Consumer<DescribeJobsRequest.Builder> describeJobsRequest)
Returns a list of Jobs. Use the JobsID and fromDate and toDate filters to limit which jobs are returned. The response is sorted by creationDataTime - latest date first. Jobs are created by the StartRecovery, TerminateRecoveryInstances and StartFailbackLaunch 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.Builder avoiding the need to
create one manually via DescribeJobsRequest.builder()
describeJobsRequest - A Consumer that will call methods on
DescribeJobsRequest.Builder to create a request.default DescribeJobsPublisher describeJobsPaginator(DescribeJobsRequest describeJobsRequest)
Returns a list of Jobs. Use the JobsID and fromDate and toDate filters to limit which jobs are returned. The response is sorted by creationDataTime - latest date first. Jobs are created by the StartRecovery, TerminateRecoveryInstances and StartFailbackLaunch 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.drs.model.DescribeJobsRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages.
SDK will internally handle making service calls for you.
When the operation is called, an instance of this class is returned. At this point, no service calls are made yet
and so there is no guarantee that the request is valid. If there are errors in your request, you will see the
failures only after you start streaming the data. The subscribe method should be called as a request to start
streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe
method will result in a new Subscription i.e., a new contract to stream data from the
starting request.
The following are few ways to use the response class:
1) Using the subscribe helper method
software.amazon.awssdk.services.drs.paginators.DescribeJobsPublisher publisher = client.describeJobsPaginator(request);
CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.drs.paginators.DescribeJobsPublisher publisher = client.describeJobsPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.drs.model.DescribeJobsResponse>() {
public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
public void onNext(software.amazon.awssdk.services.drs.model.DescribeJobsResponse response) { //... };
});
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.
Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
describeJobs(software.amazon.awssdk.services.drs.model.DescribeJobsRequest) operation.
describeJobsRequest - default DescribeJobsPublisher describeJobsPaginator(Consumer<DescribeJobsRequest.Builder> describeJobsRequest)
Returns a list of Jobs. Use the JobsID and fromDate and toDate filters to limit which jobs are returned. The response is sorted by creationDataTime - latest date first. Jobs are created by the StartRecovery, TerminateRecoveryInstances and StartFailbackLaunch 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.drs.model.DescribeJobsRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages.
SDK will internally handle making service calls for you.
When the operation is called, an instance of this class is returned. At this point, no service calls are made yet
and so there is no guarantee that the request is valid. If there are errors in your request, you will see the
failures only after you start streaming the data. The subscribe method should be called as a request to start
streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe
method will result in a new Subscription i.e., a new contract to stream data from the
starting request.
The following are few ways to use the response class:
1) Using the subscribe helper method
software.amazon.awssdk.services.drs.paginators.DescribeJobsPublisher publisher = client.describeJobsPaginator(request);
CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.drs.paginators.DescribeJobsPublisher publisher = client.describeJobsPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.drs.model.DescribeJobsResponse>() {
public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
public void onNext(software.amazon.awssdk.services.drs.model.DescribeJobsResponse response) { //... };
});
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.
Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
describeJobs(software.amazon.awssdk.services.drs.model.DescribeJobsRequest) operation.
This is a convenience which creates an instance of the DescribeJobsRequest.Builder avoiding the need to
create one manually via DescribeJobsRequest.builder()
describeJobsRequest - A Consumer that will call methods on
DescribeJobsRequest.Builder to create a request.default CompletableFuture<DescribeLaunchConfigurationTemplatesResponse> describeLaunchConfigurationTemplates(DescribeLaunchConfigurationTemplatesRequest describeLaunchConfigurationTemplatesRequest)
Lists all Launch Configuration Templates, filtered by Launch Configuration Template IDs
describeLaunchConfigurationTemplatesRequest - default CompletableFuture<DescribeLaunchConfigurationTemplatesResponse> describeLaunchConfigurationTemplates(Consumer<DescribeLaunchConfigurationTemplatesRequest.Builder> describeLaunchConfigurationTemplatesRequest)
Lists all Launch Configuration Templates, filtered by Launch Configuration Template IDs
This is a convenience which creates an instance of the
DescribeLaunchConfigurationTemplatesRequest.Builder avoiding the need to create one manually via
DescribeLaunchConfigurationTemplatesRequest.builder()
describeLaunchConfigurationTemplatesRequest - A Consumer that will call methods on
DescribeLaunchConfigurationTemplatesRequest.Builder to
create a request.default DescribeLaunchConfigurationTemplatesPublisher describeLaunchConfigurationTemplatesPaginator(DescribeLaunchConfigurationTemplatesRequest describeLaunchConfigurationTemplatesRequest)
Lists all Launch Configuration Templates, filtered by Launch Configuration Template IDs
This is a variant of
describeLaunchConfigurationTemplates(software.amazon.awssdk.services.drs.model.DescribeLaunchConfigurationTemplatesRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages.
SDK will internally handle making service calls for you.
When the operation is called, an instance of this class is returned. At this point, no service calls are made yet
and so there is no guarantee that the request is valid. If there are errors in your request, you will see the
failures only after you start streaming the data. The subscribe method should be called as a request to start
streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe
method will result in a new Subscription i.e., a new contract to stream data from the
starting request.
The following are few ways to use the response class:
1) Using the subscribe helper method
software.amazon.awssdk.services.drs.paginators.DescribeLaunchConfigurationTemplatesPublisher publisher = client.describeLaunchConfigurationTemplatesPaginator(request);
CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.drs.paginators.DescribeLaunchConfigurationTemplatesPublisher publisher = client.describeLaunchConfigurationTemplatesPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.drs.model.DescribeLaunchConfigurationTemplatesResponse>() {
public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
public void onNext(software.amazon.awssdk.services.drs.model.DescribeLaunchConfigurationTemplatesResponse response) { //... };
});
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.
Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
describeLaunchConfigurationTemplates(software.amazon.awssdk.services.drs.model.DescribeLaunchConfigurationTemplatesRequest)
operation.
describeLaunchConfigurationTemplatesRequest - default DescribeLaunchConfigurationTemplatesPublisher describeLaunchConfigurationTemplatesPaginator(Consumer<DescribeLaunchConfigurationTemplatesRequest.Builder> describeLaunchConfigurationTemplatesRequest)
Lists all Launch Configuration Templates, filtered by Launch Configuration Template IDs
This is a variant of
describeLaunchConfigurationTemplates(software.amazon.awssdk.services.drs.model.DescribeLaunchConfigurationTemplatesRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages.
SDK will internally handle making service calls for you.
When the operation is called, an instance of this class is returned. At this point, no service calls are made yet
and so there is no guarantee that the request is valid. If there are errors in your request, you will see the
failures only after you start streaming the data. The subscribe method should be called as a request to start
streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe
method will result in a new Subscription i.e., a new contract to stream data from the
starting request.
The following are few ways to use the response class:
1) Using the subscribe helper method
software.amazon.awssdk.services.drs.paginators.DescribeLaunchConfigurationTemplatesPublisher publisher = client.describeLaunchConfigurationTemplatesPaginator(request);
CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.drs.paginators.DescribeLaunchConfigurationTemplatesPublisher publisher = client.describeLaunchConfigurationTemplatesPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.drs.model.DescribeLaunchConfigurationTemplatesResponse>() {
public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
public void onNext(software.amazon.awssdk.services.drs.model.DescribeLaunchConfigurationTemplatesResponse response) { //... };
});
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.
Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
describeLaunchConfigurationTemplates(software.amazon.awssdk.services.drs.model.DescribeLaunchConfigurationTemplatesRequest)
operation.
This is a convenience which creates an instance of the
DescribeLaunchConfigurationTemplatesRequest.Builder avoiding the need to create one manually via
DescribeLaunchConfigurationTemplatesRequest.builder()
describeLaunchConfigurationTemplatesRequest - A Consumer that will call methods on
DescribeLaunchConfigurationTemplatesRequest.Builder to
create a request.default CompletableFuture<DescribeRecoveryInstancesResponse> describeRecoveryInstances(DescribeRecoveryInstancesRequest describeRecoveryInstancesRequest)
Lists all Recovery Instances or multiple Recovery Instances by ID.
describeRecoveryInstancesRequest - default CompletableFuture<DescribeRecoveryInstancesResponse> describeRecoveryInstances(Consumer<DescribeRecoveryInstancesRequest.Builder> describeRecoveryInstancesRequest)
Lists all Recovery Instances or multiple Recovery Instances by ID.
This is a convenience which creates an instance of the DescribeRecoveryInstancesRequest.Builder avoiding
the need to create one manually via DescribeRecoveryInstancesRequest.builder()
describeRecoveryInstancesRequest - A Consumer that will call methods on
DescribeRecoveryInstancesRequest.Builder to create a
request.default DescribeRecoveryInstancesPublisher describeRecoveryInstancesPaginator(DescribeRecoveryInstancesRequest describeRecoveryInstancesRequest)
Lists all Recovery Instances or multiple Recovery Instances by ID.
This is a variant of
describeRecoveryInstances(software.amazon.awssdk.services.drs.model.DescribeRecoveryInstancesRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages.
SDK will internally handle making service calls for you.
When the operation is called, an instance of this class is returned. At this point, no service calls are made yet
and so there is no guarantee that the request is valid. If there are errors in your request, you will see the
failures only after you start streaming the data. The subscribe method should be called as a request to start
streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe
method will result in a new Subscription i.e., a new contract to stream data from the
starting request.
The following are few ways to use the response class:
1) Using the subscribe helper method
software.amazon.awssdk.services.drs.paginators.DescribeRecoveryInstancesPublisher publisher = client.describeRecoveryInstancesPaginator(request);
CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.drs.paginators.DescribeRecoveryInstancesPublisher publisher = client.describeRecoveryInstancesPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.drs.model.DescribeRecoveryInstancesResponse>() {
public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
public void onNext(software.amazon.awssdk.services.drs.model.DescribeRecoveryInstancesResponse response) { //... };
});
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.
Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
describeRecoveryInstances(software.amazon.awssdk.services.drs.model.DescribeRecoveryInstancesRequest)
operation.
describeRecoveryInstancesRequest - default DescribeRecoveryInstancesPublisher describeRecoveryInstancesPaginator(Consumer<DescribeRecoveryInstancesRequest.Builder> describeRecoveryInstancesRequest)
Lists all Recovery Instances or multiple Recovery Instances by ID.
This is a variant of
describeRecoveryInstances(software.amazon.awssdk.services.drs.model.DescribeRecoveryInstancesRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages.
SDK will internally handle making service calls for you.
When the operation is called, an instance of this class is returned. At this point, no service calls are made yet
and so there is no guarantee that the request is valid. If there are errors in your request, you will see the
failures only after you start streaming the data. The subscribe method should be called as a request to start
streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe
method will result in a new Subscription i.e., a new contract to stream data from the
starting request.
The following are few ways to use the response class:
1) Using the subscribe helper method
software.amazon.awssdk.services.drs.paginators.DescribeRecoveryInstancesPublisher publisher = client.describeRecoveryInstancesPaginator(request);
CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.drs.paginators.DescribeRecoveryInstancesPublisher publisher = client.describeRecoveryInstancesPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.drs.model.DescribeRecoveryInstancesResponse>() {
public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
public void onNext(software.amazon.awssdk.services.drs.model.DescribeRecoveryInstancesResponse response) { //... };
});
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.
Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
describeRecoveryInstances(software.amazon.awssdk.services.drs.model.DescribeRecoveryInstancesRequest)
operation.
This is a convenience which creates an instance of the DescribeRecoveryInstancesRequest.Builder avoiding
the need to create one manually via DescribeRecoveryInstancesRequest.builder()
describeRecoveryInstancesRequest - A Consumer that will call methods on
DescribeRecoveryInstancesRequest.Builder to create a
request.default CompletableFuture<DescribeRecoverySnapshotsResponse> describeRecoverySnapshots(DescribeRecoverySnapshotsRequest describeRecoverySnapshotsRequest)
Lists all Recovery Snapshots for a single Source Server.
describeRecoverySnapshotsRequest - default CompletableFuture<DescribeRecoverySnapshotsResponse> describeRecoverySnapshots(Consumer<DescribeRecoverySnapshotsRequest.Builder> describeRecoverySnapshotsRequest)
Lists all Recovery Snapshots for a single Source Server.
This is a convenience which creates an instance of the DescribeRecoverySnapshotsRequest.Builder avoiding
the need to create one manually via DescribeRecoverySnapshotsRequest.builder()
describeRecoverySnapshotsRequest - A Consumer that will call methods on
DescribeRecoverySnapshotsRequest.Builder to create a
request.default DescribeRecoverySnapshotsPublisher describeRecoverySnapshotsPaginator(DescribeRecoverySnapshotsRequest describeRecoverySnapshotsRequest)
Lists all Recovery Snapshots for a single Source Server.
This is a variant of
describeRecoverySnapshots(software.amazon.awssdk.services.drs.model.DescribeRecoverySnapshotsRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages.
SDK will internally handle making service calls for you.
When the operation is called, an instance of this class is returned. At this point, no service calls are made yet
and so there is no guarantee that the request is valid. If there are errors in your request, you will see the
failures only after you start streaming the data. The subscribe method should be called as a request to start
streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe
method will result in a new Subscription i.e., a new contract to stream data from the
starting request.
The following are few ways to use the response class:
1) Using the subscribe helper method
software.amazon.awssdk.services.drs.paginators.DescribeRecoverySnapshotsPublisher publisher = client.describeRecoverySnapshotsPaginator(request);
CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.drs.paginators.DescribeRecoverySnapshotsPublisher publisher = client.describeRecoverySnapshotsPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.drs.model.DescribeRecoverySnapshotsResponse>() {
public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
public void onNext(software.amazon.awssdk.services.drs.model.DescribeRecoverySnapshotsResponse response) { //... };
});
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.
Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
describeRecoverySnapshots(software.amazon.awssdk.services.drs.model.DescribeRecoverySnapshotsRequest)
operation.
describeRecoverySnapshotsRequest - default DescribeRecoverySnapshotsPublisher describeRecoverySnapshotsPaginator(Consumer<DescribeRecoverySnapshotsRequest.Builder> describeRecoverySnapshotsRequest)
Lists all Recovery Snapshots for a single Source Server.
This is a variant of
describeRecoverySnapshots(software.amazon.awssdk.services.drs.model.DescribeRecoverySnapshotsRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages.
SDK will internally handle making service calls for you.
When the operation is called, an instance of this class is returned. At this point, no service calls are made yet
and so there is no guarantee that the request is valid. If there are errors in your request, you will see the
failures only after you start streaming the data. The subscribe method should be called as a request to start
streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe
method will result in a new Subscription i.e., a new contract to stream data from the
starting request.
The following are few ways to use the response class:
1) Using the subscribe helper method
software.amazon.awssdk.services.drs.paginators.DescribeRecoverySnapshotsPublisher publisher = client.describeRecoverySnapshotsPaginator(request);
CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.drs.paginators.DescribeRecoverySnapshotsPublisher publisher = client.describeRecoverySnapshotsPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.drs.model.DescribeRecoverySnapshotsResponse>() {
public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
public void onNext(software.amazon.awssdk.services.drs.model.DescribeRecoverySnapshotsResponse response) { //... };
});
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.
Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
describeRecoverySnapshots(software.amazon.awssdk.services.drs.model.DescribeRecoverySnapshotsRequest)
operation.
This is a convenience which creates an instance of the DescribeRecoverySnapshotsRequest.Builder avoiding
the need to create one manually via DescribeRecoverySnapshotsRequest.builder()
describeRecoverySnapshotsRequest - A Consumer that will call methods on
DescribeRecoverySnapshotsRequest.Builder to create a
request.default CompletableFuture<DescribeReplicationConfigurationTemplatesResponse> describeReplicationConfigurationTemplates(DescribeReplicationConfigurationTemplatesRequest describeReplicationConfigurationTemplatesRequest)
Lists all ReplicationConfigurationTemplates, filtered by Source Server IDs.
describeReplicationConfigurationTemplatesRequest - default CompletableFuture<DescribeReplicationConfigurationTemplatesResponse> describeReplicationConfigurationTemplates(Consumer<DescribeReplicationConfigurationTemplatesRequest.Builder> describeReplicationConfigurationTemplatesRequest)
Lists all ReplicationConfigurationTemplates, filtered by Source Server IDs.
This is a convenience which creates an instance of the
DescribeReplicationConfigurationTemplatesRequest.Builder avoiding the need to create one manually via
DescribeReplicationConfigurationTemplatesRequest.builder()
describeReplicationConfigurationTemplatesRequest - A Consumer that will call methods on
DescribeReplicationConfigurationTemplatesRequest.Builder
to create a request.default DescribeReplicationConfigurationTemplatesPublisher describeReplicationConfigurationTemplatesPaginator(DescribeReplicationConfigurationTemplatesRequest describeReplicationConfigurationTemplatesRequest)
Lists all ReplicationConfigurationTemplates, filtered by Source Server IDs.
This is a variant of
describeReplicationConfigurationTemplates(software.amazon.awssdk.services.drs.model.DescribeReplicationConfigurationTemplatesRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages.
SDK will internally handle making service calls for you.
When the operation is called, an instance of this class is returned. At this point, no service calls are made yet
and so there is no guarantee that the request is valid. If there are errors in your request, you will see the
failures only after you start streaming the data. The subscribe method should be called as a request to start
streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe
method will result in a new Subscription i.e., a new contract to stream data from the
starting request.
The following are few ways to use the response class:
1) Using the subscribe helper method
software.amazon.awssdk.services.drs.paginators.DescribeReplicationConfigurationTemplatesPublisher publisher = client.describeReplicationConfigurationTemplatesPaginator(request);
CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.drs.paginators.DescribeReplicationConfigurationTemplatesPublisher publisher = client.describeReplicationConfigurationTemplatesPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.drs.model.DescribeReplicationConfigurationTemplatesResponse>() {
public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
public void onNext(software.amazon.awssdk.services.drs.model.DescribeReplicationConfigurationTemplatesResponse response) { //... };
});
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.
Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
describeReplicationConfigurationTemplates(software.amazon.awssdk.services.drs.model.DescribeReplicationConfigurationTemplatesRequest)
operation.
describeReplicationConfigurationTemplatesRequest - default DescribeReplicationConfigurationTemplatesPublisher describeReplicationConfigurationTemplatesPaginator(Consumer<DescribeReplicationConfigurationTemplatesRequest.Builder> describeReplicationConfigurationTemplatesRequest)
Lists all ReplicationConfigurationTemplates, filtered by Source Server IDs.
This is a variant of
describeReplicationConfigurationTemplates(software.amazon.awssdk.services.drs.model.DescribeReplicationConfigurationTemplatesRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages.
SDK will internally handle making service calls for you.
When the operation is called, an instance of this class is returned. At this point, no service calls are made yet
and so there is no guarantee that the request is valid. If there are errors in your request, you will see the
failures only after you start streaming the data. The subscribe method should be called as a request to start
streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe
method will result in a new Subscription i.e., a new contract to stream data from the
starting request.
The following are few ways to use the response class:
1) Using the subscribe helper method
software.amazon.awssdk.services.drs.paginators.DescribeReplicationConfigurationTemplatesPublisher publisher = client.describeReplicationConfigurationTemplatesPaginator(request);
CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.drs.paginators.DescribeReplicationConfigurationTemplatesPublisher publisher = client.describeReplicationConfigurationTemplatesPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.drs.model.DescribeReplicationConfigurationTemplatesResponse>() {
public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
public void onNext(software.amazon.awssdk.services.drs.model.DescribeReplicationConfigurationTemplatesResponse response) { //... };
});
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.
Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
describeReplicationConfigurationTemplates(software.amazon.awssdk.services.drs.model.DescribeReplicationConfigurationTemplatesRequest)
operation.
This is a convenience which creates an instance of the
DescribeReplicationConfigurationTemplatesRequest.Builder avoiding the need to create one manually via
DescribeReplicationConfigurationTemplatesRequest.builder()
describeReplicationConfigurationTemplatesRequest - A Consumer that will call methods on
DescribeReplicationConfigurationTemplatesRequest.Builder
to create a request.default CompletableFuture<DescribeSourceNetworksResponse> describeSourceNetworks(DescribeSourceNetworksRequest describeSourceNetworksRequest)
Lists all Source Networks or multiple Source Networks filtered by ID.
describeSourceNetworksRequest - default CompletableFuture<DescribeSourceNetworksResponse> describeSourceNetworks(Consumer<DescribeSourceNetworksRequest.Builder> describeSourceNetworksRequest)
Lists all Source Networks or multiple Source Networks filtered by ID.
This is a convenience which creates an instance of the DescribeSourceNetworksRequest.Builder avoiding the
need to create one manually via DescribeSourceNetworksRequest.builder()
describeSourceNetworksRequest - A Consumer that will call methods on
DescribeSourceNetworksRequest.Builder to create a
request.default DescribeSourceNetworksPublisher describeSourceNetworksPaginator(DescribeSourceNetworksRequest describeSourceNetworksRequest)
Lists all Source Networks or multiple Source Networks filtered by ID.
This is a variant of
describeSourceNetworks(software.amazon.awssdk.services.drs.model.DescribeSourceNetworksRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages.
SDK will internally handle making service calls for you.
When the operation is called, an instance of this class is returned. At this point, no service calls are made yet
and so there is no guarantee that the request is valid. If there are errors in your request, you will see the
failures only after you start streaming the data. The subscribe method should be called as a request to start
streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe
method will result in a new Subscription i.e., a new contract to stream data from the
starting request.
The following are few ways to use the response class:
1) Using the subscribe helper method
software.amazon.awssdk.services.drs.paginators.DescribeSourceNetworksPublisher publisher = client.describeSourceNetworksPaginator(request);
CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.drs.paginators.DescribeSourceNetworksPublisher publisher = client.describeSourceNetworksPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.drs.model.DescribeSourceNetworksResponse>() {
public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
public void onNext(software.amazon.awssdk.services.drs.model.DescribeSourceNetworksResponse response) { //... };
});
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.
Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
describeSourceNetworks(software.amazon.awssdk.services.drs.model.DescribeSourceNetworksRequest)
operation.
describeSourceNetworksRequest - default DescribeSourceNetworksPublisher describeSourceNetworksPaginator(Consumer<DescribeSourceNetworksRequest.Builder> describeSourceNetworksRequest)
Lists all Source Networks or multiple Source Networks filtered by ID.
This is a variant of
describeSourceNetworks(software.amazon.awssdk.services.drs.model.DescribeSourceNetworksRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages.
SDK will internally handle making service calls for you.
When the operation is called, an instance of this class is returned. At this point, no service calls are made yet
and so there is no guarantee that the request is valid. If there are errors in your request, you will see the
failures only after you start streaming the data. The subscribe method should be called as a request to start
streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe
method will result in a new Subscription i.e., a new contract to stream data from the
starting request.
The following are few ways to use the response class:
1) Using the subscribe helper method
software.amazon.awssdk.services.drs.paginators.DescribeSourceNetworksPublisher publisher = client.describeSourceNetworksPaginator(request);
CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.drs.paginators.DescribeSourceNetworksPublisher publisher = client.describeSourceNetworksPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.drs.model.DescribeSourceNetworksResponse>() {
public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
public void onNext(software.amazon.awssdk.services.drs.model.DescribeSourceNetworksResponse response) { //... };
});
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.
Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
describeSourceNetworks(software.amazon.awssdk.services.drs.model.DescribeSourceNetworksRequest)
operation.
This is a convenience which creates an instance of the DescribeSourceNetworksRequest.Builder avoiding the
need to create one manually via DescribeSourceNetworksRequest.builder()
describeSourceNetworksRequest - A Consumer that will call methods on
DescribeSourceNetworksRequest.Builder to create a
request.default CompletableFuture<DescribeSourceServersResponse> describeSourceServers(DescribeSourceServersRequest describeSourceServersRequest)
Lists all Source Servers or multiple Source Servers filtered by ID.
describeSourceServersRequest - default CompletableFuture<DescribeSourceServersResponse> describeSourceServers(Consumer<DescribeSourceServersRequest.Builder> describeSourceServersRequest)
Lists all Source Servers or multiple Source Servers filtered by ID.
This is a convenience which creates an instance of the DescribeSourceServersRequest.Builder avoiding the
need to create one manually via DescribeSourceServersRequest.builder()
describeSourceServersRequest - A Consumer that will call methods on
DescribeSourceServersRequest.Builder to create a
request.default DescribeSourceServersPublisher describeSourceServersPaginator(DescribeSourceServersRequest describeSourceServersRequest)
Lists all Source Servers or multiple Source Servers filtered by ID.
This is a variant of
describeSourceServers(software.amazon.awssdk.services.drs.model.DescribeSourceServersRequest) operation.
The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will
internally handle making service calls for you.
When the operation is called, an instance of this class is returned. At this point, no service calls are made yet
and so there is no guarantee that the request is valid. If there are errors in your request, you will see the
failures only after you start streaming the data. The subscribe method should be called as a request to start
streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe
method will result in a new Subscription i.e., a new contract to stream data from the
starting request.
The following are few ways to use the response class:
1) Using the subscribe helper method
software.amazon.awssdk.services.drs.paginators.DescribeSourceServersPublisher publisher = client.describeSourceServersPaginator(request);
CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.drs.paginators.DescribeSourceServersPublisher publisher = client.describeSourceServersPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.drs.model.DescribeSourceServersResponse>() {
public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
public void onNext(software.amazon.awssdk.services.drs.model.DescribeSourceServersResponse response) { //... };
});
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.
Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
describeSourceServers(software.amazon.awssdk.services.drs.model.DescribeSourceServersRequest)
operation.
describeSourceServersRequest - default DescribeSourceServersPublisher describeSourceServersPaginator(Consumer<DescribeSourceServersRequest.Builder> describeSourceServersRequest)
Lists all Source Servers or multiple Source Servers filtered by ID.
This is a variant of
describeSourceServers(software.amazon.awssdk.services.drs.model.DescribeSourceServersRequest) operation.
The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will
internally handle making service calls for you.
When the operation is called, an instance of this class is returned. At this point, no service calls are made yet
and so there is no guarantee that the request is valid. If there are errors in your request, you will see the
failures only after you start streaming the data. The subscribe method should be called as a request to start
streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe
method will result in a new Subscription i.e., a new contract to stream data from the
starting request.
The following are few ways to use the response class:
1) Using the subscribe helper method
software.amazon.awssdk.services.drs.paginators.DescribeSourceServersPublisher publisher = client.describeSourceServersPaginator(request);
CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.drs.paginators.DescribeSourceServersPublisher publisher = client.describeSourceServersPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.drs.model.DescribeSourceServersResponse>() {
public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
public void onNext(software.amazon.awssdk.services.drs.model.DescribeSourceServersResponse response) { //... };
});
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.
Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
describeSourceServers(software.amazon.awssdk.services.drs.model.DescribeSourceServersRequest)
operation.
This is a convenience which creates an instance of the DescribeSourceServersRequest.Builder avoiding the
need to create one manually via DescribeSourceServersRequest.builder()
describeSourceServersRequest - A Consumer that will call methods on
DescribeSourceServersRequest.Builder to create a
request.default CompletableFuture<DisconnectRecoveryInstanceResponse> disconnectRecoveryInstance(DisconnectRecoveryInstanceRequest disconnectRecoveryInstanceRequest)
Disconnect a Recovery Instance from Elastic Disaster Recovery. Data replication is stopped immediately. All AWS resources created by Elastic Disaster Recovery for enabling the replication of the Recovery Instance will be terminated / deleted within 90 minutes. If the agent on the Recovery Instance has not been prevented from communicating with the Elastic Disaster Recovery service, then it will receive a command to uninstall itself (within approximately 10 minutes). The following properties of the Recovery Instance 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.
disconnectRecoveryInstanceRequest - default CompletableFuture<DisconnectRecoveryInstanceResponse> disconnectRecoveryInstance(Consumer<DisconnectRecoveryInstanceRequest.Builder> disconnectRecoveryInstanceRequest)
Disconnect a Recovery Instance from Elastic Disaster Recovery. Data replication is stopped immediately. All AWS resources created by Elastic Disaster Recovery for enabling the replication of the Recovery Instance will be terminated / deleted within 90 minutes. If the agent on the Recovery Instance has not been prevented from communicating with the Elastic Disaster Recovery service, then it will receive a command to uninstall itself (within approximately 10 minutes). The following properties of the Recovery Instance 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 DisconnectRecoveryInstanceRequest.Builder avoiding
the need to create one manually via DisconnectRecoveryInstanceRequest.builder()
disconnectRecoveryInstanceRequest - A Consumer that will call methods on
DisconnectRecoveryInstanceRequest.Builder to create a
request.default CompletableFuture<DisconnectSourceServerResponse> disconnectSourceServer(DisconnectSourceServerRequest disconnectSourceServerRequest)
Disconnects a specific Source Server from Elastic Disaster Recovery. Data replication is stopped immediately. All AWS resources created by Elastic Disaster Recovery for enabling the replication of the Source Server will be terminated / deleted within 90 minutes. You cannot disconnect a Source Server if it has a Recovery Instance. If the agent on the Source Server has not been prevented from communicating with the Elastic Disaster Recovery 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.
disconnectSourceServerRequest - default CompletableFuture<DisconnectSourceServerResponse> disconnectSourceServer(Consumer<DisconnectSourceServerRequest.Builder> disconnectSourceServerRequest)
Disconnects a specific Source Server from Elastic Disaster Recovery. Data replication is stopped immediately. All AWS resources created by Elastic Disaster Recovery for enabling the replication of the Source Server will be terminated / deleted within 90 minutes. You cannot disconnect a Source Server if it has a Recovery Instance. If the agent on the Source Server has not been prevented from communicating with the Elastic Disaster Recovery 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 DisconnectSourceServerRequest.Builder avoiding the
need to create one manually via DisconnectSourceServerRequest.builder()
disconnectSourceServerRequest - A Consumer that will call methods on
DisconnectSourceServerRequest.Builder to create a
request.default CompletableFuture<ExportSourceNetworkCfnTemplateResponse> exportSourceNetworkCfnTemplate(ExportSourceNetworkCfnTemplateRequest exportSourceNetworkCfnTemplateRequest)
Export the Source Network CloudFormation template to an S3 bucket.
exportSourceNetworkCfnTemplateRequest - default CompletableFuture<ExportSourceNetworkCfnTemplateResponse> exportSourceNetworkCfnTemplate(Consumer<ExportSourceNetworkCfnTemplateRequest.Builder> exportSourceNetworkCfnTemplateRequest)
Export the Source Network CloudFormation template to an S3 bucket.
This is a convenience which creates an instance of the ExportSourceNetworkCfnTemplateRequest.Builder
avoiding the need to create one manually via ExportSourceNetworkCfnTemplateRequest.builder()
exportSourceNetworkCfnTemplateRequest - A Consumer that will call methods on
ExportSourceNetworkCfnTemplateRequest.Builder to create
a request.default CompletableFuture<GetFailbackReplicationConfigurationResponse> getFailbackReplicationConfiguration(GetFailbackReplicationConfigurationRequest getFailbackReplicationConfigurationRequest)
Lists all Failback ReplicationConfigurations, filtered by Recovery Instance ID.
getFailbackReplicationConfigurationRequest - default CompletableFuture<GetFailbackReplicationConfigurationResponse> getFailbackReplicationConfiguration(Consumer<GetFailbackReplicationConfigurationRequest.Builder> getFailbackReplicationConfigurationRequest)
Lists all Failback ReplicationConfigurations, filtered by Recovery Instance ID.
This is a convenience which creates an instance of the GetFailbackReplicationConfigurationRequest.Builder
avoiding the need to create one manually via GetFailbackReplicationConfigurationRequest.builder()
getFailbackReplicationConfigurationRequest - A Consumer that will call methods on
GetFailbackReplicationConfigurationRequest.Builder to
create a request.default CompletableFuture<GetLaunchConfigurationResponse> getLaunchConfiguration(GetLaunchConfigurationRequest getLaunchConfigurationRequest)
Gets a LaunchConfiguration, filtered by Source Server IDs.
getLaunchConfigurationRequest - default CompletableFuture<GetLaunchConfigurationResponse> getLaunchConfiguration(Consumer<GetLaunchConfigurationRequest.Builder> getLaunchConfigurationRequest)
Gets a LaunchConfiguration, filtered by Source Server IDs.
This is a convenience which creates an instance of the GetLaunchConfigurationRequest.Builder avoiding the
need to create one manually via GetLaunchConfigurationRequest.builder()
getLaunchConfigurationRequest - A Consumer that will call methods on
GetLaunchConfigurationRequest.Builder to create a
request.default CompletableFuture<GetReplicationConfigurationResponse> getReplicationConfiguration(GetReplicationConfigurationRequest getReplicationConfigurationRequest)
Gets a ReplicationConfiguration, filtered by Source Server ID.
getReplicationConfigurationRequest - default CompletableFuture<GetReplicationConfigurationResponse> getReplicationConfiguration(Consumer<GetReplicationConfigurationRequest.Builder> getReplicationConfigurationRequest)
Gets a ReplicationConfiguration, filtered by Source Server ID.
This is a convenience which creates an instance of the GetReplicationConfigurationRequest.Builder
avoiding the need to create one manually via GetReplicationConfigurationRequest.builder()
getReplicationConfigurationRequest - A Consumer that will call methods on
GetReplicationConfigurationRequest.Builder to create a
request.default CompletableFuture<InitializeServiceResponse> initializeService(InitializeServiceRequest initializeServiceRequest)
Initialize Elastic Disaster Recovery.
initializeServiceRequest - default CompletableFuture<InitializeServiceResponse> initializeService(Consumer<InitializeServiceRequest.Builder> initializeServiceRequest)
Initialize Elastic Disaster Recovery.
This is a convenience which creates an instance of the InitializeServiceRequest.Builder avoiding the need
to create one manually via InitializeServiceRequest.builder()
initializeServiceRequest - A Consumer that will call methods on
InitializeServiceRequest.Builder to create a request.default CompletableFuture<ListExtensibleSourceServersResponse> listExtensibleSourceServers(ListExtensibleSourceServersRequest listExtensibleSourceServersRequest)
Returns a list of source servers on a staging account that are extensible, which means that: a. The source server is not already extended into this Account. b. The source server on the Account we’re reading from is not an extension of another source server.
listExtensibleSourceServersRequest - default CompletableFuture<ListExtensibleSourceServersResponse> listExtensibleSourceServers(Consumer<ListExtensibleSourceServersRequest.Builder> listExtensibleSourceServersRequest)
Returns a list of source servers on a staging account that are extensible, which means that: a. The source server is not already extended into this Account. b. The source server on the Account we’re reading from is not an extension of another source server.
This is a convenience which creates an instance of the ListExtensibleSourceServersRequest.Builder
avoiding the need to create one manually via ListExtensibleSourceServersRequest.builder()
listExtensibleSourceServersRequest - A Consumer that will call methods on
ListExtensibleSourceServersRequest.Builder to create a
request.default ListExtensibleSourceServersPublisher listExtensibleSourceServersPaginator(ListExtensibleSourceServersRequest listExtensibleSourceServersRequest)
Returns a list of source servers on a staging account that are extensible, which means that: a. The source server is not already extended into this Account. b. The source server on the Account we’re reading from is not an extension of another source server.
This is a variant of
listExtensibleSourceServers(software.amazon.awssdk.services.drs.model.ListExtensibleSourceServersRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages.
SDK will internally handle making service calls for you.
When the operation is called, an instance of this class is returned. At this point, no service calls are made yet
and so there is no guarantee that the request is valid. If there are errors in your request, you will see the
failures only after you start streaming the data. The subscribe method should be called as a request to start
streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe
method will result in a new Subscription i.e., a new contract to stream data from the
starting request.
The following are few ways to use the response class:
1) Using the subscribe helper method
software.amazon.awssdk.services.drs.paginators.ListExtensibleSourceServersPublisher publisher = client.listExtensibleSourceServersPaginator(request);
CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.drs.paginators.ListExtensibleSourceServersPublisher publisher = client.listExtensibleSourceServersPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.drs.model.ListExtensibleSourceServersResponse>() {
public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
public void onNext(software.amazon.awssdk.services.drs.model.ListExtensibleSourceServersResponse response) { //... };
});
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.
Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listExtensibleSourceServers(software.amazon.awssdk.services.drs.model.ListExtensibleSourceServersRequest)
operation.
listExtensibleSourceServersRequest - default ListExtensibleSourceServersPublisher listExtensibleSourceServersPaginator(Consumer<ListExtensibleSourceServersRequest.Builder> listExtensibleSourceServersRequest)
Returns a list of source servers on a staging account that are extensible, which means that: a. The source server is not already extended into this Account. b. The source server on the Account we’re reading from is not an extension of another source server.
This is a variant of
listExtensibleSourceServers(software.amazon.awssdk.services.drs.model.ListExtensibleSourceServersRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages.
SDK will internally handle making service calls for you.
When the operation is called, an instance of this class is returned. At this point, no service calls are made yet
and so there is no guarantee that the request is valid. If there are errors in your request, you will see the
failures only after you start streaming the data. The subscribe method should be called as a request to start
streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe
method will result in a new Subscription i.e., a new contract to stream data from the
starting request.
The following are few ways to use the response class:
1) Using the subscribe helper method
software.amazon.awssdk.services.drs.paginators.ListExtensibleSourceServersPublisher publisher = client.listExtensibleSourceServersPaginator(request);
CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.drs.paginators.ListExtensibleSourceServersPublisher publisher = client.listExtensibleSourceServersPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.drs.model.ListExtensibleSourceServersResponse>() {
public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
public void onNext(software.amazon.awssdk.services.drs.model.ListExtensibleSourceServersResponse response) { //... };
});
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.
Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listExtensibleSourceServers(software.amazon.awssdk.services.drs.model.ListExtensibleSourceServersRequest)
operation.
This is a convenience which creates an instance of the ListExtensibleSourceServersRequest.Builder
avoiding the need to create one manually via ListExtensibleSourceServersRequest.builder()
listExtensibleSourceServersRequest - A Consumer that will call methods on
ListExtensibleSourceServersRequest.Builder to create a
request.default CompletableFuture<ListStagingAccountsResponse> listStagingAccounts(ListStagingAccountsRequest listStagingAccountsRequest)
Returns an array of staging accounts for existing extended source servers.
listStagingAccountsRequest - default CompletableFuture<ListStagingAccountsResponse> listStagingAccounts(Consumer<ListStagingAccountsRequest.Builder> listStagingAccountsRequest)
Returns an array of staging accounts for existing extended source servers.
This is a convenience which creates an instance of the ListStagingAccountsRequest.Builder avoiding the
need to create one manually via ListStagingAccountsRequest.builder()
listStagingAccountsRequest - A Consumer that will call methods on
ListStagingAccountsRequest.Builder to create a request.default ListStagingAccountsPublisher listStagingAccountsPaginator(ListStagingAccountsRequest listStagingAccountsRequest)
Returns an array of staging accounts for existing extended source servers.
This is a variant of
listStagingAccounts(software.amazon.awssdk.services.drs.model.ListStagingAccountsRequest) operation. The
return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will
internally handle making service calls for you.
When the operation is called, an instance of this class is returned. At this point, no service calls are made yet
and so there is no guarantee that the request is valid. If there are errors in your request, you will see the
failures only after you start streaming the data. The subscribe method should be called as a request to start
streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe
method will result in a new Subscription i.e., a new contract to stream data from the
starting request.
The following are few ways to use the response class:
1) Using the subscribe helper method
software.amazon.awssdk.services.drs.paginators.ListStagingAccountsPublisher publisher = client.listStagingAccountsPaginator(request);
CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.drs.paginators.ListStagingAccountsPublisher publisher = client.listStagingAccountsPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.drs.model.ListStagingAccountsResponse>() {
public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
public void onNext(software.amazon.awssdk.services.drs.model.ListStagingAccountsResponse response) { //... };
});
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.
Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listStagingAccounts(software.amazon.awssdk.services.drs.model.ListStagingAccountsRequest) operation.
listStagingAccountsRequest - default ListStagingAccountsPublisher listStagingAccountsPaginator(Consumer<ListStagingAccountsRequest.Builder> listStagingAccountsRequest)
Returns an array of staging accounts for existing extended source servers.
This is a variant of
listStagingAccounts(software.amazon.awssdk.services.drs.model.ListStagingAccountsRequest) operation. The
return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will
internally handle making service calls for you.
When the operation is called, an instance of this class is returned. At this point, no service calls are made yet
and so there is no guarantee that the request is valid. If there are errors in your request, you will see the
failures only after you start streaming the data. The subscribe method should be called as a request to start
streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe
method will result in a new Subscription i.e., a new contract to stream data from the
starting request.
The following are few ways to use the response class:
1) Using the subscribe helper method
software.amazon.awssdk.services.drs.paginators.ListStagingAccountsPublisher publisher = client.listStagingAccountsPaginator(request);
CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.drs.paginators.ListStagingAccountsPublisher publisher = client.listStagingAccountsPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.drs.model.ListStagingAccountsResponse>() {
public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
public void onNext(software.amazon.awssdk.services.drs.model.ListStagingAccountsResponse response) { //... };
});
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.
Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listStagingAccounts(software.amazon.awssdk.services.drs.model.ListStagingAccountsRequest) operation.
This is a convenience which creates an instance of the ListStagingAccountsRequest.Builder avoiding the
need to create one manually via ListStagingAccountsRequest.builder()
listStagingAccountsRequest - A Consumer that will call methods on
ListStagingAccountsRequest.Builder to create a request.default CompletableFuture<ListTagsForResourceResponse> listTagsForResource(ListTagsForResourceRequest listTagsForResourceRequest)
List all tags for your Elastic Disaster Recovery resources.
listTagsForResourceRequest - default CompletableFuture<ListTagsForResourceResponse> listTagsForResource(Consumer<ListTagsForResourceRequest.Builder> listTagsForResourceRequest)
List all tags for your Elastic Disaster Recovery resources.
This is a convenience which creates an instance of the ListTagsForResourceRequest.Builder avoiding the
need to create one manually via ListTagsForResourceRequest.builder()
listTagsForResourceRequest - A Consumer that will call methods on
ListTagsForResourceRequest.Builder to create a request.@Deprecated default CompletableFuture<RetryDataReplicationResponse> retryDataReplication(RetryDataReplicationRequest retryDataReplicationRequest)
WARNING: RetryDataReplication is deprecated. Causes the data replication initiation sequence to begin immediately upon next Handshake for the specified Source Server ID, regardless of when the previous initiation started. This command will work only if the Source Server is stalled or is in a DISCONNECTED or STOPPED state.
retryDataReplicationRequest - @Deprecated default CompletableFuture<RetryDataReplicationResponse> retryDataReplication(Consumer<RetryDataReplicationRequest.Builder> retryDataReplicationRequest)
WARNING: RetryDataReplication is deprecated. Causes the data replication initiation sequence to begin immediately upon next Handshake for the specified Source Server ID, regardless of when the previous initiation started. This command will work only if the Source Server is stalled or is in a DISCONNECTED or STOPPED state.
This is a convenience which creates an instance of the RetryDataReplicationRequest.Builder avoiding the
need to create one manually via RetryDataReplicationRequest.builder()
retryDataReplicationRequest - A Consumer that will call methods on
RetryDataReplicationRequest.Builder to create a request.default CompletableFuture<ReverseReplicationResponse> reverseReplication(ReverseReplicationRequest reverseReplicationRequest)
Start replication to origin / target region - applies only to protected instances that originated in EC2. For recovery instances on target region - starts replication back to origin region. For failback instances on origin region - starts replication to target region to re-protect them.
reverseReplicationRequest - default CompletableFuture<ReverseReplicationResponse> reverseReplication(Consumer<ReverseReplicationRequest.Builder> reverseReplicationRequest)
Start replication to origin / target region - applies only to protected instances that originated in EC2. For recovery instances on target region - starts replication back to origin region. For failback instances on origin region - starts replication to target region to re-protect them.
This is a convenience which creates an instance of the ReverseReplicationRequest.Builder avoiding the
need to create one manually via ReverseReplicationRequest.builder()
reverseReplicationRequest - A Consumer that will call methods on
ReverseReplicationRequest.Builder to create a request.default CompletableFuture<StartFailbackLaunchResponse> startFailbackLaunch(StartFailbackLaunchRequest startFailbackLaunchRequest)
Initiates a Job for launching the machine that is being failed back to from the specified Recovery Instance. This will run conversion on the failback client and will reboot your machine, thus completing the failback process.
startFailbackLaunchRequest - default CompletableFuture<StartFailbackLaunchResponse> startFailbackLaunch(Consumer<StartFailbackLaunchRequest.Builder> startFailbackLaunchRequest)
Initiates a Job for launching the machine that is being failed back to from the specified Recovery Instance. This will run conversion on the failback client and will reboot your machine, thus completing the failback process.
This is a convenience which creates an instance of the StartFailbackLaunchRequest.Builder avoiding the
need to create one manually via StartFailbackLaunchRequest.builder()
startFailbackLaunchRequest - A Consumer that will call methods on
StartFailbackLaunchRequest.Builder to create a request.default CompletableFuture<StartRecoveryResponse> startRecovery(StartRecoveryRequest startRecoveryRequest)
Launches Recovery Instances for the specified Source Servers. For each Source Server you may choose a point in time snapshot to launch from, or use an on demand snapshot.
startRecoveryRequest - default CompletableFuture<StartRecoveryResponse> startRecovery(Consumer<StartRecoveryRequest.Builder> startRecoveryRequest)
Launches Recovery Instances for the specified Source Servers. For each Source Server you may choose a point in time snapshot to launch from, or use an on demand snapshot.
This is a convenience which creates an instance of the StartRecoveryRequest.Builder avoiding the need to
create one manually via StartRecoveryRequest.builder()
startRecoveryRequest - A Consumer that will call methods on
StartRecoveryRequest.Builder to create a request.default CompletableFuture<StartReplicationResponse> startReplication(StartReplicationRequest startReplicationRequest)
Starts replication for a stopped Source Server. This action would make the Source Server protected again and restart billing for it.
startReplicationRequest - default CompletableFuture<StartReplicationResponse> startReplication(Consumer<StartReplicationRequest.Builder> startReplicationRequest)
Starts replication for a stopped Source Server. This action would make the Source Server protected again and restart billing for it.
This is a convenience which creates an instance of the StartReplicationRequest.Builder avoiding the need
to create one manually via StartReplicationRequest.builder()
startReplicationRequest - A Consumer that will call methods on
StartReplicationRequest.Builder to create a request.default CompletableFuture<StartSourceNetworkRecoveryResponse> startSourceNetworkRecovery(StartSourceNetworkRecoveryRequest startSourceNetworkRecoveryRequest)
Deploy VPC for the specified Source Network and modify launch templates to use this network. The VPC will be deployed using a dedicated CloudFormation stack.
startSourceNetworkRecoveryRequest - default CompletableFuture<StartSourceNetworkRecoveryResponse> startSourceNetworkRecovery(Consumer<StartSourceNetworkRecoveryRequest.Builder> startSourceNetworkRecoveryRequest)
Deploy VPC for the specified Source Network and modify launch templates to use this network. The VPC will be deployed using a dedicated CloudFormation stack.
This is a convenience which creates an instance of the StartSourceNetworkRecoveryRequest.Builder avoiding
the need to create one manually via StartSourceNetworkRecoveryRequest.builder()
startSourceNetworkRecoveryRequest - A Consumer that will call methods on
StartSourceNetworkRecoveryRequest.Builder to create a
request.default CompletableFuture<StartSourceNetworkReplicationResponse> startSourceNetworkReplication(StartSourceNetworkReplicationRequest startSourceNetworkReplicationRequest)
Starts replication for a Source Network. This action would make the Source Network protected.
startSourceNetworkReplicationRequest - default CompletableFuture<StartSourceNetworkReplicationResponse> startSourceNetworkReplication(Consumer<StartSourceNetworkReplicationRequest.Builder> startSourceNetworkReplicationRequest)
Starts replication for a Source Network. This action would make the Source Network protected.
This is a convenience which creates an instance of the StartSourceNetworkReplicationRequest.Builder
avoiding the need to create one manually via StartSourceNetworkReplicationRequest.builder()
startSourceNetworkReplicationRequest - A Consumer that will call methods on
StartSourceNetworkReplicationRequest.Builder to create a
request.default CompletableFuture<StopFailbackResponse> stopFailback(StopFailbackRequest stopFailbackRequest)
Stops the failback process for a specified Recovery Instance. This changes the Failback State of the Recovery Instance back to FAILBACK_NOT_STARTED.
stopFailbackRequest - default CompletableFuture<StopFailbackResponse> stopFailback(Consumer<StopFailbackRequest.Builder> stopFailbackRequest)
Stops the failback process for a specified Recovery Instance. This changes the Failback State of the Recovery Instance back to FAILBACK_NOT_STARTED.
This is a convenience which creates an instance of the StopFailbackRequest.Builder avoiding the need to
create one manually via StopFailbackRequest.builder()
stopFailbackRequest - A Consumer that will call methods on
StopFailbackRequest.Builder to create a request.default CompletableFuture<StopReplicationResponse> stopReplication(StopReplicationRequest stopReplicationRequest)
Stops replication for a Source Server. This action would make the Source Server unprotected, delete its existing snapshots and stop billing for it.
stopReplicationRequest - default CompletableFuture<StopReplicationResponse> stopReplication(Consumer<StopReplicationRequest.Builder> stopReplicationRequest)
Stops replication for a Source Server. This action would make the Source Server unprotected, delete its existing snapshots and stop billing for it.
This is a convenience which creates an instance of the StopReplicationRequest.Builder avoiding the need
to create one manually via StopReplicationRequest.builder()
stopReplicationRequest - A Consumer that will call methods on
StopReplicationRequest.Builder to create a request.default CompletableFuture<StopSourceNetworkReplicationResponse> stopSourceNetworkReplication(StopSourceNetworkReplicationRequest stopSourceNetworkReplicationRequest)
Stops replication for a Source Network. This action would make the Source Network unprotected.
stopSourceNetworkReplicationRequest - default CompletableFuture<StopSourceNetworkReplicationResponse> stopSourceNetworkReplication(Consumer<StopSourceNetworkReplicationRequest.Builder> stopSourceNetworkReplicationRequest)
Stops replication for a Source Network. This action would make the Source Network unprotected.
This is a convenience which creates an instance of the StopSourceNetworkReplicationRequest.Builder
avoiding the need to create one manually via StopSourceNetworkReplicationRequest.builder()
stopSourceNetworkReplicationRequest - A Consumer that will call methods on
StopSourceNetworkReplicationRequest.Builder to create a
request.default CompletableFuture<TagResourceResponse> tagResource(TagResourceRequest tagResourceRequest)
Adds or overwrites only the specified tags for the specified Elastic Disaster Recovery 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.
tagResourceRequest - default CompletableFuture<TagResourceResponse> tagResource(Consumer<TagResourceRequest.Builder> tagResourceRequest)
Adds or overwrites only the specified tags for the specified Elastic Disaster Recovery 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.Builder avoiding the need to
create one manually via TagResourceRequest.builder()
tagResourceRequest - A Consumer that will call methods on
TagResourceRequest.Builder to create a request.default CompletableFuture<TerminateRecoveryInstancesResponse> terminateRecoveryInstances(TerminateRecoveryInstancesRequest terminateRecoveryInstancesRequest)
Initiates a Job for terminating the EC2 resources associated with the specified Recovery Instances, and then will delete the Recovery Instances from the Elastic Disaster Recovery service.
terminateRecoveryInstancesRequest - default CompletableFuture<TerminateRecoveryInstancesResponse> terminateRecoveryInstances(Consumer<TerminateRecoveryInstancesRequest.Builder> terminateRecoveryInstancesRequest)
Initiates a Job for terminating the EC2 resources associated with the specified Recovery Instances, and then will delete the Recovery Instances from the Elastic Disaster Recovery service.
This is a convenience which creates an instance of the TerminateRecoveryInstancesRequest.Builder avoiding
the need to create one manually via TerminateRecoveryInstancesRequest.builder()
terminateRecoveryInstancesRequest - A Consumer that will call methods on
TerminateRecoveryInstancesRequest.Builder to create a
request.default CompletableFuture<UntagResourceResponse> untagResource(UntagResourceRequest untagResourceRequest)
Deletes the specified set of tags from the specified set of Elastic Disaster Recovery resources.
untagResourceRequest - default CompletableFuture<UntagResourceResponse> untagResource(Consumer<UntagResourceRequest.Builder> untagResourceRequest)
Deletes the specified set of tags from the specified set of Elastic Disaster Recovery resources.
This is a convenience which creates an instance of the UntagResourceRequest.Builder avoiding the need to
create one manually via UntagResourceRequest.builder()
untagResourceRequest - A Consumer that will call methods on
UntagResourceRequest.Builder to create a request.default CompletableFuture<UpdateFailbackReplicationConfigurationResponse> updateFailbackReplicationConfiguration(UpdateFailbackReplicationConfigurationRequest updateFailbackReplicationConfigurationRequest)
Allows you to update the failback replication configuration of a Recovery Instance by ID.
updateFailbackReplicationConfigurationRequest - default CompletableFuture<UpdateFailbackReplicationConfigurationResponse> updateFailbackReplicationConfiguration(Consumer<UpdateFailbackReplicationConfigurationRequest.Builder> updateFailbackReplicationConfigurationRequest)
Allows you to update the failback replication configuration of a Recovery Instance by ID.
This is a convenience which creates an instance of the
UpdateFailbackReplicationConfigurationRequest.Builder avoiding the need to create one manually via
UpdateFailbackReplicationConfigurationRequest.builder()
updateFailbackReplicationConfigurationRequest - A Consumer that will call methods on
UpdateFailbackReplicationConfigurationRequest.Builder to
create a request.default CompletableFuture<UpdateLaunchConfigurationResponse> updateLaunchConfiguration(UpdateLaunchConfigurationRequest updateLaunchConfigurationRequest)
Updates a LaunchConfiguration by Source Server ID.
updateLaunchConfigurationRequest - default CompletableFuture<UpdateLaunchConfigurationResponse> updateLaunchConfiguration(Consumer<UpdateLaunchConfigurationRequest.Builder> updateLaunchConfigurationRequest)
Updates a LaunchConfiguration by Source Server ID.
This is a convenience which creates an instance of the UpdateLaunchConfigurationRequest.Builder avoiding
the need to create one manually via UpdateLaunchConfigurationRequest.builder()
updateLaunchConfigurationRequest - A Consumer that will call methods on
UpdateLaunchConfigurationRequest.Builder to create a
request.default CompletableFuture<UpdateLaunchConfigurationTemplateResponse> updateLaunchConfigurationTemplate(UpdateLaunchConfigurationTemplateRequest updateLaunchConfigurationTemplateRequest)
Updates an existing Launch Configuration Template by ID.
updateLaunchConfigurationTemplateRequest - default CompletableFuture<UpdateLaunchConfigurationTemplateResponse> updateLaunchConfigurationTemplate(Consumer<UpdateLaunchConfigurationTemplateRequest.Builder> updateLaunchConfigurationTemplateRequest)
Updates an existing Launch Configuration Template by ID.
This is a convenience which creates an instance of the UpdateLaunchConfigurationTemplateRequest.Builder
avoiding the need to create one manually via UpdateLaunchConfigurationTemplateRequest.builder()
updateLaunchConfigurationTemplateRequest - A Consumer that will call methods on
UpdateLaunchConfigurationTemplateRequest.Builder to
create a request.default CompletableFuture<UpdateReplicationConfigurationResponse> updateReplicationConfiguration(UpdateReplicationConfigurationRequest updateReplicationConfigurationRequest)
Allows you to update a ReplicationConfiguration by Source Server ID.
updateReplicationConfigurationRequest - default CompletableFuture<UpdateReplicationConfigurationResponse> updateReplicationConfiguration(Consumer<UpdateReplicationConfigurationRequest.Builder> updateReplicationConfigurationRequest)
Allows you to update a ReplicationConfiguration by Source Server ID.
This is a convenience which creates an instance of the UpdateReplicationConfigurationRequest.Builder
avoiding the need to create one manually via UpdateReplicationConfigurationRequest.builder()
updateReplicationConfigurationRequest - A Consumer that will call methods on
UpdateReplicationConfigurationRequest.Builder to create
a request.default CompletableFuture<UpdateReplicationConfigurationTemplateResponse> updateReplicationConfigurationTemplate(UpdateReplicationConfigurationTemplateRequest updateReplicationConfigurationTemplateRequest)
Updates a ReplicationConfigurationTemplate by ID.
updateReplicationConfigurationTemplateRequest - default CompletableFuture<UpdateReplicationConfigurationTemplateResponse> updateReplicationConfigurationTemplate(Consumer<UpdateReplicationConfigurationTemplateRequest.Builder> updateReplicationConfigurationTemplateRequest)
Updates a ReplicationConfigurationTemplate by ID.
This is a convenience which creates an instance of the
UpdateReplicationConfigurationTemplateRequest.Builder avoiding the need to create one manually via
UpdateReplicationConfigurationTemplateRequest.builder()
updateReplicationConfigurationTemplateRequest - A Consumer that will call methods on
UpdateReplicationConfigurationTemplateRequest.Builder to
create a request.default DrsServiceClientConfiguration serviceClientConfiguration()
serviceClientConfiguration in interface AwsClientserviceClientConfiguration in interface SdkClientstatic DrsAsyncClient create()
DrsAsyncClient with the region loaded from the
DefaultAwsRegionProviderChain and credentials loaded from the
DefaultCredentialsProvider.static DrsAsyncClientBuilder builder()
DrsAsyncClient.Copyright © 2023. All rights reserved.