Class ChannelStatusResult.Builder

    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • channelId

        public ChannelStatusResult.Builder channelId​(String channelId)
        The OCID of the Channel for which the status is gathered.
        Parameters:
        channelId - the value to set
        Returns:
        this builder
      • isHealthy

        public ChannelStatusResult.Builder isHealthy​(Boolean isHealthy)
        Specifies if the channel is healthy or not.

        If healthy, replication target DB System is connected to the source and no replication errors are seen.

        Parameters:
        isHealthy - the value to set
        Returns:
        this builder
      • isReceivedGtidSetApplied

        public ChannelStatusResult.Builder isReceivedGtidSetApplied​(Boolean isReceivedGtidSetApplied)
        Specifies if all transactions received by this channel are executed and their GTIDs are part of gtid_executed set.
        Parameters:
        isReceivedGtidSetApplied - the value to set
        Returns:
        this builder
      • lagDuration

        public ChannelStatusResult.Builder lagDuration​(String lagDuration)
        The channel lag, with respect to the immediate source of the channel.

        If the channel is configured with replication delay, the channel lag includes the replication delay.

        Parameters:
        lagDuration - the value to set
        Returns:
        this builder