Class MySqlInitialLoadSettings
- java.lang.Object
- 
- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
- 
- com.oracle.bmc.databasemigration.model.MySqlInitialLoadSettings
 
 
- 
 @Generated(value="OracleSDKGenerator", comments="API Version: 20230518") public final class MySqlInitialLoadSettings extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModelOptional dump settings
 Note: Objects should always be created or deserialized using theMySqlInitialLoadSettings.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 MySqlInitialLoadSettings.Builder, which maintain a set of all explicitly set fields calledMySqlInitialLoadSettings.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 SummaryNested Classes Modifier and Type Class Description static classMySqlInitialLoadSettings.Builder
 - 
Constructor SummaryConstructors Constructor Description MySqlInitialLoadSettings(Boolean isConsistent, Boolean isTzUtc, List<CompatibilityOption> compatibility, PrimaryKeyCompatibility primaryKeyCompatibility, Boolean isIgnoreExistingObjects, HandleGrantErrors handleGrantErrors, JobModeMySql jobMode)Deprecated.
 - 
Method SummaryAll Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static MySqlInitialLoadSettings.Builderbuilder()Create a new builder.booleanequals(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.HandleGrantErrorsgetHandleGrantErrors()The action taken in the event of errors related to GRANT or REVOKE errors.BooleangetIsConsistent()Enable (true) or disable (false) consistent data dumps by locking the instance for backup during the dump.BooleangetIsIgnoreExistingObjects()Import the dump even if it contains objects that already exist in the target schema in the MySQL instance.BooleangetIsTzUtc()Include a statement at the start of the dump to set the time zone to UTC.JobModeMySqlgetJobMode()MySql Job ModePrimaryKeyCompatibilitygetPrimaryKeyCompatibility()Primary key compatibility optioninthashCode()MySqlInitialLoadSettings.BuildertoBuilder()StringtoString()StringtoString(boolean includeByteArrayContents)Return a string representation of the object.
 
- 
- 
- 
Constructor Detail- 
MySqlInitialLoadSettings@Deprecated @ConstructorProperties({"isConsistent","isTzUtc","compatibility","primaryKeyCompatibility","isIgnoreExistingObjects","handleGrantErrors","jobMode"}) public MySqlInitialLoadSettings(Boolean isConsistent, Boolean isTzUtc, List<CompatibilityOption> compatibility, PrimaryKeyCompatibility primaryKeyCompatibility, Boolean isIgnoreExistingObjects, HandleGrantErrors handleGrantErrors, JobModeMySql jobMode) Deprecated.
 
- 
 - 
Method Detail- 
builderpublic static MySqlInitialLoadSettings.Builder builder() Create a new builder.
 - 
toBuilderpublic MySqlInitialLoadSettings.Builder toBuilder() 
 - 
getIsConsistentpublic Boolean getIsConsistent() Enable (true) or disable (false) consistent data dumps by locking the instance for backup during the dump.- Returns:
- the value
 
 - 
getIsTzUtcpublic Boolean getIsTzUtc() Include a statement at the start of the dump to set the time zone to UTC.- Returns:
- the value
 
 - 
getCompatibilitypublic 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
 
 - 
getPrimaryKeyCompatibilitypublic PrimaryKeyCompatibility getPrimaryKeyCompatibility() Primary key compatibility option- Returns:
- the value
 
 - 
getIsIgnoreExistingObjectspublic Boolean getIsIgnoreExistingObjects() Import the dump even if it contains objects that already exist in the target schema in the MySQL instance.- Returns:
- the value
 
 - 
getHandleGrantErrorspublic HandleGrantErrors getHandleGrantErrors() The action taken in the event of errors related to GRANT or REVOKE errors.- Returns:
- the value
 
 - 
getJobModepublic JobModeMySql getJobMode() MySql Job Mode- Returns:
- the value
 
 - 
toStringpublic String toString() - Overrides:
- toStringin class- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
 
 - 
toStringpublic 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
 
 - 
equalspublic boolean equals(Object o) - Overrides:
- equalsin class- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
 
 - 
hashCodepublic int hashCode() - Overrides:
- hashCodein class- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
 
 
- 
 
-