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

com.pulumi.awsnative.events.kotlin.outputs.RuleRetryPolicy.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: 1.24.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.awsnative.events.kotlin.outputs

import kotlin.Int
import kotlin.Suppress

/**
 *
 * @property maximumEventAgeInSeconds The maximum amount of time, in seconds, to continue to make retry attempts.
 * @property maximumRetryAttempts The maximum number of retry attempts to make before the request fails. Retry attempts continue until either the maximum number of attempts is made or until the duration of the `MaximumEventAgeInSeconds` is met.
 */
public data class RuleRetryPolicy(
    public val maximumEventAgeInSeconds: Int? = null,
    public val maximumRetryAttempts: Int? = null,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.awsnative.events.outputs.RuleRetryPolicy): RuleRetryPolicy = RuleRetryPolicy(
            maximumEventAgeInSeconds = javaType.maximumEventAgeInSeconds().map({ args0 -> args0 }).orElse(null),
            maximumRetryAttempts = javaType.maximumRetryAttempts().map({ args0 -> args0 }).orElse(null),
        )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy