
com.pulumi.azurenative.recoveryservices.kotlin.inputs.WeeklyRetentionScheduleArgs.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.azurenative.recoveryservices.kotlin.inputs
import com.pulumi.azurenative.recoveryservices.inputs.WeeklyRetentionScheduleArgs.builder
import com.pulumi.azurenative.recoveryservices.kotlin.enums.DayOfWeek
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
/**
* Weekly retention schedule.
* @property daysOfTheWeek List of days of week for weekly retention policy.
* @property retentionDuration Retention duration of retention Policy.
* @property retentionTimes Retention times of retention policy.
*/
public data class WeeklyRetentionScheduleArgs(
public val daysOfTheWeek: Output>? = null,
public val retentionDuration: Output? = null,
public val retentionTimes: Output>? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.azurenative.recoveryservices.inputs.WeeklyRetentionScheduleArgs = com.pulumi.azurenative.recoveryservices.inputs.WeeklyRetentionScheduleArgs.builder()
.daysOfTheWeek(
daysOfTheWeek?.applyValue({ args0 ->
args0.map({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
})
}),
)
.retentionDuration(retentionDuration?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
.retentionTimes(retentionTimes?.applyValue({ args0 -> args0.map({ args0 -> args0 }) })).build()
}
/**
* Builder for [WeeklyRetentionScheduleArgs].
*/
@PulumiTagMarker
public class WeeklyRetentionScheduleArgsBuilder internal constructor() {
private var daysOfTheWeek: Output>? = null
private var retentionDuration: Output? = null
private var retentionTimes: Output>? = null
/**
* @param value List of days of week for weekly retention policy.
*/
@JvmName("ximgmlfjlgseulco")
public suspend fun daysOfTheWeek(`value`: Output>) {
this.daysOfTheWeek = value
}
@JvmName("jlkmxwfbgdxmsesd")
public suspend fun daysOfTheWeek(vararg values: Output) {
this.daysOfTheWeek = Output.all(values.asList())
}
/**
* @param values List of days of week for weekly retention policy.
*/
@JvmName("wjrukmahykoyjlmb")
public suspend fun daysOfTheWeek(values: List
© 2015 - 2025 Weber Informatics LLC | Privacy Policy