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

com.pulumi.azure.logicapps.kotlin.inputs.ActionHttpRunAfterArgs.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: 6.21.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.azure.logicapps.kotlin.inputs

import com.pulumi.azure.logicapps.inputs.ActionHttpRunAfterArgs.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

/**
 *
 * @property actionName Specifies the name of the precedent HTTP Action.
 * @property actionResult Specifies the expected result of the precedent HTTP Action, only after which the current HTTP Action will be triggered. Possible values include `Succeeded`, `Failed`, `Skipped` and `TimedOut`.
 */
public data class ActionHttpRunAfterArgs(
    public val actionName: Output,
    public val actionResult: Output,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.azure.logicapps.inputs.ActionHttpRunAfterArgs =
        com.pulumi.azure.logicapps.inputs.ActionHttpRunAfterArgs.builder()
            .actionName(actionName.applyValue({ args0 -> args0 }))
            .actionResult(actionResult.applyValue({ args0 -> args0 })).build()
}

/**
 * Builder for [ActionHttpRunAfterArgs].
 */
@PulumiTagMarker
public class ActionHttpRunAfterArgsBuilder internal constructor() {
    private var actionName: Output? = null

    private var actionResult: Output? = null

    /**
     * @param value Specifies the name of the precedent HTTP Action.
     */
    @JvmName("sbkvwqxmbsjndlsi")
    public suspend fun actionName(`value`: Output) {
        this.actionName = value
    }

    /**
     * @param value Specifies the expected result of the precedent HTTP Action, only after which the current HTTP Action will be triggered. Possible values include `Succeeded`, `Failed`, `Skipped` and `TimedOut`.
     */
    @JvmName("xicwlbrrxnjhsqok")
    public suspend fun actionResult(`value`: Output) {
        this.actionResult = value
    }

    /**
     * @param value Specifies the name of the precedent HTTP Action.
     */
    @JvmName("jqqmbcdosnxflgix")
    public suspend fun actionName(`value`: String) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.actionName = mapped
    }

    /**
     * @param value Specifies the expected result of the precedent HTTP Action, only after which the current HTTP Action will be triggered. Possible values include `Succeeded`, `Failed`, `Skipped` and `TimedOut`.
     */
    @JvmName("hkjyxteqgmsjutjm")
    public suspend fun actionResult(`value`: String) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.actionResult = mapped
    }

    internal fun build(): ActionHttpRunAfterArgs = ActionHttpRunAfterArgs(
        actionName = actionName ?: throw PulumiNullFieldException("actionName"),
        actionResult = actionResult ?: throw PulumiNullFieldException("actionResult"),
    )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy