Class ReplicationProgress.Builder

    • Constructor Detail

      • Builder

        public Builder()
    • 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
      • 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
      • lastReplicationError

        public ReplicationProgress.Builder lastReplicationError​(String lastReplicationError)
        Error message if the last finished replication failed.
        Parameters:
        lastReplicationError - the value to set
        Returns:
        this builder