io.burkard.cdk.services.customerprofiles.CfnDomainProps.scala Maven / Gradle / Ivy
The newest version!
package io.burkard.cdk.services.customerprofiles
import scala.collection.JavaConverters._
@scala.annotation.nowarn("cat=deprecation")
@SuppressWarnings(Array("org.wartremover.warts.DefaultArguments", "org.wartremover.warts.Null", "DisableSyntax.null"))
object CfnDomainProps {
def apply(
domainName: String,
tags: Option[List[_ <: software.amazon.awscdk.CfnTag]] = None,
defaultExpirationDays: Option[Number] = None,
deadLetterQueueUrl: Option[String] = None,
defaultEncryptionKey: Option[String] = None
): software.amazon.awscdk.services.customerprofiles.CfnDomainProps =
(new software.amazon.awscdk.services.customerprofiles.CfnDomainProps.Builder)
.domainName(domainName)
.tags(tags.map(_.asJava).orNull)
.defaultExpirationDays(defaultExpirationDays.orNull)
.deadLetterQueueUrl(deadLetterQueueUrl.orNull)
.defaultEncryptionKey(defaultEncryptionKey.orNull)
.build()
}