![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.azure.automanage.kotlin.inputs.ConfigurationBackupRetentionPolicyWeeklyScheduleArgs.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-azure-kotlin Show documentation
Show all versions of pulumi-azure-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.azure.automanage.kotlin.inputs
import com.pulumi.azure.automanage.inputs.ConfigurationBackupRetentionPolicyWeeklyScheduleArgs.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
/**
*
* @property retentionDuration A `retention_duration` block as defined below.
* @property retentionTimes The retention times of the backup policy.
*/
public data class ConfigurationBackupRetentionPolicyWeeklyScheduleArgs(
public val retentionDuration: Output? = null,
public val retentionTimes: Output>? = null,
) :
ConvertibleToJava {
override fun toJava(): com.pulumi.azure.automanage.inputs.ConfigurationBackupRetentionPolicyWeeklyScheduleArgs =
com.pulumi.azure.automanage.inputs.ConfigurationBackupRetentionPolicyWeeklyScheduleArgs.builder()
.retentionDuration(retentionDuration?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
.retentionTimes(retentionTimes?.applyValue({ args0 -> args0.map({ args0 -> args0 }) })).build()
}
/**
* Builder for [ConfigurationBackupRetentionPolicyWeeklyScheduleArgs].
*/
@PulumiTagMarker
public class ConfigurationBackupRetentionPolicyWeeklyScheduleArgsBuilder internal constructor() {
private var retentionDuration:
Output? = null
private var retentionTimes: Output>? = null
/**
* @param value A `retention_duration` block as defined below.
*/
@JvmName("srlksepwktaapqfx")
public suspend fun retentionDuration(`value`: Output) {
this.retentionDuration = value
}
/**
* @param value The retention times of the backup policy.
*/
@JvmName("upbmcucivgwvslhu")
public suspend fun retentionTimes(`value`: Output>) {
this.retentionTimes = value
}
@JvmName("wmrfdpcuifuxqqdt")
public suspend fun retentionTimes(vararg values: Output) {
this.retentionTimes = Output.all(values.asList())
}
/**
* @param values The retention times of the backup policy.
*/
@JvmName("sbbjkaprpeqbrvds")
public suspend fun retentionTimes(values: List
© 2015 - 2025 Weber Informatics LLC | Privacy Policy