
com.pulumi.awsnative.quicksight.kotlin.outputs.DashboardFreeFormLayoutElement.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 com.pulumi.awsnative.quicksight.kotlin.enums.DashboardLayoutElementType
import com.pulumi.awsnative.quicksight.kotlin.enums.DashboardVisibility
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 DashboardFreeFormLayoutElement(
public val backgroundStyle: DashboardFreeFormLayoutElementBackgroundStyle? = null,
public val borderStyle: DashboardFreeFormLayoutElementBorderStyle? = null,
public val elementId: String,
public val elementType: DashboardLayoutElementType,
public val height: String,
public val loadingAnimation: DashboardLoadingAnimation? = null,
public val renderingRules: List? = null,
public val selectedBorderStyle: DashboardFreeFormLayoutElementBorderStyle? = null,
public val visibility: DashboardVisibility? = 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.DashboardFreeFormLayoutElement): DashboardFreeFormLayoutElement = DashboardFreeFormLayoutElement(
backgroundStyle = javaType.backgroundStyle().map({ args0 ->
args0.let({ args0 ->
com.pulumi.awsnative.quicksight.kotlin.outputs.DashboardFreeFormLayoutElementBackgroundStyle.Companion.toKotlin(args0)
})
}).orElse(null),
borderStyle = javaType.borderStyle().map({ args0 ->
args0.let({ args0 ->
com.pulumi.awsnative.quicksight.kotlin.outputs.DashboardFreeFormLayoutElementBorderStyle.Companion.toKotlin(args0)
})
}).orElse(null),
elementId = javaType.elementId(),
elementType = javaType.elementType().let({ args0 ->
com.pulumi.awsnative.quicksight.kotlin.enums.DashboardLayoutElementType.Companion.toKotlin(args0)
}),
height = javaType.height(),
loadingAnimation = javaType.loadingAnimation().map({ args0 ->
args0.let({ args0 ->
com.pulumi.awsnative.quicksight.kotlin.outputs.DashboardLoadingAnimation.Companion.toKotlin(args0)
})
}).orElse(null),
renderingRules = javaType.renderingRules().map({ args0 ->
args0.let({ args0 ->
com.pulumi.awsnative.quicksight.kotlin.outputs.DashboardSheetElementRenderingRule.Companion.toKotlin(args0)
})
}),
selectedBorderStyle = javaType.selectedBorderStyle().map({ args0 ->
args0.let({ args0 ->
com.pulumi.awsnative.quicksight.kotlin.outputs.DashboardFreeFormLayoutElementBorderStyle.Companion.toKotlin(args0)
})
}).orElse(null),
visibility = javaType.visibility().map({ args0 ->
args0.let({ args0 ->
com.pulumi.awsnative.quicksight.kotlin.enums.DashboardVisibility.Companion.toKotlin(args0)
})
}).orElse(null),
width = javaType.width(),
xAxisLocation = javaType.xAxisLocation(),
yAxisLocation = javaType.yAxisLocation(),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy