public static class MySqlInitialLoadSettings.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
MySqlInitialLoadSettings |
build() |
MySqlInitialLoadSettings.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.
|
MySqlInitialLoadSettings.Builder |
copy(MySqlInitialLoadSettings model) |
MySqlInitialLoadSettings.Builder |
handleGrantErrors(HandleGrantErrors handleGrantErrors)
The action taken in the event of errors related to GRANT or REVOKE errors.
|
MySqlInitialLoadSettings.Builder |
isConsistent(Boolean isConsistent)
Enable (true) or disable (false) consistent data dumps by locking the instance for backup
during the dump.
|
MySqlInitialLoadSettings.Builder |
isIgnoreExistingObjects(Boolean isIgnoreExistingObjects)
Import the dump even if it contains objects that already exist in the target schema in
the MySQL instance.
|
MySqlInitialLoadSettings.Builder |
isTzUtc(Boolean isTzUtc)
Include a statement at the start of the dump to set the time zone to UTC.
|
MySqlInitialLoadSettings.Builder |
jobMode(JobModeMySql jobMode)
MySql Job Mode
|
MySqlInitialLoadSettings.Builder |
primaryKeyCompatibility(PrimaryKeyCompatibility primaryKeyCompatibility)
Primary key compatibility option
|
public MySqlInitialLoadSettings.Builder isConsistent(Boolean isConsistent)
Enable (true) or disable (false) consistent data dumps by locking the instance for backup during the dump.
isConsistent
- the value to setpublic MySqlInitialLoadSettings.Builder isTzUtc(Boolean isTzUtc)
Include a statement at the start of the dump to set the time zone to UTC.
isTzUtc
- the value to setpublic MySqlInitialLoadSettings.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.
compatibility
- the value to setpublic MySqlInitialLoadSettings.Builder primaryKeyCompatibility(PrimaryKeyCompatibility primaryKeyCompatibility)
Primary key compatibility option
primaryKeyCompatibility
- the value to setpublic MySqlInitialLoadSettings.Builder isIgnoreExistingObjects(Boolean isIgnoreExistingObjects)
Import the dump even if it contains objects that already exist in the target schema in the MySQL instance.
isIgnoreExistingObjects
- the value to setpublic MySqlInitialLoadSettings.Builder handleGrantErrors(HandleGrantErrors handleGrantErrors)
The action taken in the event of errors related to GRANT or REVOKE errors.
handleGrantErrors
- the value to setpublic MySqlInitialLoadSettings.Builder jobMode(JobModeMySql jobMode)
MySql Job Mode
jobMode
- the value to setpublic MySqlInitialLoadSettings build()
public MySqlInitialLoadSettings.Builder copy(MySqlInitialLoadSettings model)
Copyright © 2016–2024. All rights reserved.