All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.pulumi.azurenative.netapp.kotlin.inputs.DailyScheduleArgs.kt Maven / Gradle / Ivy

Go to download

Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.

There is a newer version: 2.82.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.azurenative.netapp.kotlin.inputs

import com.pulumi.azurenative.netapp.inputs.DailyScheduleArgs.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

/**
 * Daily Schedule properties
 * @property hour Indicates which hour in UTC timezone a snapshot should be taken
 * @property minute Indicates which minute snapshot should be taken
 * @property snapshotsToKeep Daily snapshot count to keep
 * @property usedBytes Resource size in bytes, current storage usage for the volume in bytes
 */
public data class DailyScheduleArgs(
    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.DailyScheduleArgs =
        com.pulumi.azurenative.netapp.inputs.DailyScheduleArgs.builder()
            .hour(hour?.applyValue({ args0 -> args0 }))
            .minute(minute?.applyValue({ args0 -> args0 }))
            .snapshotsToKeep(snapshotsToKeep?.applyValue({ args0 -> args0 }))
            .usedBytes(usedBytes?.applyValue({ args0 -> args0 })).build()
}

/**
 * Builder for [DailyScheduleArgs].
 */
@PulumiTagMarker
public class DailyScheduleArgsBuilder internal constructor() {
    private var hour: Output? = null

    private var minute: Output? = null

    private var snapshotsToKeep: Output? = null

    private var usedBytes: Output? = null

    /**
     * @param value Indicates which hour in UTC timezone a snapshot should be taken
     */
    @JvmName("eaurjrluwcmkkjdb")
    public suspend fun hour(`value`: Output) {
        this.hour = value
    }

    /**
     * @param value Indicates which minute snapshot should be taken
     */
    @JvmName("dglsokfjvrtbrfej")
    public suspend fun minute(`value`: Output) {
        this.minute = value
    }

    /**
     * @param value Daily snapshot count to keep
     */
    @JvmName("tjkubyphbspkbfmy")
    public suspend fun snapshotsToKeep(`value`: Output) {
        this.snapshotsToKeep = value
    }

    /**
     * @param value Resource size in bytes, current storage usage for the volume in bytes
     */
    @JvmName("shopwacauuvvitnv")
    public suspend fun usedBytes(`value`: Output) {
        this.usedBytes = value
    }

    /**
     * @param value Indicates which hour in UTC timezone a snapshot should be taken
     */
    @JvmName("ryyelgvrbwbepsph")
    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("hxawbkrjmvysjbox")
    public suspend fun minute(`value`: Int?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.minute = mapped
    }

    /**
     * @param value Daily snapshot count to keep
     */
    @JvmName("wclekowlujcnjjxe")
    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("jsrcaeerkvrxvrmn")
    public suspend fun usedBytes(`value`: Double?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.usedBytes = mapped
    }

    internal fun build(): DailyScheduleArgs = DailyScheduleArgs(
        hour = hour,
        minute = minute,
        snapshotsToKeep = snapshotsToKeep,
        usedBytes = usedBytes,
    )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy