io.burkard.cdk.services.dms.cfnEndpoint.MySqlSettingsProperty.scala Maven / Gradle / Ivy
The newest version!
package io.burkard.cdk.services.dms.cfnEndpoint
@SuppressWarnings(Array("org.wartremover.warts.DefaultArguments", "org.wartremover.warts.Null", "DisableSyntax.null"))
object MySqlSettingsProperty {
def apply(
cleanSourceMetadataOnMismatch: Option[Boolean] = None,
targetDbType: Option[String] = None,
serverTimezone: Option[String] = None,
eventsPollInterval: Option[Number] = None,
secretsManagerAccessRoleArn: Option[String] = None,
secretsManagerSecretId: Option[String] = None,
afterConnectScript: Option[String] = None,
maxFileSize: Option[Number] = None,
parallelLoadThreads: Option[Number] = None
): software.amazon.awscdk.services.dms.CfnEndpoint.MySqlSettingsProperty =
(new software.amazon.awscdk.services.dms.CfnEndpoint.MySqlSettingsProperty.Builder)
.cleanSourceMetadataOnMismatch(cleanSourceMetadataOnMismatch.map(Boolean.box).orNull)
.targetDbType(targetDbType.orNull)
.serverTimezone(serverTimezone.orNull)
.eventsPollInterval(eventsPollInterval.orNull)
.secretsManagerAccessRoleArn(secretsManagerAccessRoleArn.orNull)
.secretsManagerSecretId(secretsManagerSecretId.orNull)
.afterConnectScript(afterConnectScript.orNull)
.maxFileSize(maxFileSize.orNull)
.parallelLoadThreads(parallelLoadThreads.orNull)
.build()
}