All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.pulumi.awsnative.quicksight.kotlin.outputs.DashboardVersionDefinition.kt Maven / Gradle / Ivy

Go to download

Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.

There is a newer version: 0.122.0.0
Show newest version
@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 dashboard.
 * @property columnConfigurations An array of dashboard-level column configurations. Column configurations are used to set the default formatting for a column that is used throughout a dashboard.
 * @property dataSetIdentifierDeclarations An array of dataset identifier declarations. With this mapping,you can use dataset identifiers instead of dataset Amazon Resource Names (ARNs) throughout the dashboard's sub-structures.
 * @property filterGroups The filter definitions for a dashboard.
 * For more information, see [Filtering Data in Amazon QuickSight](https://docs.aws.amazon.com/quicksight/latest/user/adding-a-filter.html) in the *Amazon QuickSight User Guide* .
 * @property options An array of option definitions for a dashboard.
 * @property parameterDeclarations The parameter declarations for a dashboard. 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 dashboard.
 */
public data class DashboardVersionDefinition(
    public val analysisDefaults: DashboardAnalysisDefaults? = null,
    public val calculatedFields: List? = null,
    public val columnConfigurations: List? = null,
    public val dataSetIdentifierDeclarations: List,
    public val filterGroups: List? = null,
    public val options: DashboardAssetOptions? = null,
    public val parameterDeclarations: List? = null,
    public val sheets: List? = null,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.awsnative.quicksight.outputs.DashboardVersionDefinition): DashboardVersionDefinition = DashboardVersionDefinition(
            analysisDefaults = javaType.analysisDefaults().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.awsnative.quicksight.kotlin.outputs.DashboardAnalysisDefaults.Companion.toKotlin(args0)
                })
            }).orElse(null),
            calculatedFields = javaType.calculatedFields().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.awsnative.quicksight.kotlin.outputs.DashboardCalculatedField.Companion.toKotlin(args0)
                })
            }),
            columnConfigurations = javaType.columnConfigurations().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.awsnative.quicksight.kotlin.outputs.DashboardColumnConfiguration.Companion.toKotlin(args0)
                })
            }),
            dataSetIdentifierDeclarations = javaType.dataSetIdentifierDeclarations().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.awsnative.quicksight.kotlin.outputs.DashboardDataSetIdentifierDeclaration.Companion.toKotlin(args0)
                })
            }),
            filterGroups = javaType.filterGroups().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.awsnative.quicksight.kotlin.outputs.DashboardFilterGroup.Companion.toKotlin(args0)
                })
            }),
            options = javaType.options().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.awsnative.quicksight.kotlin.outputs.DashboardAssetOptions.Companion.toKotlin(args0)
                })
            }).orElse(null),
            parameterDeclarations = javaType.parameterDeclarations().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.awsnative.quicksight.kotlin.outputs.DashboardParameterDeclaration.Companion.toKotlin(args0)
                })
            }),
            sheets = javaType.sheets().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.awsnative.quicksight.kotlin.outputs.DashboardSheetDefinition.Companion.toKotlin(args0)
                })
            }),
        )
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy