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

com.pulumi.azurenative.servicebus.kotlin.inputs.ActionArgs.kt Maven / Gradle / Ivy

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

package com.pulumi.azurenative.servicebus.kotlin.inputs

import com.pulumi.azurenative.servicebus.inputs.ActionArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.Boolean
import kotlin.Int
import kotlin.String
import kotlin.Suppress
import kotlin.jvm.JvmName

/**
 * Represents the filter actions which are allowed for the transformation of a message that have been matched by a filter expression.
 * @property compatibilityLevel This property is reserved for future use. An integer value showing the compatibility level, currently hard-coded to 20.
 * @property requiresPreprocessing Value that indicates whether the rule action requires preprocessing.
 * @property sqlExpression SQL expression. e.g. MyProperty='ABC'
 */
public data class ActionArgs(
    public val compatibilityLevel: Output? = null,
    public val requiresPreprocessing: Output? = null,
    public val sqlExpression: Output? = null,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.azurenative.servicebus.inputs.ActionArgs =
        com.pulumi.azurenative.servicebus.inputs.ActionArgs.builder()
            .compatibilityLevel(compatibilityLevel?.applyValue({ args0 -> args0 }))
            .requiresPreprocessing(requiresPreprocessing?.applyValue({ args0 -> args0 }))
            .sqlExpression(sqlExpression?.applyValue({ args0 -> args0 })).build()
}

/**
 * Builder for [ActionArgs].
 */
@PulumiTagMarker
public class ActionArgsBuilder internal constructor() {
    private var compatibilityLevel: Output? = null

    private var requiresPreprocessing: Output? = null

    private var sqlExpression: Output? = null

    /**
     * @param value This property is reserved for future use. An integer value showing the compatibility level, currently hard-coded to 20.
     */
    @JvmName("pjhhjvvpdhjdarjw")
    public suspend fun compatibilityLevel(`value`: Output) {
        this.compatibilityLevel = value
    }

    /**
     * @param value Value that indicates whether the rule action requires preprocessing.
     */
    @JvmName("aebbdnswhwqtgfnp")
    public suspend fun requiresPreprocessing(`value`: Output) {
        this.requiresPreprocessing = value
    }

    /**
     * @param value SQL expression. e.g. MyProperty='ABC'
     */
    @JvmName("dcuphihdwrywuten")
    public suspend fun sqlExpression(`value`: Output) {
        this.sqlExpression = value
    }

    /**
     * @param value This property is reserved for future use. An integer value showing the compatibility level, currently hard-coded to 20.
     */
    @JvmName("qqblpvcopeseeldk")
    public suspend fun compatibilityLevel(`value`: Int?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.compatibilityLevel = mapped
    }

    /**
     * @param value Value that indicates whether the rule action requires preprocessing.
     */
    @JvmName("ndxvllguajecqjbx")
    public suspend fun requiresPreprocessing(`value`: Boolean?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.requiresPreprocessing = mapped
    }

    /**
     * @param value SQL expression. e.g. MyProperty='ABC'
     */
    @JvmName("upmautyxnxiuykue")
    public suspend fun sqlExpression(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.sqlExpression = mapped
    }

    internal fun build(): ActionArgs = ActionArgs(
        compatibilityLevel = compatibilityLevel,
        requiresPreprocessing = requiresPreprocessing,
        sqlExpression = sqlExpression,
    )
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy