public static class ReplicationProgress.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
ReplicationProgress |
build() |
ReplicationProgress.Builder |
copy(ReplicationProgress model) |
ReplicationProgress.Builder |
lastReplicationError(String lastReplicationError)
Error message if the last finished replication failed.
|
ReplicationProgress.Builder |
lastReplicationStatus(ReplicationProgress.LastReplicationStatus lastReplicationStatus)
Status of the last replication task.
|
ReplicationProgress.Builder |
percentage(Integer percentage)
Percentage of the current replication progress from 0 to 100.
|
ReplicationProgress.Builder |
status(ReplicationProgress.Status status)
Status of the current replication progress.
|
ReplicationProgress.Builder |
timeOfLastReplicationEnd(Date timeOfLastReplicationEnd)
End time of the last replication process.
|
ReplicationProgress.Builder |
timeOflastReplicationStart(Date timeOflastReplicationStart)
Start time of the last replication process.
|
ReplicationProgress.Builder |
timeOfLastReplicationSuccess(Date timeOfLastReplicationSuccess)
End time of the last successful replication process, which has been completed.
|
ReplicationProgress.Builder |
timeStarted(Date timeStarted)
Start time of the current replication process
|
public ReplicationProgress.Builder percentage(Integer percentage)
Percentage of the current replication progress from 0 to 100.
percentage
- the value to setpublic ReplicationProgress.Builder status(ReplicationProgress.Status status)
Status of the current replication progress. It can be None or InProgress.
status
- the value to setpublic ReplicationProgress.Builder timeStarted(Date timeStarted)
Start time of the current replication process
timeStarted
- the value to setpublic ReplicationProgress.Builder timeOflastReplicationStart(Date timeOflastReplicationStart)
Start time of the last replication process. It can be Completed or Failed.
timeOflastReplicationStart
- the value to setpublic ReplicationProgress.Builder timeOfLastReplicationEnd(Date timeOfLastReplicationEnd)
End time of the last replication process. It can be Completed or Failed.
timeOfLastReplicationEnd
- the value to setpublic ReplicationProgress.Builder timeOfLastReplicationSuccess(Date timeOfLastReplicationSuccess)
End time of the last successful replication process, which has been completed.
timeOfLastReplicationSuccess
- the value to setpublic ReplicationProgress.Builder lastReplicationStatus(ReplicationProgress.LastReplicationStatus lastReplicationStatus)
Status of the last replication task. It can be Completed or Failed.
lastReplicationStatus
- the value to setpublic ReplicationProgress.Builder lastReplicationError(String lastReplicationError)
Error message if the last finished replication failed.
lastReplicationError
- the value to setpublic ReplicationProgress build()
public ReplicationProgress.Builder copy(ReplicationProgress model)
Copyright © 2016–2024. All rights reserved.