Class ReplicationProgress.Builder
- java.lang.Object
-
- com.oracle.bmc.cloudmigrations.model.ReplicationProgress.Builder
-
- Enclosing class:
- ReplicationProgress
public static class ReplicationProgress.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ReplicationProgressbuild()ReplicationProgress.Buildercopy(ReplicationProgress model)ReplicationProgress.BuilderlastReplicationError(String lastReplicationError)Error message if the last finished replication failed.ReplicationProgress.BuilderlastReplicationStatus(ReplicationProgress.LastReplicationStatus lastReplicationStatus)Status of the last replication task.ReplicationProgress.Builderpercentage(Integer percentage)Percentage of the current replication progress from 0 to 100.ReplicationProgress.Builderstatus(ReplicationProgress.Status status)Status of the current replication progress.ReplicationProgress.BuildertimeOfLastReplicationEnd(Date timeOfLastReplicationEnd)End time of the last replication process.ReplicationProgress.BuildertimeOflastReplicationStart(Date timeOflastReplicationStart)Start time of the last replication process.ReplicationProgress.BuildertimeOfLastReplicationSuccess(Date timeOfLastReplicationSuccess)End time of the last successful replication process, which has been completed.ReplicationProgress.BuildertimeStarted(Date timeStarted)Start time of the current replication process
-
-
-
Method Detail
-
percentage
public ReplicationProgress.Builder percentage(Integer percentage)
Percentage of the current replication progress from 0 to 100.- Parameters:
percentage- the value to set- Returns:
- this builder
-
status
public ReplicationProgress.Builder status(ReplicationProgress.Status status)
Status of the current replication progress.It can be None or InProgress.
- Parameters:
status- the value to set- Returns:
- this builder
-
timeStarted
public ReplicationProgress.Builder timeStarted(Date timeStarted)
Start time of the current replication process- Parameters:
timeStarted- the value to set- Returns:
- this builder
-
timeOflastReplicationStart
public ReplicationProgress.Builder timeOflastReplicationStart(Date timeOflastReplicationStart)
Start time of the last replication process.It can be Completed or Failed.
- Parameters:
timeOflastReplicationStart- the value to set- Returns:
- this builder
-
timeOfLastReplicationEnd
public ReplicationProgress.Builder timeOfLastReplicationEnd(Date timeOfLastReplicationEnd)
End time of the last replication process.It can be Completed or Failed.
- Parameters:
timeOfLastReplicationEnd- the value to set- Returns:
- this builder
-
timeOfLastReplicationSuccess
public ReplicationProgress.Builder timeOfLastReplicationSuccess(Date timeOfLastReplicationSuccess)
End time of the last successful replication process, which has been completed.- Parameters:
timeOfLastReplicationSuccess- the value to set- Returns:
- this builder
-
lastReplicationStatus
public ReplicationProgress.Builder lastReplicationStatus(ReplicationProgress.LastReplicationStatus lastReplicationStatus)
Status of the last replication task.It can be Completed or Failed.
- Parameters:
lastReplicationStatus- the value to set- Returns:
- this builder
-
lastReplicationError
public ReplicationProgress.Builder lastReplicationError(String lastReplicationError)
Error message if the last finished replication failed.- Parameters:
lastReplicationError- the value to set- Returns:
- this builder
-
build
public ReplicationProgress build()
-
copy
public ReplicationProgress.Builder copy(ReplicationProgress model)
-
-