![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.gcp.networkservices.kotlin.inputs.HttpRouteRuleActionRetryPolicyArgs.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-gcp-kotlin Show documentation
Show all versions of pulumi-gcp-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.gcp.networkservices.kotlin.inputs
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.gcp.networkservices.inputs.HttpRouteRuleActionRetryPolicyArgs.builder
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.Int
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List
import kotlin.jvm.JvmName
/**
*
* @property numRetries Specifies the allowed number of retries.
* @property perTryTimeout Specifies a non-zero timeout per retry attempt. A duration in seconds with up to nine fractional digits, ending with 's'. Example: "3.5s".
* @property retryConditions Specifies one or more conditions when this retry policy applies.
*/
public data class HttpRouteRuleActionRetryPolicyArgs(
public val numRetries: Output? = null,
public val perTryTimeout: Output? = null,
public val retryConditions: Output>? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.gcp.networkservices.inputs.HttpRouteRuleActionRetryPolicyArgs =
com.pulumi.gcp.networkservices.inputs.HttpRouteRuleActionRetryPolicyArgs.builder()
.numRetries(numRetries?.applyValue({ args0 -> args0 }))
.perTryTimeout(perTryTimeout?.applyValue({ args0 -> args0 }))
.retryConditions(retryConditions?.applyValue({ args0 -> args0.map({ args0 -> args0 }) })).build()
}
/**
* Builder for [HttpRouteRuleActionRetryPolicyArgs].
*/
@PulumiTagMarker
public class HttpRouteRuleActionRetryPolicyArgsBuilder internal constructor() {
private var numRetries: Output? = null
private var perTryTimeout: Output? = null
private var retryConditions: Output>? = null
/**
* @param value Specifies the allowed number of retries.
*/
@JvmName("ccvileuwuqnkpfhh")
public suspend fun numRetries(`value`: Output) {
this.numRetries = value
}
/**
* @param value Specifies a non-zero timeout per retry attempt. A duration in seconds with up to nine fractional digits, ending with 's'. Example: "3.5s".
*/
@JvmName("cnynsyuhtpsdgncw")
public suspend fun perTryTimeout(`value`: Output) {
this.perTryTimeout = value
}
/**
* @param value Specifies one or more conditions when this retry policy applies.
*/
@JvmName("uonvarcsgelchsiq")
public suspend fun retryConditions(`value`: Output>) {
this.retryConditions = value
}
@JvmName("rwnsrytlxqqftmvr")
public suspend fun retryConditions(vararg values: Output) {
this.retryConditions = Output.all(values.asList())
}
/**
* @param values Specifies one or more conditions when this retry policy applies.
*/
@JvmName("hrvwbrreebfsmgeq")
public suspend fun retryConditions(values: List
© 2015 - 2025 Weber Informatics LLC | Privacy Policy