com.pulumi.awsnative.quicksight.kotlin.inputs.AnalysisDataPathValueArgs.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.AnalysisDataPathValueArgs.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 dataPathType The type configuration of the field.
* @property fieldId The field ID of the field that needs to be sorted.
* @property fieldValue The actual value of the field that needs to be sorted.
*/
public data class AnalysisDataPathValueArgs(
public val dataPathType: Output? = null,
public val fieldId: Output? = null,
public val fieldValue: Output? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.awsnative.quicksight.inputs.AnalysisDataPathValueArgs =
com.pulumi.awsnative.quicksight.inputs.AnalysisDataPathValueArgs.builder()
.dataPathType(dataPathType?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
.fieldId(fieldId?.applyValue({ args0 -> args0 }))
.fieldValue(fieldValue?.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [AnalysisDataPathValueArgs].
*/
@PulumiTagMarker
public class AnalysisDataPathValueArgsBuilder internal constructor() {
private var dataPathType: Output? = null
private var fieldId: Output? = null
private var fieldValue: Output? = null
/**
* @param value The type configuration of the field.
*/
@JvmName("flsbgrdtlwyacgrr")
public suspend fun dataPathType(`value`: Output) {
this.dataPathType = value
}
/**
* @param value The field ID of the field that needs to be sorted.
*/
@JvmName("htlxjwdljelalcqq")
public suspend fun fieldId(`value`: Output) {
this.fieldId = value
}
/**
* @param value The actual value of the field that needs to be sorted.
*/
@JvmName("nnutffrlxswdqqii")
public suspend fun fieldValue(`value`: Output) {
this.fieldValue = value
}
/**
* @param value The type configuration of the field.
*/
@JvmName("wguoaantywacaisw")
public suspend fun dataPathType(`value`: AnalysisDataPathTypeArgs?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.dataPathType = mapped
}
/**
* @param argument The type configuration of the field.
*/
@JvmName("fywipsbpnwbgjlvc")
public suspend fun dataPathType(argument: suspend AnalysisDataPathTypeArgsBuilder.() -> Unit) {
val toBeMapped = AnalysisDataPathTypeArgsBuilder().applySuspend { argument() }.build()
val mapped = of(toBeMapped)
this.dataPathType = mapped
}
/**
* @param value The field ID of the field that needs to be sorted.
*/
@JvmName("etctismvvewaetpi")
public suspend fun fieldId(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.fieldId = mapped
}
/**
* @param value The actual value of the field that needs to be sorted.
*/
@JvmName("pgrntphnupuyvhae")
public suspend fun fieldValue(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.fieldValue = mapped
}
internal fun build(): AnalysisDataPathValueArgs = AnalysisDataPathValueArgs(
dataPathType = dataPathType,
fieldId = fieldId,
fieldValue = fieldValue,
)
}