![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.azurenative.netapp.kotlin.inputs.WeeklyScheduleArgs.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.netapp.kotlin.inputs
import com.pulumi.azurenative.netapp.inputs.WeeklyScheduleArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.Double
import kotlin.Int
import kotlin.String
import kotlin.Suppress
import kotlin.jvm.JvmName
/**
* Weekly Schedule properties, make a snapshot every week at a specific day or days
* @property day Indicates which weekdays snapshot should be taken, accepts a comma separated list of week day names in english
* @property hour Indicates which hour in UTC timezone a snapshot should be taken
* @property minute Indicates which minute snapshot should be taken
* @property snapshotsToKeep Weekly snapshot count to keep
* @property usedBytes Resource size in bytes, current storage usage for the volume in bytes
*/
public data class WeeklyScheduleArgs(
public val day: Output? = null,
public val hour: Output? = null,
public val minute: Output? = null,
public val snapshotsToKeep: Output? = null,
public val usedBytes: Output? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.azurenative.netapp.inputs.WeeklyScheduleArgs =
com.pulumi.azurenative.netapp.inputs.WeeklyScheduleArgs.builder()
.day(day?.applyValue({ args0 -> args0 }))
.hour(hour?.applyValue({ args0 -> args0 }))
.minute(minute?.applyValue({ args0 -> args0 }))
.snapshotsToKeep(snapshotsToKeep?.applyValue({ args0 -> args0 }))
.usedBytes(usedBytes?.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [WeeklyScheduleArgs].
*/
@PulumiTagMarker
public class WeeklyScheduleArgsBuilder internal constructor() {
private var day: Output? = null
private var hour: Output? = null
private var minute: Output? = null
private var snapshotsToKeep: Output? = null
private var usedBytes: Output? = null
/**
* @param value Indicates which weekdays snapshot should be taken, accepts a comma separated list of week day names in english
*/
@JvmName("cimdlvfaiopvfink")
public suspend fun day(`value`: Output) {
this.day = value
}
/**
* @param value Indicates which hour in UTC timezone a snapshot should be taken
*/
@JvmName("xgwnmanfxbpepbvy")
public suspend fun hour(`value`: Output) {
this.hour = value
}
/**
* @param value Indicates which minute snapshot should be taken
*/
@JvmName("bluqgyxgecrbknug")
public suspend fun minute(`value`: Output) {
this.minute = value
}
/**
* @param value Weekly snapshot count to keep
*/
@JvmName("actovyyuuaqhpgrk")
public suspend fun snapshotsToKeep(`value`: Output) {
this.snapshotsToKeep = value
}
/**
* @param value Resource size in bytes, current storage usage for the volume in bytes
*/
@JvmName("uwkoeoxqvbrtkjbv")
public suspend fun usedBytes(`value`: Output) {
this.usedBytes = value
}
/**
* @param value Indicates which weekdays snapshot should be taken, accepts a comma separated list of week day names in english
*/
@JvmName("wrblavgfevlebkic")
public suspend fun day(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.day = mapped
}
/**
* @param value Indicates which hour in UTC timezone a snapshot should be taken
*/
@JvmName("pmsbvqvlkwhtowur")
public suspend fun hour(`value`: Int?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.hour = mapped
}
/**
* @param value Indicates which minute snapshot should be taken
*/
@JvmName("ftgddjkbedaldxko")
public suspend fun minute(`value`: Int?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.minute = mapped
}
/**
* @param value Weekly snapshot count to keep
*/
@JvmName("ffexiboiedenqnyb")
public suspend fun snapshotsToKeep(`value`: Int?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.snapshotsToKeep = mapped
}
/**
* @param value Resource size in bytes, current storage usage for the volume in bytes
*/
@JvmName("dfxdexotmsiusgai")
public suspend fun usedBytes(`value`: Double?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.usedBytes = mapped
}
internal fun build(): WeeklyScheduleArgs = WeeklyScheduleArgs(
day = day,
hour = hour,
minute = minute,
snapshotsToKeep = snapshotsToKeep,
usedBytes = usedBytes,
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy