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

io.burkard.cdk.services.redshiftserverless.CfnNamespaceProps.scala Maven / Gradle / Ivy

The newest version!
package io.burkard.cdk.services.redshiftserverless

import scala.collection.JavaConverters._

@scala.annotation.nowarn("cat=deprecation")
@SuppressWarnings(Array("org.wartremover.warts.DefaultArguments", "org.wartremover.warts.Null", "DisableSyntax.null"))
object CfnNamespaceProps {

  def apply(
    namespaceName: String,
    logExports: Option[List[String]] = None,
    defaultIamRoleArn: Option[String] = None,
    dbName: Option[String] = None,
    tags: Option[List[_ <: software.amazon.awscdk.CfnTag]] = None,
    adminUsername: Option[String] = None,
    adminUserPassword: Option[String] = None,
    finalSnapshotRetentionPeriod: Option[Number] = None,
    kmsKeyId: Option[String] = None,
    iamRoles: Option[List[String]] = None,
    finalSnapshotName: Option[String] = None
  ): software.amazon.awscdk.services.redshiftserverless.CfnNamespaceProps =
    (new software.amazon.awscdk.services.redshiftserverless.CfnNamespaceProps.Builder)
      .namespaceName(namespaceName)
      .logExports(logExports.map(_.asJava).orNull)
      .defaultIamRoleArn(defaultIamRoleArn.orNull)
      .dbName(dbName.orNull)
      .tags(tags.map(_.asJava).orNull)
      .adminUsername(adminUsername.orNull)
      .adminUserPassword(adminUserPassword.orNull)
      .finalSnapshotRetentionPeriod(finalSnapshotRetentionPeriod.orNull)
      .kmsKeyId(kmsKeyId.orNull)
      .iamRoles(iamRoles.map(_.asJava).orNull)
      .finalSnapshotName(finalSnapshotName.orNull)
      .build()
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy