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