Class UpdateMySqlInitialLoadSettings.Builder
- java.lang.Object
-
- com.oracle.bmc.databasemigration.model.UpdateMySqlInitialLoadSettings.Builder
-
- Enclosing class:
- UpdateMySqlInitialLoadSettings
public static class UpdateMySqlInitialLoadSettings.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description UpdateMySqlInitialLoadSettingsbuild()UpdateMySqlInitialLoadSettings.Buildercompatibility(List<CompatibilityOption> compatibility)Apply the specified requirements for compatibility with MySQL Database Service for all tables in the dump output, altering the dump files as necessary.UpdateMySqlInitialLoadSettings.Buildercopy(UpdateMySqlInitialLoadSettings model)UpdateMySqlInitialLoadSettings.BuilderhandleGrantErrors(HandleGrantErrors handleGrantErrors)The action taken in the event of errors related to GRANT or REVOKE errors.UpdateMySqlInitialLoadSettings.BuilderisConsistent(Boolean isConsistent)Enable (true) or disable (false) consistent data dumps by locking the instance for backup during the dump.UpdateMySqlInitialLoadSettings.BuilderisIgnoreExistingObjects(Boolean isIgnoreExistingObjects)Import the dump even if it contains objects that already exist in the target schema in the MySQL instance.UpdateMySqlInitialLoadSettings.BuilderisTzUtc(Boolean isTzUtc)Include a statement at the start of the dump to set the time zone to UTC.UpdateMySqlInitialLoadSettings.BuilderjobMode(JobModeMySql jobMode)MySql Job ModeUpdateMySqlInitialLoadSettings.BuilderprimaryKeyCompatibility(PrimaryKeyCompatibility primaryKeyCompatibility)Primary key compatibility option
-
-
-
Method Detail
-
isConsistent
public UpdateMySqlInitialLoadSettings.Builder isConsistent(Boolean isConsistent)
Enable (true) or disable (false) consistent data dumps by locking the instance for backup during the dump.- Parameters:
isConsistent- the value to set- Returns:
- this builder
-
isTzUtc
public UpdateMySqlInitialLoadSettings.Builder isTzUtc(Boolean isTzUtc)
Include a statement at the start of the dump to set the time zone to UTC.- Parameters:
isTzUtc- the value to set- Returns:
- this builder
-
compatibility
public UpdateMySqlInitialLoadSettings.Builder compatibility(List<CompatibilityOption> compatibility)
Apply the specified requirements for compatibility with MySQL Database Service for all tables in the dump output, altering the dump files as necessary.- Parameters:
compatibility- the value to set- Returns:
- this builder
-
primaryKeyCompatibility
public UpdateMySqlInitialLoadSettings.Builder primaryKeyCompatibility(PrimaryKeyCompatibility primaryKeyCompatibility)
Primary key compatibility option- Parameters:
primaryKeyCompatibility- the value to set- Returns:
- this builder
-
isIgnoreExistingObjects
public UpdateMySqlInitialLoadSettings.Builder isIgnoreExistingObjects(Boolean isIgnoreExistingObjects)
Import the dump even if it contains objects that already exist in the target schema in the MySQL instance.- Parameters:
isIgnoreExistingObjects- the value to set- Returns:
- this builder
-
handleGrantErrors
public UpdateMySqlInitialLoadSettings.Builder handleGrantErrors(HandleGrantErrors handleGrantErrors)
The action taken in the event of errors related to GRANT or REVOKE errors.- Parameters:
handleGrantErrors- the value to set- Returns:
- this builder
-
jobMode
public UpdateMySqlInitialLoadSettings.Builder jobMode(JobModeMySql jobMode)
MySql Job Mode- Parameters:
jobMode- the value to set- Returns:
- this builder
-
build
public UpdateMySqlInitialLoadSettings build()
-
copy
public UpdateMySqlInitialLoadSettings.Builder copy(UpdateMySqlInitialLoadSettings model)
-
-