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