com.pulumi.awsnative.quicksight.kotlin.inputs.AnalysisSectionStyleArgs.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.inputs
import com.pulumi.awsnative.quicksight.inputs.AnalysisSectionStyleArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import com.pulumi.kotlin.applySuspend
import kotlin.String
import kotlin.Suppress
import kotlin.Unit
import kotlin.jvm.JvmName
/**
*
* @property height String based length that is composed of value and unit in px
* @property padding The spacing between section content and its top, bottom, left, and right edges.
* There is no padding by default.
*/
public data class AnalysisSectionStyleArgs(
public val height: Output? = null,
public val padding: Output? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.awsnative.quicksight.inputs.AnalysisSectionStyleArgs =
com.pulumi.awsnative.quicksight.inputs.AnalysisSectionStyleArgs.builder()
.height(height?.applyValue({ args0 -> args0 }))
.padding(padding?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) })).build()
}
/**
* Builder for [AnalysisSectionStyleArgs].
*/
@PulumiTagMarker
public class AnalysisSectionStyleArgsBuilder internal constructor() {
private var height: Output? = null
private var padding: Output? = null
/**
* @param value String based length that is composed of value and unit in px
*/
@JvmName("dskcehuoncchqsra")
public suspend fun height(`value`: Output) {
this.height = value
}
/**
* @param value The spacing between section content and its top, bottom, left, and right edges.
* There is no padding by default.
*/
@JvmName("upshwegstutifkqb")
public suspend fun padding(`value`: Output) {
this.padding = value
}
/**
* @param value String based length that is composed of value and unit in px
*/
@JvmName("mubefeftvoobihnt")
public suspend fun height(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.height = mapped
}
/**
* @param value The spacing between section content and its top, bottom, left, and right edges.
* There is no padding by default.
*/
@JvmName("owjwcxrejupmwlrt")
public suspend fun padding(`value`: AnalysisSpacingArgs?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.padding = mapped
}
/**
* @param argument The spacing between section content and its top, bottom, left, and right edges.
* There is no padding by default.
*/
@JvmName("heyyyglbhwwvsyrj")
public suspend fun padding(argument: suspend AnalysisSpacingArgsBuilder.() -> Unit) {
val toBeMapped = AnalysisSpacingArgsBuilder().applySuspend { argument() }.build()
val mapped = of(toBeMapped)
this.padding = mapped
}
internal fun build(): AnalysisSectionStyleArgs = AnalysisSectionStyleArgs(
height = height,
padding = padding,
)
}