Interface RecoveryInstance.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<RecoveryInstance.Builder,
,RecoveryInstance> SdkBuilder<RecoveryInstance.Builder,
,RecoveryInstance> SdkPojo
- Enclosing class:
RecoveryInstance
-
Method Summary
Modifier and TypeMethodDescriptionagentVersion
(String agentVersion) The version of the DRS agent installed on the recovery instanceThe ARN of the Recovery Instance.default RecoveryInstance.Builder
dataReplicationInfo
(Consumer<RecoveryInstanceDataReplicationInfo.Builder> dataReplicationInfo) The Data Replication Info of the Recovery Instance.dataReplicationInfo
(RecoveryInstanceDataReplicationInfo dataReplicationInfo) The Data Replication Info of the Recovery Instance.ec2InstanceID
(String ec2InstanceID) The EC2 instance ID of the Recovery Instance.ec2InstanceState
(String ec2InstanceState) The state of the EC2 instance for this Recovery Instance.ec2InstanceState
(EC2InstanceState ec2InstanceState) The state of the EC2 instance for this Recovery Instance.default RecoveryInstance.Builder
failback
(Consumer<RecoveryInstanceFailback.Builder> failback) An object representing failback related information of the Recovery Instance.failback
(RecoveryInstanceFailback failback) An object representing failback related information of the Recovery Instance.Whether this Recovery Instance was created for a drill or for an actual Recovery event.The ID of the Job that created the Recovery Instance.originAvailabilityZone
(String originAvailabilityZone) AWS availability zone associated with the recovery instance.originEnvironment
(String originEnvironment) Environment (On Premises / AWS) of the instance that the recovery instance originated from.originEnvironment
(OriginEnvironment originEnvironment) Environment (On Premises / AWS) of the instance that the recovery instance originated from.pointInTimeSnapshotDateTime
(String pointInTimeSnapshotDateTime) The date and time of the Point in Time (PIT) snapshot that this Recovery Instance was launched from.recoveryInstanceID
(String recoveryInstanceID) The ID of the Recovery Instance.default RecoveryInstance.Builder
recoveryInstanceProperties
(Consumer<RecoveryInstanceProperties.Builder> recoveryInstanceProperties) Properties of the Recovery Instance machine.recoveryInstanceProperties
(RecoveryInstanceProperties recoveryInstanceProperties) Properties of the Recovery Instance machine.sourceOutpostArn
(String sourceOutpostArn) The ARN of the source OutpostsourceServerID
(String sourceServerID) The Source Server ID that this Recovery Instance is associated with.An array of tags that are associated with the Recovery Instance.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
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 theRecoveryInstanceDataReplicationInfo.Builder
avoiding the need to create one manually viaRecoveryInstanceDataReplicationInfo.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed todataReplicationInfo(RecoveryInstanceDataReplicationInfo)
.- Parameters:
dataReplicationInfo
- a consumer that will call methods onRecoveryInstanceDataReplicationInfo.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
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
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
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 theRecoveryInstanceFailback.Builder
avoiding the need to create one manually viaRecoveryInstanceFailback.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tofailback(RecoveryInstanceFailback)
.- Parameters:
failback
- a consumer that will call methods onRecoveryInstanceFailback.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
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
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
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
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
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 theRecoveryInstanceProperties.Builder
avoiding the need to create one manually viaRecoveryInstanceProperties.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed torecoveryInstanceProperties(RecoveryInstanceProperties)
.- Parameters:
recoveryInstanceProperties
- a consumer that will call methods onRecoveryInstanceProperties.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
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
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.
-