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

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

@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.awsnative.quicksight.kotlin.outputs

import com.pulumi.awsnative.quicksight.kotlin.enums.AnalysisSheetContentType
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List

/**
 *
 * @property contentType The layout content type of the sheet. Choose one of the following options:
 * - `PAGINATED` : Creates a sheet for a paginated report.
 * - `INTERACTIVE` : Creates a sheet for an interactive dashboard.
 * @property description A description of the sheet.
 * @property filterControls The list of filter controls that are on a sheet.
 * For more information, see [Adding filter controls to analysis sheets](https://docs.aws.amazon.com/quicksight/latest/user/filter-controls.html) in the *Amazon QuickSight User Guide* .
 * @property layouts Layouts define how the components of a sheet are arranged.
 * For more information, see [Types of layout](https://docs.aws.amazon.com/quicksight/latest/user/types-of-layout.html) in the *Amazon QuickSight User Guide* .
 * @property name The name of the sheet. This name is displayed on the sheet's tab in the Amazon QuickSight console.
 * @property parameterControls The list of parameter controls that are on a sheet.
 * For more information, see [Using a Control with a Parameter in Amazon QuickSight](https://docs.aws.amazon.com/quicksight/latest/user/parameters-controls.html) in the *Amazon QuickSight User Guide* .
 * @property sheetControlLayouts The control layouts of the sheet.
 * @property sheetId The unique identifier of a sheet.
 * @property textBoxes The text boxes that are on a sheet.
 * @property title The title of the sheet.
 * @property visuals A list of the visuals that are on a sheet. Visual placement is determined by the layout of the sheet.
 */
public data class AnalysisSheetDefinition(
    public val contentType: AnalysisSheetContentType? = null,
    public val description: String? = null,
    public val filterControls: List? = null,
    public val layouts: List? = null,
    public val name: String? = null,
    public val parameterControls: List? = null,
    public val sheetControlLayouts: List? = null,
    public val sheetId: String,
    public val textBoxes: List? = null,
    public val title: String? = null,
    public val visuals: List? = null,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.awsnative.quicksight.outputs.AnalysisSheetDefinition): AnalysisSheetDefinition = AnalysisSheetDefinition(
            contentType = javaType.contentType().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.awsnative.quicksight.kotlin.enums.AnalysisSheetContentType.Companion.toKotlin(args0)
                })
            }).orElse(null),
            description = javaType.description().map({ args0 -> args0 }).orElse(null),
            filterControls = javaType.filterControls().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.awsnative.quicksight.kotlin.outputs.AnalysisFilterControl.Companion.toKotlin(args0)
                })
            }),
            layouts = javaType.layouts().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.awsnative.quicksight.kotlin.outputs.AnalysisLayout.Companion.toKotlin(args0)
                })
            }),
            name = javaType.name().map({ args0 -> args0 }).orElse(null),
            parameterControls = javaType.parameterControls().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.awsnative.quicksight.kotlin.outputs.AnalysisParameterControl.Companion.toKotlin(args0)
                })
            }),
            sheetControlLayouts = javaType.sheetControlLayouts().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.awsnative.quicksight.kotlin.outputs.AnalysisSheetControlLayout.Companion.toKotlin(args0)
                })
            }),
            sheetId = javaType.sheetId(),
            textBoxes = javaType.textBoxes().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.awsnative.quicksight.kotlin.outputs.AnalysisSheetTextBox.Companion.toKotlin(args0)
                })
            }),
            title = javaType.title().map({ args0 -> args0 }).orElse(null),
            visuals = javaType.visuals().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.awsnative.quicksight.kotlin.outputs.AnalysisVisual.Companion.toKotlin(args0)
                })
            }),
        )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy