![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.azurenative.netapp.kotlin.inputs.HourlyScheduleArgs.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.HourlyScheduleArgs.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.Suppress
import kotlin.jvm.JvmName
/**
* Hourly Schedule properties
* @property minute Indicates which minute snapshot should be taken
* @property snapshotsToKeep Hourly snapshot count to keep
* @property usedBytes Resource size in bytes, current storage usage for the volume in bytes
*/
public data class HourlyScheduleArgs(
public val minute: Output? = null,
public val snapshotsToKeep: Output? = null,
public val usedBytes: Output? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.azurenative.netapp.inputs.HourlyScheduleArgs =
com.pulumi.azurenative.netapp.inputs.HourlyScheduleArgs.builder()
.minute(minute?.applyValue({ args0 -> args0 }))
.snapshotsToKeep(snapshotsToKeep?.applyValue({ args0 -> args0 }))
.usedBytes(usedBytes?.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [HourlyScheduleArgs].
*/
@PulumiTagMarker
public class HourlyScheduleArgsBuilder internal constructor() {
private var minute: Output? = null
private var snapshotsToKeep: Output? = null
private var usedBytes: Output? = null
/**
* @param value Indicates which minute snapshot should be taken
*/
@JvmName("rnstjucededukygp")
public suspend fun minute(`value`: Output) {
this.minute = value
}
/**
* @param value Hourly snapshot count to keep
*/
@JvmName("hgdnkiyqmcjksynl")
public suspend fun snapshotsToKeep(`value`: Output) {
this.snapshotsToKeep = value
}
/**
* @param value Resource size in bytes, current storage usage for the volume in bytes
*/
@JvmName("qahqwjborkglgtqv")
public suspend fun usedBytes(`value`: Output) {
this.usedBytes = value
}
/**
* @param value Indicates which minute snapshot should be taken
*/
@JvmName("xfsxdrwkmhyxavnn")
public suspend fun minute(`value`: Int?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.minute = mapped
}
/**
* @param value Hourly snapshot count to keep
*/
@JvmName("qtxqaqomesavgwyd")
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("gigyatgkaiqcsosp")
public suspend fun usedBytes(`value`: Double?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.usedBytes = mapped
}
internal fun build(): HourlyScheduleArgs = HourlyScheduleArgs(
minute = minute,
snapshotsToKeep = snapshotsToKeep,
usedBytes = usedBytes,
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy