io.burkard.cdk.services.nimblestudio.CfnStudioComponentProps.scala Maven / Gradle / Ivy
The newest version!
package io.burkard.cdk.services.nimblestudio
import scala.collection.JavaConverters._
@scala.annotation.nowarn("cat=deprecation")
@SuppressWarnings(Array("org.wartremover.warts.DefaultArguments", "org.wartremover.warts.Null", "DisableSyntax.null"))
object CfnStudioComponentProps {
def apply(
name: String,
studioId: String,
`type`: String,
subtype: Option[String] = None,
initializationScripts: Option[List[_]] = None,
description: Option[String] = None,
tags: Option[Map[String, String]] = None,
ec2SecurityGroupIds: Option[List[String]] = None,
configuration: Option[software.amazon.awscdk.services.nimblestudio.CfnStudioComponent.StudioComponentConfigurationProperty] = None,
scriptParameters: Option[List[_]] = None
): software.amazon.awscdk.services.nimblestudio.CfnStudioComponentProps =
(new software.amazon.awscdk.services.nimblestudio.CfnStudioComponentProps.Builder)
.name(name)
.studioId(studioId)
.`type`(`type`)
.subtype(subtype.orNull)
.initializationScripts(initializationScripts.map(_.asJava).orNull)
.description(description.orNull)
.tags(tags.map(_.asJava).orNull)
.ec2SecurityGroupIds(ec2SecurityGroupIds.map(_.asJava).orNull)
.configuration(configuration.orNull)
.scriptParameters(scriptParameters.map(_.asJava).orNull)
.build()
}