![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.azurenative.web.kotlin.inputs.StatusCodesBasedTriggerArgs.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-azure-native-kotlin Show documentation
Show all versions of pulumi-azure-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.azurenative.web.kotlin.inputs
import com.pulumi.azurenative.web.inputs.StatusCodesBasedTriggerArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.Int
import kotlin.String
import kotlin.Suppress
import kotlin.jvm.JvmName
/**
* Trigger based on status code.
* @property count Request Count.
* @property path Request Path
* @property status HTTP status code.
* @property subStatus Request Sub Status.
* @property timeInterval Time interval.
* @property win32Status Win32 error code.
*/
public data class StatusCodesBasedTriggerArgs(
public val count: Output? = null,
public val path: Output? = null,
public val status: Output? = null,
public val subStatus: Output? = null,
public val timeInterval: Output? = null,
public val win32Status: Output? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.azurenative.web.inputs.StatusCodesBasedTriggerArgs =
com.pulumi.azurenative.web.inputs.StatusCodesBasedTriggerArgs.builder()
.count(count?.applyValue({ args0 -> args0 }))
.path(path?.applyValue({ args0 -> args0 }))
.status(status?.applyValue({ args0 -> args0 }))
.subStatus(subStatus?.applyValue({ args0 -> args0 }))
.timeInterval(timeInterval?.applyValue({ args0 -> args0 }))
.win32Status(win32Status?.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [StatusCodesBasedTriggerArgs].
*/
@PulumiTagMarker
public class StatusCodesBasedTriggerArgsBuilder internal constructor() {
private var count: Output? = null
private var path: Output? = null
private var status: Output? = null
private var subStatus: Output? = null
private var timeInterval: Output? = null
private var win32Status: Output? = null
/**
* @param value Request Count.
*/
@JvmName("lrkxjkkkgpnttesj")
public suspend fun count(`value`: Output) {
this.count = value
}
/**
* @param value Request Path
*/
@JvmName("sgvmdrynsnqkspnp")
public suspend fun path(`value`: Output) {
this.path = value
}
/**
* @param value HTTP status code.
*/
@JvmName("wcnmtymjrugollrn")
public suspend fun status(`value`: Output) {
this.status = value
}
/**
* @param value Request Sub Status.
*/
@JvmName("acgwdxirimfrcbbw")
public suspend fun subStatus(`value`: Output) {
this.subStatus = value
}
/**
* @param value Time interval.
*/
@JvmName("dpafqlodrftyohqt")
public suspend fun timeInterval(`value`: Output) {
this.timeInterval = value
}
/**
* @param value Win32 error code.
*/
@JvmName("etotnmqiiqyepelr")
public suspend fun win32Status(`value`: Output) {
this.win32Status = value
}
/**
* @param value Request Count.
*/
@JvmName("qymrldslpxkfaxfi")
public suspend fun count(`value`: Int?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.count = mapped
}
/**
* @param value Request Path
*/
@JvmName("pdcxnftwwffgwsuj")
public suspend fun path(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.path = mapped
}
/**
* @param value HTTP status code.
*/
@JvmName("seiwxogabibrvbeo")
public suspend fun status(`value`: Int?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.status = mapped
}
/**
* @param value Request Sub Status.
*/
@JvmName("bkrxbjykugpoqjgj")
public suspend fun subStatus(`value`: Int?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.subStatus = mapped
}
/**
* @param value Time interval.
*/
@JvmName("pitxokoptlsokwhx")
public suspend fun timeInterval(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.timeInterval = mapped
}
/**
* @param value Win32 error code.
*/
@JvmName("iwdxitxndyrwwaft")
public suspend fun win32Status(`value`: Int?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.win32Status = mapped
}
internal fun build(): StatusCodesBasedTriggerArgs = StatusCodesBasedTriggerArgs(
count = count,
path = path,
status = status,
subStatus = subStatus,
timeInterval = timeInterval,
win32Status = win32Status,
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy