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

com.pulumi.azurenative.customerinsights.kotlin.inputs.KpiExtractArgs.kt Maven / Gradle / Ivy

Go to download

Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.

There is a newer version: 2.82.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.azurenative.customerinsights.kotlin.inputs

import com.pulumi.azurenative.customerinsights.inputs.KpiExtractArgs.builder
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 kotlin.String
import kotlin.Suppress
import kotlin.jvm.JvmName

/**
 * The KPI extract.
 * @property expression The expression.
 * @property extractName KPI extract name.
 */
public data class KpiExtractArgs(
    public val expression: Output,
    public val extractName: Output,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.azurenative.customerinsights.inputs.KpiExtractArgs =
        com.pulumi.azurenative.customerinsights.inputs.KpiExtractArgs.builder()
            .expression(expression.applyValue({ args0 -> args0 }))
            .extractName(extractName.applyValue({ args0 -> args0 })).build()
}

/**
 * Builder for [KpiExtractArgs].
 */
@PulumiTagMarker
public class KpiExtractArgsBuilder internal constructor() {
    private var expression: Output? = null

    private var extractName: Output? = null

    /**
     * @param value The expression.
     */
    @JvmName("nwbvtalurnfhxqlg")
    public suspend fun expression(`value`: Output) {
        this.expression = value
    }

    /**
     * @param value KPI extract name.
     */
    @JvmName("qrovckrxqmifflfx")
    public suspend fun extractName(`value`: Output) {
        this.extractName = value
    }

    /**
     * @param value The expression.
     */
    @JvmName("ohfvmoaepotwiyqo")
    public suspend fun expression(`value`: String) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.expression = mapped
    }

    /**
     * @param value KPI extract name.
     */
    @JvmName("errktkxmveivjddy")
    public suspend fun extractName(`value`: String) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.extractName = mapped
    }

    internal fun build(): KpiExtractArgs = KpiExtractArgs(
        expression = expression ?: throw PulumiNullFieldException("expression"),
        extractName = extractName ?: throw PulumiNullFieldException("extractName"),
    )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy