com.pulumi.awsnative.quicksight.kotlin.outputs.TemplateVersionDefinition.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-aws-native-kotlin Show documentation
Show all versions of pulumi-aws-native-kotlin Show documentation
Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.awsnative.quicksight.kotlin.outputs
import kotlin.Suppress
import kotlin.collections.List
/**
*
* @property analysisDefaults
* @property calculatedFields An array of calculated field definitions for the template.
* @property columnConfigurations An array of template-level column configurations. Column configurations are used to set default formatting for a column that's used throughout a template.
* @property dataSetConfigurations An array of dataset configurations. These configurations define the required columns for each dataset used within a template.
* @property filterGroups Filter definitions for a template.
* For more information, see [Filtering Data](https://docs.aws.amazon.com/quicksight/latest/user/filtering-visual-data.html) in the *Amazon QuickSight User Guide* .
* @property options An array of option definitions for a template.
* @property parameterDeclarations An array of parameter declarations for a template.
* *Parameters* are named variables that can transfer a value for use by an action or an object.
* For more information, see [Parameters in Amazon QuickSight](https://docs.aws.amazon.com/quicksight/latest/user/parameters-in-quicksight.html) in the *Amazon QuickSight User Guide* .
* @property sheets An array of sheet definitions for a template.
*/
public data class TemplateVersionDefinition(
public val analysisDefaults: TemplateAnalysisDefaults? = null,
public val calculatedFields: List? = null,
public val columnConfigurations: List? = null,
public val dataSetConfigurations: List,
public val filterGroups: List? = null,
public val options: TemplateAssetOptions? = null,
public val parameterDeclarations: List? = null,
public val sheets: List? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.awsnative.quicksight.outputs.TemplateVersionDefinition): TemplateVersionDefinition = TemplateVersionDefinition(
analysisDefaults = javaType.analysisDefaults().map({ args0 ->
args0.let({ args0 ->
com.pulumi.awsnative.quicksight.kotlin.outputs.TemplateAnalysisDefaults.Companion.toKotlin(args0)
})
}).orElse(null),
calculatedFields = javaType.calculatedFields().map({ args0 ->
args0.let({ args0 ->
com.pulumi.awsnative.quicksight.kotlin.outputs.TemplateCalculatedField.Companion.toKotlin(args0)
})
}),
columnConfigurations = javaType.columnConfigurations().map({ args0 ->
args0.let({ args0 ->
com.pulumi.awsnative.quicksight.kotlin.outputs.TemplateColumnConfiguration.Companion.toKotlin(args0)
})
}),
dataSetConfigurations = javaType.dataSetConfigurations().map({ args0 ->
args0.let({ args0 ->
com.pulumi.awsnative.quicksight.kotlin.outputs.TemplateDataSetConfiguration.Companion.toKotlin(args0)
})
}),
filterGroups = javaType.filterGroups().map({ args0 ->
args0.let({ args0 ->
com.pulumi.awsnative.quicksight.kotlin.outputs.TemplateFilterGroup.Companion.toKotlin(args0)
})
}),
options = javaType.options().map({ args0 ->
args0.let({ args0 ->
com.pulumi.awsnative.quicksight.kotlin.outputs.TemplateAssetOptions.Companion.toKotlin(args0)
})
}).orElse(null),
parameterDeclarations = javaType.parameterDeclarations().map({ args0 ->
args0.let({ args0 ->
com.pulumi.awsnative.quicksight.kotlin.outputs.TemplateParameterDeclaration.Companion.toKotlin(args0)
})
}),
sheets = javaType.sheets().map({ args0 ->
args0.let({ args0 ->
com.pulumi.awsnative.quicksight.kotlin.outputs.TemplateSheetDefinition.Companion.toKotlin(args0)
})
}),
)
}
}