io.burkard.cdk.services.quicksight.CfnAnalysisProps.scala Maven / Gradle / Ivy
The newest version!
package io.burkard.cdk.services.quicksight
import scala.collection.JavaConverters._
@scala.annotation.nowarn("cat=deprecation")
@SuppressWarnings(Array("org.wartremover.warts.DefaultArguments", "org.wartremover.warts.Null", "DisableSyntax.null"))
object CfnAnalysisProps {
def apply(
awsAccountId: String,
analysisId: String,
sourceEntity: software.amazon.awscdk.services.quicksight.CfnAnalysis.AnalysisSourceEntityProperty,
name: Option[String] = None,
tags: Option[List[_ <: software.amazon.awscdk.CfnTag]] = None,
permissions: Option[List[_]] = None,
errors: Option[List[_]] = None,
themeArn: Option[String] = None,
parameters: Option[software.amazon.awscdk.services.quicksight.CfnAnalysis.ParametersProperty] = None
): software.amazon.awscdk.services.quicksight.CfnAnalysisProps =
(new software.amazon.awscdk.services.quicksight.CfnAnalysisProps.Builder)
.awsAccountId(awsAccountId)
.analysisId(analysisId)
.sourceEntity(sourceEntity)
.name(name.orNull)
.tags(tags.map(_.asJava).orNull)
.permissions(permissions.map(_.asJava).orNull)
.errors(errors.map(_.asJava).orNull)
.themeArn(themeArn.orNull)
.parameters(parameters.orNull)
.build()
}