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