![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.awsnative.kinesisfirehose.kotlin.inputs.DeliveryStreamRedshiftRetryOptionsArgs.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.awsnative.kinesisfirehose.kotlin.inputs
import com.pulumi.awsnative.kinesisfirehose.inputs.DeliveryStreamRedshiftRetryOptionsArgs.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.Suppress
import kotlin.jvm.JvmName
/**
*
* @property durationInSeconds The length of time during which Firehose retries delivery after a failure, starting from the initial request and including the first attempt. The default value is 3600 seconds (60 minutes). Firehose does not retry if the value of `DurationInSeconds` is 0 (zero) or if the first delivery attempt takes longer than the current value.
*/
public data class DeliveryStreamRedshiftRetryOptionsArgs(
public val durationInSeconds: Output? = null,
) :
ConvertibleToJava {
override fun toJava(): com.pulumi.awsnative.kinesisfirehose.inputs.DeliveryStreamRedshiftRetryOptionsArgs =
com.pulumi.awsnative.kinesisfirehose.inputs.DeliveryStreamRedshiftRetryOptionsArgs.builder()
.durationInSeconds(durationInSeconds?.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [DeliveryStreamRedshiftRetryOptionsArgs].
*/
@PulumiTagMarker
public class DeliveryStreamRedshiftRetryOptionsArgsBuilder internal constructor() {
private var durationInSeconds: Output? = null
/**
* @param value The length of time during which Firehose retries delivery after a failure, starting from the initial request and including the first attempt. The default value is 3600 seconds (60 minutes). Firehose does not retry if the value of `DurationInSeconds` is 0 (zero) or if the first delivery attempt takes longer than the current value.
*/
@JvmName("jxeikbkpxijuvroa")
public suspend fun durationInSeconds(`value`: Output) {
this.durationInSeconds = value
}
/**
* @param value The length of time during which Firehose retries delivery after a failure, starting from the initial request and including the first attempt. The default value is 3600 seconds (60 minutes). Firehose does not retry if the value of `DurationInSeconds` is 0 (zero) or if the first delivery attempt takes longer than the current value.
*/
@JvmName("atlfbopujagskmmb")
public suspend fun durationInSeconds(`value`: Int?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.durationInSeconds = mapped
}
internal fun build(): DeliveryStreamRedshiftRetryOptionsArgs =
DeliveryStreamRedshiftRetryOptionsArgs(
durationInSeconds = durationInSeconds,
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy