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