Interface RecoveryInstance.Builder

  • Method Details

    • agentVersion

      RecoveryInstance.Builder agentVersion(String agentVersion)

      The version of the DRS agent installed on the recovery instance

      Parameters:
      agentVersion - The version of the DRS agent installed on the recovery instance
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • arn

      The ARN of the Recovery Instance.

      Parameters:
      arn - The ARN of the Recovery Instance.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • dataReplicationInfo

      RecoveryInstance.Builder dataReplicationInfo(RecoveryInstanceDataReplicationInfo dataReplicationInfo)

      The Data Replication Info of the Recovery Instance.

      Parameters:
      dataReplicationInfo - The Data Replication Info of the Recovery Instance.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • dataReplicationInfo

      default RecoveryInstance.Builder dataReplicationInfo(Consumer<RecoveryInstanceDataReplicationInfo.Builder> dataReplicationInfo)

      The Data Replication Info of the Recovery Instance.

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

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to dataReplicationInfo(RecoveryInstanceDataReplicationInfo).

      Parameters:
      dataReplicationInfo - a consumer that will call methods on RecoveryInstanceDataReplicationInfo.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • ec2InstanceID

      RecoveryInstance.Builder ec2InstanceID(String ec2InstanceID)

      The EC2 instance ID of the Recovery Instance.

      Parameters:
      ec2InstanceID - The EC2 instance ID of the Recovery Instance.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • ec2InstanceState

      RecoveryInstance.Builder ec2InstanceState(String ec2InstanceState)

      The state of the EC2 instance for this Recovery Instance.

      Parameters:
      ec2InstanceState - The state of the EC2 instance for this Recovery Instance.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • ec2InstanceState

      RecoveryInstance.Builder ec2InstanceState(EC2InstanceState ec2InstanceState)

      The state of the EC2 instance for this Recovery Instance.

      Parameters:
      ec2InstanceState - The state of the EC2 instance for this Recovery Instance.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • failback

      An object representing failback related information of the Recovery Instance.

      Parameters:
      failback - An object representing failback related information of the Recovery Instance.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • failback

      An object representing failback related information of the Recovery Instance.

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

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to failback(RecoveryInstanceFailback).

      Parameters:
      failback - a consumer that will call methods on RecoveryInstanceFailback.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • isDrill

      Whether this Recovery Instance was created for a drill or for an actual Recovery event.

      Parameters:
      isDrill - Whether this Recovery Instance was created for a drill or for an actual Recovery event.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • jobID

      The ID of the Job that created the Recovery Instance.

      Parameters:
      jobID - The ID of the Job that created the Recovery Instance.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • originAvailabilityZone

      RecoveryInstance.Builder originAvailabilityZone(String originAvailabilityZone)

      AWS availability zone associated with the recovery instance.

      Parameters:
      originAvailabilityZone - AWS availability zone associated with the recovery instance.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • originEnvironment

      RecoveryInstance.Builder originEnvironment(String originEnvironment)

      Environment (On Premises / AWS) of the instance that the recovery instance originated from.

      Parameters:
      originEnvironment - Environment (On Premises / AWS) of the instance that the recovery instance originated from.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • originEnvironment

      RecoveryInstance.Builder originEnvironment(OriginEnvironment originEnvironment)

      Environment (On Premises / AWS) of the instance that the recovery instance originated from.

      Parameters:
      originEnvironment - Environment (On Premises / AWS) of the instance that the recovery instance originated from.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • pointInTimeSnapshotDateTime

      RecoveryInstance.Builder pointInTimeSnapshotDateTime(String pointInTimeSnapshotDateTime)

      The date and time of the Point in Time (PIT) snapshot that this Recovery Instance was launched from.

      Parameters:
      pointInTimeSnapshotDateTime - The date and time of the Point in Time (PIT) snapshot that this Recovery Instance was launched from.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • recoveryInstanceID

      RecoveryInstance.Builder recoveryInstanceID(String recoveryInstanceID)

      The ID of the Recovery Instance.

      Parameters:
      recoveryInstanceID - The ID of the Recovery Instance.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • recoveryInstanceProperties

      RecoveryInstance.Builder recoveryInstanceProperties(RecoveryInstanceProperties recoveryInstanceProperties)

      Properties of the Recovery Instance machine.

      Parameters:
      recoveryInstanceProperties - Properties of the Recovery Instance machine.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • recoveryInstanceProperties

      default RecoveryInstance.Builder recoveryInstanceProperties(Consumer<RecoveryInstanceProperties.Builder> recoveryInstanceProperties)

      Properties of the Recovery Instance machine.

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

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to recoveryInstanceProperties(RecoveryInstanceProperties).

      Parameters:
      recoveryInstanceProperties - a consumer that will call methods on RecoveryInstanceProperties.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • sourceOutpostArn

      RecoveryInstance.Builder sourceOutpostArn(String sourceOutpostArn)

      The ARN of the source Outpost

      Parameters:
      sourceOutpostArn - The ARN of the source Outpost
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • sourceServerID

      RecoveryInstance.Builder sourceServerID(String sourceServerID)

      The Source Server ID that this Recovery Instance is associated with.

      Parameters:
      sourceServerID - The Source Server ID that this Recovery Instance is associated with.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • tags

      An array of tags that are associated with the Recovery Instance.

      Parameters:
      tags - An array of tags that are associated with the Recovery Instance.
      Returns:
      Returns a reference to this object so that method calls can be chained together.