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