Class UpdateMySqlInitialLoadSettings
- java.lang.Object
-
- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
- com.oracle.bmc.databasemigration.model.UpdateMySqlInitialLoadSettings
-
@Generated(value="OracleSDKGenerator", comments="API Version: 20230518") public final class UpdateMySqlInitialLoadSettings extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
Optional dump settings
Note: Objects should always be created or deserialized using theUpdateMySqlInitialLoadSettings.Builder
.This model distinguishes fields that are null because they are unset from fields that are explicitly set to null. This is done in the setter methods of the
UpdateMySqlInitialLoadSettings.Builder
, which maintain a set of all explicitly set fields calledUpdateMySqlInitialLoadSettings.Builder.__explicitlySet__
. ThehashCode()
andequals(Object)
methods are implemented to take the explicitly set fields into account. The constructor, on the other hand, does not take the explicitly set fields into account (since the constructor cannot distinguish explicit null from unset null).
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
UpdateMySqlInitialLoadSettings.Builder
-
Constructor Summary
Constructors Constructor Description UpdateMySqlInitialLoadSettings(Boolean isConsistent, Boolean isTzUtc, List<CompatibilityOption> compatibility, PrimaryKeyCompatibility primaryKeyCompatibility, Boolean isIgnoreExistingObjects, HandleGrantErrors handleGrantErrors, JobModeMySql jobMode)
Deprecated.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static UpdateMySqlInitialLoadSettings.Builder
builder()
Create a new builder.boolean
equals(Object o)
List<CompatibilityOption>
getCompatibility()
Apply the specified requirements for compatibility with MySQL Database Service for all tables in the dump output, altering the dump files as necessary.HandleGrantErrors
getHandleGrantErrors()
The action taken in the event of errors related to GRANT or REVOKE errors.Boolean
getIsConsistent()
Enable (true) or disable (false) consistent data dumps by locking the instance for backup during the dump.Boolean
getIsIgnoreExistingObjects()
Import the dump even if it contains objects that already exist in the target schema in the MySQL instance.Boolean
getIsTzUtc()
Include a statement at the start of the dump to set the time zone to UTC.JobModeMySql
getJobMode()
MySql Job ModePrimaryKeyCompatibility
getPrimaryKeyCompatibility()
Primary key compatibility optionint
hashCode()
UpdateMySqlInitialLoadSettings.Builder
toBuilder()
String
toString()
String
toString(boolean includeByteArrayContents)
Return a string representation of the object.
-
-
-
Constructor Detail
-
UpdateMySqlInitialLoadSettings
@Deprecated @ConstructorProperties({"isConsistent","isTzUtc","compatibility","primaryKeyCompatibility","isIgnoreExistingObjects","handleGrantErrors","jobMode"}) public UpdateMySqlInitialLoadSettings(Boolean isConsistent, Boolean isTzUtc, List<CompatibilityOption> compatibility, PrimaryKeyCompatibility primaryKeyCompatibility, Boolean isIgnoreExistingObjects, HandleGrantErrors handleGrantErrors, JobModeMySql jobMode)
Deprecated.
-
-
Method Detail
-
builder
public static UpdateMySqlInitialLoadSettings.Builder builder()
Create a new builder.
-
toBuilder
public UpdateMySqlInitialLoadSettings.Builder toBuilder()
-
getIsConsistent
public Boolean getIsConsistent()
Enable (true) or disable (false) consistent data dumps by locking the instance for backup during the dump.- Returns:
- the value
-
getIsTzUtc
public Boolean getIsTzUtc()
Include a statement at the start of the dump to set the time zone to UTC.- Returns:
- the value
-
getCompatibility
public List<CompatibilityOption> getCompatibility()
Apply the specified requirements for compatibility with MySQL Database Service for all tables in the dump output, altering the dump files as necessary.- Returns:
- the value
-
getPrimaryKeyCompatibility
public PrimaryKeyCompatibility getPrimaryKeyCompatibility()
Primary key compatibility option- Returns:
- the value
-
getIsIgnoreExistingObjects
public Boolean getIsIgnoreExistingObjects()
Import the dump even if it contains objects that already exist in the target schema in the MySQL instance.- Returns:
- the value
-
getHandleGrantErrors
public HandleGrantErrors getHandleGrantErrors()
The action taken in the event of errors related to GRANT or REVOKE errors.- Returns:
- the value
-
getJobMode
public JobModeMySql getJobMode()
MySql Job Mode- Returns:
- the value
-
toString
public String toString()
- Overrides:
toString
in classcom.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
toString
public String toString(boolean includeByteArrayContents)
Return a string representation of the object.- Parameters:
includeByteArrayContents
- true to include the full contents of byte arrays- Returns:
- string representation
-
equals
public boolean equals(Object o)
- Overrides:
equals
in classcom.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classcom.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
-