Interface DataReplicationInfo.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<DataReplicationInfo.Builder,,DataReplicationInfo> SdkBuilder<DataReplicationInfo.Builder,,DataReplicationInfo> SdkPojo
- Enclosing class:
DataReplicationInfo
-
Method Summary
Modifier and TypeMethodDescriptiondefault DataReplicationInfo.BuilderdataReplicationError(Consumer<DataReplicationError.Builder> dataReplicationError) Error in data replication.dataReplicationError(DataReplicationError dataReplicationError) Error in data replication.default DataReplicationInfo.BuilderdataReplicationInitiation(Consumer<DataReplicationInitiation.Builder> dataReplicationInitiation) Information about whether the data replication has been initiated.dataReplicationInitiation(DataReplicationInitiation dataReplicationInitiation) Information about whether the data replication has been initiated.dataReplicationState(String dataReplicationState) The state of the data replication.dataReplicationState(DataReplicationState 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<DataReplicationInfoReplicatedDisk> replicatedDisks) The disks that should be replicated.replicatedDisks(Consumer<DataReplicationInfoReplicatedDisk.Builder>... replicatedDisks) The disks that should be replicated.replicatedDisks(DataReplicationInfoReplicatedDisk... 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
Error in data replication.
- Parameters:
dataReplicationError- Error in data replication.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
dataReplicationError
default DataReplicationInfo.Builder dataReplicationError(Consumer<DataReplicationError.Builder> dataReplicationError) Error in data replication.
This is a convenience method that creates an instance of theDataReplicationError.Builderavoiding the need to create one manually viaDataReplicationError.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed todataReplicationError(DataReplicationError).- Parameters:
dataReplicationError- a consumer that will call methods onDataReplicationError.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
dataReplicationInitiation
DataReplicationInfo.Builder dataReplicationInitiation(DataReplicationInitiation 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 DataReplicationInfo.Builder dataReplicationInitiation(Consumer<DataReplicationInitiation.Builder> dataReplicationInitiation) Information about whether the data replication has been initiated.
This is a convenience method that creates an instance of theDataReplicationInitiation.Builderavoiding the need to create one manually viaDataReplicationInitiation.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed todataReplicationInitiation(DataReplicationInitiation).- Parameters:
dataReplicationInitiation- a consumer that will call methods onDataReplicationInitiation.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
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
DataReplicationInfo.Builder replicatedDisks(Collection<DataReplicationInfoReplicatedDisk> 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
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
DataReplicationInfo.Builder replicatedDisks(Consumer<DataReplicationInfoReplicatedDisk.Builder>... replicatedDisks) The disks that should be replicated.
This is a convenience method that creates an instance of theDataReplicationInfoReplicatedDisk.Builderavoiding the need to create one manually viaDataReplicationInfoReplicatedDisk.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toreplicatedDisks(List<DataReplicationInfoReplicatedDisk>).- Parameters:
replicatedDisks- a consumer that will call methods onDataReplicationInfoReplicatedDisk.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.
-