
com.pulumi.awsnative.quicksight.kotlin.outputs.AnalysisReferenceLineLabelConfiguration.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.AnalysisReferenceLineLabelHorizontalPosition
import com.pulumi.awsnative.quicksight.kotlin.enums.AnalysisReferenceLineLabelVerticalPosition
import kotlin.String
import kotlin.Suppress
/**
*
* @property customLabelConfiguration The custom label configuration of the label in a reference line.
* @property fontColor The font color configuration of the label in a reference line.
* @property fontConfiguration The font configuration of the label in a reference line.
* @property horizontalPosition The horizontal position configuration of the label in a reference line. Choose one of the following options:
* - `LEFT`
* - `CENTER`
* - `RIGHT`
* @property valueLabelConfiguration The value label configuration of the label in a reference line.
* @property verticalPosition The vertical position configuration of the label in a reference line. Choose one of the following options:
* - `ABOVE`
* - `BELOW`
*/
public data class AnalysisReferenceLineLabelConfiguration(
public val customLabelConfiguration: AnalysisReferenceLineCustomLabelConfiguration? = null,
public val fontColor: String? = null,
public val fontConfiguration: AnalysisFontConfiguration? = null,
public val horizontalPosition: AnalysisReferenceLineLabelHorizontalPosition? = null,
public val valueLabelConfiguration: AnalysisReferenceLineValueLabelConfiguration? = null,
public val verticalPosition: AnalysisReferenceLineLabelVerticalPosition? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.awsnative.quicksight.outputs.AnalysisReferenceLineLabelConfiguration): AnalysisReferenceLineLabelConfiguration = AnalysisReferenceLineLabelConfiguration(
customLabelConfiguration = javaType.customLabelConfiguration().map({ args0 ->
args0.let({ args0 ->
com.pulumi.awsnative.quicksight.kotlin.outputs.AnalysisReferenceLineCustomLabelConfiguration.Companion.toKotlin(args0)
})
}).orElse(null),
fontColor = javaType.fontColor().map({ args0 -> args0 }).orElse(null),
fontConfiguration = javaType.fontConfiguration().map({ args0 ->
args0.let({ args0 ->
com.pulumi.awsnative.quicksight.kotlin.outputs.AnalysisFontConfiguration.Companion.toKotlin(args0)
})
}).orElse(null),
horizontalPosition = javaType.horizontalPosition().map({ args0 ->
args0.let({ args0 ->
com.pulumi.awsnative.quicksight.kotlin.enums.AnalysisReferenceLineLabelHorizontalPosition.Companion.toKotlin(args0)
})
}).orElse(null),
valueLabelConfiguration = javaType.valueLabelConfiguration().map({ args0 ->
args0.let({ args0 ->
com.pulumi.awsnative.quicksight.kotlin.outputs.AnalysisReferenceLineValueLabelConfiguration.Companion.toKotlin(args0)
})
}).orElse(null),
verticalPosition = javaType.verticalPosition().map({ args0 ->
args0.let({ args0 ->
com.pulumi.awsnative.quicksight.kotlin.enums.AnalysisReferenceLineLabelVerticalPosition.Companion.toKotlin(args0)
})
}).orElse(null),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy