Interface RecoveryInstance.Builder

    • Method Detail

      • 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

        RecoveryInstance.Builder arn​(String 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.
      • 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, EC2InstanceState
      • 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:
        EC2InstanceState, EC2InstanceState
      • failback

        RecoveryInstance.Builder failback​(RecoveryInstanceFailback 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.
      • isDrill

        RecoveryInstance.Builder isDrill​(Boolean 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

        RecoveryInstance.Builder jobID​(String 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, OriginEnvironment
      • 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:
        OriginEnvironment, OriginEnvironment
      • 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.
      • 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

        RecoveryInstance.Builder tags​(Map<String,​String> 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.