com.pulumi.azure.backup.kotlin.inputs.PolicyFileShareRetentionWeeklyArgs.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.backup.kotlin.inputs
import com.pulumi.azure.backup.inputs.PolicyFileShareRetentionWeeklyArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiNullFieldException
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.Int
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List
import kotlin.jvm.JvmName
/**
*
* @property count The number of daily backups to keep. Must be between `1` and `200` (inclusive)
* @property weekdays The weekday backups to retain. Must be one of `Sunday`, `Monday`, `Tuesday`, `Wednesday`, `Thursday`, `Friday` or `Saturday`.
*/
public data class PolicyFileShareRetentionWeeklyArgs(
public val count: Output,
public val weekdays: Output>,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.azure.backup.inputs.PolicyFileShareRetentionWeeklyArgs =
com.pulumi.azure.backup.inputs.PolicyFileShareRetentionWeeklyArgs.builder()
.count(count.applyValue({ args0 -> args0 }))
.weekdays(weekdays.applyValue({ args0 -> args0.map({ args0 -> args0 }) })).build()
}
/**
* Builder for [PolicyFileShareRetentionWeeklyArgs].
*/
@PulumiTagMarker
public class PolicyFileShareRetentionWeeklyArgsBuilder internal constructor() {
private var count: Output? = null
private var weekdays: Output>? = null
/**
* @param value The number of daily backups to keep. Must be between `1` and `200` (inclusive)
*/
@JvmName("wvagfyqjgykkutyx")
public suspend fun count(`value`: Output) {
this.count = value
}
/**
* @param value The weekday backups to retain. Must be one of `Sunday`, `Monday`, `Tuesday`, `Wednesday`, `Thursday`, `Friday` or `Saturday`.
*/
@JvmName("evxmpjfopkaeaeoo")
public suspend fun weekdays(`value`: Output>) {
this.weekdays = value
}
@JvmName("phurahuuqcihctgh")
public suspend fun weekdays(vararg values: Output) {
this.weekdays = Output.all(values.asList())
}
/**
* @param values The weekday backups to retain. Must be one of `Sunday`, `Monday`, `Tuesday`, `Wednesday`, `Thursday`, `Friday` or `Saturday`.
*/
@JvmName("nbjtddjxmwhagjhd")
public suspend fun weekdays(values: List
© 2015 - 2025 Weber Informatics LLC | Privacy Policy