![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.azurenative.workloads.kotlin.inputs.DailyRetentionScheduleArgs.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.workloads.kotlin.inputs
import com.pulumi.azurenative.workloads.inputs.DailyRetentionScheduleArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import com.pulumi.kotlin.applySuspend
import kotlin.String
import kotlin.Suppress
import kotlin.Unit
import kotlin.collections.List
import kotlin.jvm.JvmName
/**
* Daily retention schedule.
* @property retentionDuration Retention duration of retention Policy.
* @property retentionTimes Retention times of retention policy.
*/
public data class DailyRetentionScheduleArgs(
public val retentionDuration: Output? = null,
public val retentionTimes: Output>? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.azurenative.workloads.inputs.DailyRetentionScheduleArgs =
com.pulumi.azurenative.workloads.inputs.DailyRetentionScheduleArgs.builder()
.retentionDuration(retentionDuration?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
.retentionTimes(retentionTimes?.applyValue({ args0 -> args0.map({ args0 -> args0 }) })).build()
}
/**
* Builder for [DailyRetentionScheduleArgs].
*/
@PulumiTagMarker
public class DailyRetentionScheduleArgsBuilder internal constructor() {
private var retentionDuration: Output? = null
private var retentionTimes: Output>? = null
/**
* @param value Retention duration of retention Policy.
*/
@JvmName("rekaduikpdswpieq")
public suspend fun retentionDuration(`value`: Output) {
this.retentionDuration = value
}
/**
* @param value Retention times of retention policy.
*/
@JvmName("fqxidmcavksfyfuq")
public suspend fun retentionTimes(`value`: Output>) {
this.retentionTimes = value
}
@JvmName("rbwfunijagynfrcq")
public suspend fun retentionTimes(vararg values: Output) {
this.retentionTimes = Output.all(values.asList())
}
/**
* @param values Retention times of retention policy.
*/
@JvmName("jrcsrbgcrvlamwtu")
public suspend fun retentionTimes(values: List
© 2015 - 2025 Weber Informatics LLC | Privacy Policy