All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.pulumi.awsnative.quicksight.kotlin.inputs.TemplateDataPathValueArgs.kt Maven / Gradle / Ivy

@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.awsnative.quicksight.kotlin.inputs

import com.pulumi.awsnative.quicksight.inputs.TemplateDataPathValueArgs.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 TemplateDataPathValueArgs(
    public val dataPathType: Output? = null,
    public val fieldId: Output? = null,
    public val fieldValue: Output? = null,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.awsnative.quicksight.inputs.TemplateDataPathValueArgs =
        com.pulumi.awsnative.quicksight.inputs.TemplateDataPathValueArgs.builder()
            .dataPathType(dataPathType?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
            .fieldId(fieldId?.applyValue({ args0 -> args0 }))
            .fieldValue(fieldValue?.applyValue({ args0 -> args0 })).build()
}

/**
 * Builder for [TemplateDataPathValueArgs].
 */
@PulumiTagMarker
public class TemplateDataPathValueArgsBuilder 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("mvpvjknowvtngdkt")
    public suspend fun dataPathType(`value`: Output) {
        this.dataPathType = value
    }

    /**
     * @param value The field ID of the field that needs to be sorted.
     */
    @JvmName("txndvvgustdulgtd")
    public suspend fun fieldId(`value`: Output) {
        this.fieldId = value
    }

    /**
     * @param value The actual value of the field that needs to be sorted.
     */
    @JvmName("deyiqefkhbymgfcp")
    public suspend fun fieldValue(`value`: Output) {
        this.fieldValue = value
    }

    /**
     * @param value The type configuration of the field.
     */
    @JvmName("muhdevbycmiwrvid")
    public suspend fun dataPathType(`value`: TemplateDataPathTypeArgs?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.dataPathType = mapped
    }

    /**
     * @param argument The type configuration of the field.
     */
    @JvmName("mqeyvopxrhmppyui")
    public suspend fun dataPathType(argument: suspend TemplateDataPathTypeArgsBuilder.() -> Unit) {
        val toBeMapped = TemplateDataPathTypeArgsBuilder().applySuspend { argument() }.build()
        val mapped = of(toBeMapped)
        this.dataPathType = mapped
    }

    /**
     * @param value The field ID of the field that needs to be sorted.
     */
    @JvmName("jtiqurerqkjiitcs")
    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("ujdbtidmltvhihal")
    public suspend fun fieldValue(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.fieldValue = mapped
    }

    internal fun build(): TemplateDataPathValueArgs = TemplateDataPathValueArgs(
        dataPathType = dataPathType,
        fieldId = fieldId,
        fieldValue = fieldValue,
    )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy