Package com.oracle.bmc.mysql.model
Class ChannelStatusResult.Builder
- java.lang.Object
-
- com.oracle.bmc.mysql.model.ChannelStatusResult.Builder
-
- Enclosing class:
- ChannelStatusResult
public static class ChannelStatusResult.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ChannelStatusResultbuild()ChannelStatusResult.BuilderchannelId(String channelId)The OCID of the Channel for which the status is gathered.ChannelStatusResult.Buildercopy(ChannelStatusResult model)ChannelStatusResult.Buildererrors(List<String> errors)Channel errors identified, if there are any.ChannelStatusResult.BuilderisHealthy(Boolean isHealthy)Specifies if the channel is healthy or not.ChannelStatusResult.BuilderisReceivedGtidSetApplied(Boolean isReceivedGtidSetApplied)Specifies if all transactions received by this channel are executed and their GTIDs are part of gtid_executed set.ChannelStatusResult.BuilderlagDuration(String lagDuration)The channel lag, with respect to the immediate source of the channel.
-
-
-
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
-
errors
public ChannelStatusResult.Builder errors(List<String> errors)
Channel errors identified, if there are any.- Parameters:
errors- 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
-
build
public ChannelStatusResult build()
-
copy
public ChannelStatusResult.Builder copy(ChannelStatusResult model)
-
-