Class MySqlApplyError.Builder
- java.lang.Object
-
- com.oracle.bmc.databasemanagement.model.MySqlApplyError.Builder
-
- Enclosing class:
- MySqlApplyError
public static class MySqlApplyError.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description MySqlApplyErrorbuild()MySqlApplyError.Buildercopy(MySqlApplyError model)MySqlApplyError.BuilderlastErrorMessage(String lastErrorMessage)The error message of the most recent error that caused the SQL or coordinator thread to stop.MySqlApplyError.BuilderlastErrorNumber(Integer lastErrorNumber)The error number of the most recent error that caused the SQL or coordinator thread to stop.MySqlApplyError.BuildertimeLastError(Date timeLastError)The timestamp when the most recent SQL or coordinator error occurred.MySqlApplyError.BuilderworkerErrors(List<MySqlApplyErrorWorker> workerErrors)A list of MySqlApplyErrorWorker records.
-
-
-
Method Detail
-
lastErrorNumber
public MySqlApplyError.Builder lastErrorNumber(Integer lastErrorNumber)
The error number of the most recent error that caused the SQL or coordinator thread to stop.- Parameters:
lastErrorNumber- the value to set- Returns:
- this builder
-
lastErrorMessage
public MySqlApplyError.Builder lastErrorMessage(String lastErrorMessage)
The error message of the most recent error that caused the SQL or coordinator thread to stop.- Parameters:
lastErrorMessage- the value to set- Returns:
- this builder
-
timeLastError
public MySqlApplyError.Builder timeLastError(Date timeLastError)
The timestamp when the most recent SQL or coordinator error occurred.- Parameters:
timeLastError- the value to set- Returns:
- this builder
-
workerErrors
public MySqlApplyError.Builder workerErrors(List<MySqlApplyErrorWorker> workerErrors)
A list of MySqlApplyErrorWorker records.- Parameters:
workerErrors- the value to set- Returns:
- this builder
-
build
public MySqlApplyError build()
-
copy
public MySqlApplyError.Builder copy(MySqlApplyError model)
-
-