All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.burkard.cdk.services.dms.cfnEndpoint.GcpMySQLSettingsProperty.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 GcpMySQLSettingsProperty {

  def apply(
    cleanSourceMetadataOnMismatch: Option[Boolean] = None,
    username: Option[String] = None,
    serverName: Option[String] = None,
    serverTimezone: Option[String] = None,
    eventsPollInterval: Option[Number] = None,
    secretsManagerAccessRoleArn: Option[String] = None,
    secretsManagerSecretId: Option[String] = None,
    afterConnectScript: Option[String] = None,
    port: Option[Number] = None,
    maxFileSize: Option[Number] = None,
    databaseName: Option[String] = None,
    parallelLoadThreads: Option[Number] = None,
    password: Option[String] = None
  ): software.amazon.awscdk.services.dms.CfnEndpoint.GcpMySQLSettingsProperty =
    (new software.amazon.awscdk.services.dms.CfnEndpoint.GcpMySQLSettingsProperty.Builder)
      .cleanSourceMetadataOnMismatch(cleanSourceMetadataOnMismatch.map(Boolean.box).orNull)
      .username(username.orNull)
      .serverName(serverName.orNull)
      .serverTimezone(serverTimezone.orNull)
      .eventsPollInterval(eventsPollInterval.orNull)
      .secretsManagerAccessRoleArn(secretsManagerAccessRoleArn.orNull)
      .secretsManagerSecretId(secretsManagerSecretId.orNull)
      .afterConnectScript(afterConnectScript.orNull)
      .port(port.orNull)
      .maxFileSize(maxFileSize.orNull)
      .databaseName(databaseName.orNull)
      .parallelLoadThreads(parallelLoadThreads.orNull)
      .password(password.orNull)
      .build()
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy