@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 the UpdateMySqlInitialLoadSettings.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 called UpdateMySqlInitialLoadSettings.Builder.__explicitlySet__
. The hashCode()
and equals(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
).
Modifier and Type | Class and Description |
---|---|
static class |
UpdateMySqlInitialLoadSettings.Builder |
EXPLICITLY_SET_FILTER_NAME, EXPLICITLY_SET_PROPERTY_NAME
Constructor and Description |
---|
UpdateMySqlInitialLoadSettings(Boolean isConsistent,
Boolean isTzUtc,
List<CompatibilityOption> compatibility,
PrimaryKeyCompatibility primaryKeyCompatibility,
Boolean isIgnoreExistingObjects,
HandleGrantErrors handleGrantErrors,
JobModeMySql jobMode)
Deprecated.
|
Modifier and Type | Method and 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 Mode
|
PrimaryKeyCompatibility |
getPrimaryKeyCompatibility()
Primary key compatibility option
|
int |
hashCode() |
UpdateMySqlInitialLoadSettings.Builder |
toBuilder() |
String |
toString() |
String |
toString(boolean includeByteArrayContents)
Return a string representation of the object.
|
markPropertyAsExplicitlySet, wasPropertyExplicitlySet
@Deprecated @ConstructorProperties(value={"isConsistent","isTzUtc","compatibility","primaryKeyCompatibility","isIgnoreExistingObjects","handleGrantErrors","jobMode"}) public UpdateMySqlInitialLoadSettings(Boolean isConsistent, Boolean isTzUtc, List<CompatibilityOption> compatibility, PrimaryKeyCompatibility primaryKeyCompatibility, Boolean isIgnoreExistingObjects, HandleGrantErrors handleGrantErrors, JobModeMySql jobMode)
public static UpdateMySqlInitialLoadSettings.Builder builder()
Create a new builder.
public UpdateMySqlInitialLoadSettings.Builder toBuilder()
public Boolean getIsConsistent()
Enable (true) or disable (false) consistent data dumps by locking the instance for backup during the dump.
public Boolean getIsTzUtc()
Include a statement at the start of the dump to set the time zone to UTC.
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.
public PrimaryKeyCompatibility getPrimaryKeyCompatibility()
Primary key compatibility option
public Boolean getIsIgnoreExistingObjects()
Import the dump even if it contains objects that already exist in the target schema in the MySQL instance.
public HandleGrantErrors getHandleGrantErrors()
The action taken in the event of errors related to GRANT or REVOKE errors.
public JobModeMySql getJobMode()
MySql Job Mode
public String toString()
toString
in class com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
public String toString(boolean includeByteArrayContents)
Return a string representation of the object.
includeByteArrayContents
- true to include the full contents of byte arrayspublic boolean equals(Object o)
equals
in class com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
public int hashCode()
hashCode
in class com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
Copyright © 2016–2024. All rights reserved.