Interface RecoveryInstanceDataReplicationInfo.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<RecoveryInstanceDataReplicationInfo.Builder,,RecoveryInstanceDataReplicationInfo> SdkBuilder<RecoveryInstanceDataReplicationInfo.Builder,,RecoveryInstanceDataReplicationInfo> SdkPojo
- Enclosing class:
RecoveryInstanceDataReplicationInfo
-
Method Summary
Modifier and TypeMethodDescriptiondataReplicationError(Consumer<RecoveryInstanceDataReplicationError.Builder> dataReplicationError) Information about Data ReplicationdataReplicationError(RecoveryInstanceDataReplicationError dataReplicationError) Information about Data ReplicationdataReplicationInitiation(Consumer<RecoveryInstanceDataReplicationInitiation.Builder> dataReplicationInitiation) Information about whether the data replication has been initiated.dataReplicationInitiation(RecoveryInstanceDataReplicationInitiation dataReplicationInitiation) Information about whether the data replication has been initiated.dataReplicationState(String dataReplicationState) The state of the data replication.dataReplicationState(RecoveryInstanceDataReplicationState dataReplicationState) The state of the data replication.etaDateTime(String etaDateTime) An estimate of when the data replication will be completed.lagDuration(String lagDuration) Data replication lag duration.replicatedDisks(Collection<RecoveryInstanceDataReplicationInfoReplicatedDisk> replicatedDisks) The disks that should be replicated.replicatedDisks(Consumer<RecoveryInstanceDataReplicationInfoReplicatedDisk.Builder>... replicatedDisks) The disks that should be replicated.replicatedDisks(RecoveryInstanceDataReplicationInfoReplicatedDisk... replicatedDisks) The disks that should be replicated.stagingAvailabilityZone(String stagingAvailabilityZone) AWS Availability zone into which data is being replicated.stagingOutpostArn(String stagingOutpostArn) The ARN of the staging OutpostMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
dataReplicationError
RecoveryInstanceDataReplicationInfo.Builder dataReplicationError(RecoveryInstanceDataReplicationError dataReplicationError) Information about Data Replication
- Parameters:
dataReplicationError- Information about Data Replication- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
dataReplicationError
default RecoveryInstanceDataReplicationInfo.Builder dataReplicationError(Consumer<RecoveryInstanceDataReplicationError.Builder> dataReplicationError) Information about Data Replication
This is a convenience method that creates an instance of theRecoveryInstanceDataReplicationError.Builderavoiding the need to create one manually viaRecoveryInstanceDataReplicationError.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed todataReplicationError(RecoveryInstanceDataReplicationError).- Parameters:
dataReplicationError- a consumer that will call methods onRecoveryInstanceDataReplicationError.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
dataReplicationInitiation
RecoveryInstanceDataReplicationInfo.Builder dataReplicationInitiation(RecoveryInstanceDataReplicationInitiation dataReplicationInitiation) Information about whether the data replication has been initiated.
- Parameters:
dataReplicationInitiation- Information about whether the data replication has been initiated.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
dataReplicationInitiation
default RecoveryInstanceDataReplicationInfo.Builder dataReplicationInitiation(Consumer<RecoveryInstanceDataReplicationInitiation.Builder> dataReplicationInitiation) Information about whether the data replication has been initiated.
This is a convenience method that creates an instance of theRecoveryInstanceDataReplicationInitiation.Builderavoiding the need to create one manually viaRecoveryInstanceDataReplicationInitiation.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed todataReplicationInitiation(RecoveryInstanceDataReplicationInitiation).- Parameters:
dataReplicationInitiation- a consumer that will call methods onRecoveryInstanceDataReplicationInitiation.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
dataReplicationState
The state of the data replication.
- Parameters:
dataReplicationState- The state of the data replication.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
dataReplicationState
RecoveryInstanceDataReplicationInfo.Builder dataReplicationState(RecoveryInstanceDataReplicationState dataReplicationState) The state of the data replication.
- Parameters:
dataReplicationState- The state of the data replication.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
etaDateTime
An estimate of when the data replication will be completed.
- Parameters:
etaDateTime- An estimate of when the data replication will be completed.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
lagDuration
Data replication lag duration.
- Parameters:
lagDuration- Data replication lag duration.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
replicatedDisks
RecoveryInstanceDataReplicationInfo.Builder replicatedDisks(Collection<RecoveryInstanceDataReplicationInfoReplicatedDisk> replicatedDisks) The disks that should be replicated.
- Parameters:
replicatedDisks- The disks that should be replicated.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
replicatedDisks
RecoveryInstanceDataReplicationInfo.Builder replicatedDisks(RecoveryInstanceDataReplicationInfoReplicatedDisk... replicatedDisks) The disks that should be replicated.
- Parameters:
replicatedDisks- The disks that should be replicated.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
replicatedDisks
RecoveryInstanceDataReplicationInfo.Builder replicatedDisks(Consumer<RecoveryInstanceDataReplicationInfoReplicatedDisk.Builder>... replicatedDisks) The disks that should be replicated.
This is a convenience method that creates an instance of theRecoveryInstanceDataReplicationInfoReplicatedDisk.Builderavoiding the need to create one manually viaRecoveryInstanceDataReplicationInfoReplicatedDisk.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toreplicatedDisks(List<RecoveryInstanceDataReplicationInfoReplicatedDisk>).- Parameters:
replicatedDisks- a consumer that will call methods onRecoveryInstanceDataReplicationInfoReplicatedDisk.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
stagingAvailabilityZone
AWS Availability zone into which data is being replicated.
- Parameters:
stagingAvailabilityZone- AWS Availability zone into which data is being replicated.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
stagingOutpostArn
The ARN of the staging Outpost
- Parameters:
stagingOutpostArn- The ARN of the staging Outpost- Returns:
- Returns a reference to this object so that method calls can be chained together.
-