
com.pulumi.awsnative.quicksight.kotlin.inputs.AnalysisReferenceLineArgs.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.AnalysisReferenceLineArgs.builder
import com.pulumi.awsnative.quicksight.kotlin.enums.AnalysisWidgetStatus
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiNullFieldException
import com.pulumi.kotlin.PulumiTagMarker
import com.pulumi.kotlin.applySuspend
import kotlin.Suppress
import kotlin.Unit
import kotlin.jvm.JvmName
/**
*
* @property dataConfiguration The data configuration of the reference line.
* @property labelConfiguration The label configuration of the reference line.
* @property status The status of the reference line. Choose one of the following options:
* - `ENABLE`
* - `DISABLE`
* @property styleConfiguration The style configuration of the reference line.
*/
public data class AnalysisReferenceLineArgs(
public val dataConfiguration: Output,
public val labelConfiguration: Output? = null,
public val status: Output? = null,
public val styleConfiguration: Output? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.awsnative.quicksight.inputs.AnalysisReferenceLineArgs =
com.pulumi.awsnative.quicksight.inputs.AnalysisReferenceLineArgs.builder()
.dataConfiguration(dataConfiguration.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
.labelConfiguration(
labelConfiguration?.applyValue({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
}),
)
.status(status?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
.styleConfiguration(
styleConfiguration?.applyValue({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
}),
).build()
}
/**
* Builder for [AnalysisReferenceLineArgs].
*/
@PulumiTagMarker
public class AnalysisReferenceLineArgsBuilder internal constructor() {
private var dataConfiguration: Output? = null
private var labelConfiguration: Output? = null
private var status: Output? = null
private var styleConfiguration: Output? = null
/**
* @param value The data configuration of the reference line.
*/
@JvmName("fvrikfoatvovqjnj")
public suspend fun dataConfiguration(`value`: Output) {
this.dataConfiguration = value
}
/**
* @param value The label configuration of the reference line.
*/
@JvmName("gyjfkkcjmjcnkjgq")
public suspend fun labelConfiguration(`value`: Output) {
this.labelConfiguration = value
}
/**
* @param value The status of the reference line. Choose one of the following options:
* - `ENABLE`
* - `DISABLE`
*/
@JvmName("uyvcyhtwaaypsnbp")
public suspend fun status(`value`: Output) {
this.status = value
}
/**
* @param value The style configuration of the reference line.
*/
@JvmName("ruhhgeeyxngmwxav")
public suspend fun styleConfiguration(`value`: Output) {
this.styleConfiguration = value
}
/**
* @param value The data configuration of the reference line.
*/
@JvmName("hehewvodtmgtgeuf")
public suspend fun dataConfiguration(`value`: AnalysisReferenceLineDataConfigurationArgs) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.dataConfiguration = mapped
}
/**
* @param argument The data configuration of the reference line.
*/
@JvmName("nroeeblfgmgdkqpp")
public suspend fun dataConfiguration(argument: suspend AnalysisReferenceLineDataConfigurationArgsBuilder.() -> Unit) {
val toBeMapped = AnalysisReferenceLineDataConfigurationArgsBuilder().applySuspend {
argument()
}.build()
val mapped = of(toBeMapped)
this.dataConfiguration = mapped
}
/**
* @param value The label configuration of the reference line.
*/
@JvmName("qvdcacmiduoyjrrv")
public suspend fun labelConfiguration(`value`: AnalysisReferenceLineLabelConfigurationArgs?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.labelConfiguration = mapped
}
/**
* @param argument The label configuration of the reference line.
*/
@JvmName("clmoenvtpquqmvxd")
public suspend fun labelConfiguration(argument: suspend AnalysisReferenceLineLabelConfigurationArgsBuilder.() -> Unit) {
val toBeMapped = AnalysisReferenceLineLabelConfigurationArgsBuilder().applySuspend {
argument()
}.build()
val mapped = of(toBeMapped)
this.labelConfiguration = mapped
}
/**
* @param value The status of the reference line. Choose one of the following options:
* - `ENABLE`
* - `DISABLE`
*/
@JvmName("jsrnskpnldvrufig")
public suspend fun status(`value`: AnalysisWidgetStatus?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.status = mapped
}
/**
* @param value The style configuration of the reference line.
*/
@JvmName("adntdiwbudpbrxre")
public suspend fun styleConfiguration(`value`: AnalysisReferenceLineStyleConfigurationArgs?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.styleConfiguration = mapped
}
/**
* @param argument The style configuration of the reference line.
*/
@JvmName("fyqaxhoqugfqcabc")
public suspend fun styleConfiguration(argument: suspend AnalysisReferenceLineStyleConfigurationArgsBuilder.() -> Unit) {
val toBeMapped = AnalysisReferenceLineStyleConfigurationArgsBuilder().applySuspend {
argument()
}.build()
val mapped = of(toBeMapped)
this.styleConfiguration = mapped
}
internal fun build(): AnalysisReferenceLineArgs = AnalysisReferenceLineArgs(
dataConfiguration = dataConfiguration ?: throw PulumiNullFieldException("dataConfiguration"),
labelConfiguration = labelConfiguration,
status = status,
styleConfiguration = styleConfiguration,
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy