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

com.pulumi.awsnative.quicksight.kotlin.outputs.AnalysisFreeFormLayoutElement.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: 1.11.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

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

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

/**
 *
 * @property backgroundStyle The background style configuration of a free-form layout element.
 * @property borderStyle The border style configuration of a free-form layout element.
 * @property elementId A unique identifier for an element within a free-form layout.
 * @property elementType The type of element.
 * @property height String based length that is composed of value and unit in px
 * @property loadingAnimation The loading animation configuration of a free-form layout element.
 * @property renderingRules The rendering rules that determine when an element should be displayed within a free-form layout.
 * @property selectedBorderStyle The border style configuration of a free-form layout element. This border style is used when the element is selected.
 * @property visibility The visibility of an element within a free-form layout.
 * @property width String based length that is composed of value and unit in px
 * @property xAxisLocation String based length that is composed of value and unit in px
 * @property yAxisLocation String based length that is composed of value and unit in px with Integer.MAX_VALUE as maximum value
 */
public data class AnalysisFreeFormLayoutElement(
    public val backgroundStyle: AnalysisFreeFormLayoutElementBackgroundStyle? = null,
    public val borderStyle: AnalysisFreeFormLayoutElementBorderStyle? = null,
    public val elementId: String,
    public val elementType: AnalysisLayoutElementType,
    public val height: String,
    public val loadingAnimation: AnalysisLoadingAnimation? = null,
    public val renderingRules: List? = null,
    public val selectedBorderStyle: AnalysisFreeFormLayoutElementBorderStyle? = null,
    public val visibility: AnalysisVisibility? = null,
    public val width: String,
    public val xAxisLocation: String,
    public val yAxisLocation: String,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.awsnative.quicksight.outputs.AnalysisFreeFormLayoutElement): AnalysisFreeFormLayoutElement = AnalysisFreeFormLayoutElement(
            backgroundStyle = javaType.backgroundStyle().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.awsnative.quicksight.kotlin.outputs.AnalysisFreeFormLayoutElementBackgroundStyle.Companion.toKotlin(args0)
                })
            }).orElse(null),
            borderStyle = javaType.borderStyle().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.awsnative.quicksight.kotlin.outputs.AnalysisFreeFormLayoutElementBorderStyle.Companion.toKotlin(args0)
                })
            }).orElse(null),
            elementId = javaType.elementId(),
            elementType = javaType.elementType().let({ args0 ->
                com.pulumi.awsnative.quicksight.kotlin.enums.AnalysisLayoutElementType.Companion.toKotlin(args0)
            }),
            height = javaType.height(),
            loadingAnimation = javaType.loadingAnimation().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.awsnative.quicksight.kotlin.outputs.AnalysisLoadingAnimation.Companion.toKotlin(args0)
                })
            }).orElse(null),
            renderingRules = javaType.renderingRules().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.awsnative.quicksight.kotlin.outputs.AnalysisSheetElementRenderingRule.Companion.toKotlin(args0)
                })
            }),
            selectedBorderStyle = javaType.selectedBorderStyle().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.awsnative.quicksight.kotlin.outputs.AnalysisFreeFormLayoutElementBorderStyle.Companion.toKotlin(args0)
                })
            }).orElse(null),
            visibility = javaType.visibility().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.awsnative.quicksight.kotlin.enums.AnalysisVisibility.Companion.toKotlin(args0)
                })
            }).orElse(null),
            width = javaType.width(),
            xAxisLocation = javaType.xAxisLocation(),
            yAxisLocation = javaType.yAxisLocation(),
        )
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy