io.burkard.cdk.services.iotsitewise.CfnAssetProps.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 CfnAssetProps {
def apply(
assetModelId: String,
assetName: String,
tags: Option[List[_ <: software.amazon.awscdk.CfnTag]] = None,
assetDescription: Option[String] = None,
assetHierarchies: Option[List[_]] = None,
assetProperties: Option[List[_]] = None
): software.amazon.awscdk.services.iotsitewise.CfnAssetProps =
(new software.amazon.awscdk.services.iotsitewise.CfnAssetProps.Builder)
.assetModelId(assetModelId)
.assetName(assetName)
.tags(tags.map(_.asJava).orNull)
.assetDescription(assetDescription.orNull)
.assetHierarchies(assetHierarchies.map(_.asJava).orNull)
.assetProperties(assetProperties.map(_.asJava).orNull)
.build()
}