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

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

@file:Suppress("NAME_SHADOWING", "DEPRECATION")

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

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

/**
 * Monthly Schedule properties
 * @property daysOfMonth Indicates which days of the month snapshot should be taken. A comma delimited string.
 * @property hour Indicates which hour in UTC timezone a snapshot should be taken
 * @property minute Indicates which minute snapshot should be taken
 * @property snapshotsToKeep Monthly snapshot count to keep
 * @property usedBytes Resource size in bytes, current storage usage for the volume in bytes
 */
public data class MonthlyScheduleArgs(
    public val daysOfMonth: 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.MonthlyScheduleArgs =
        com.pulumi.azurenative.netapp.inputs.MonthlyScheduleArgs.builder()
            .daysOfMonth(daysOfMonth?.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 [MonthlyScheduleArgs].
 */
@PulumiTagMarker
public class MonthlyScheduleArgsBuilder internal constructor() {
    private var daysOfMonth: 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 days of the month snapshot should be taken. A comma delimited string.
     */
    @JvmName("iodybtffpabrcbbc")
    public suspend fun daysOfMonth(`value`: Output) {
        this.daysOfMonth = value
    }

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

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

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

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

    /**
     * @param value Indicates which days of the month snapshot should be taken. A comma delimited string.
     */
    @JvmName("vkbrhgbadpivcmxr")
    public suspend fun daysOfMonth(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.daysOfMonth = mapped
    }

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

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

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




© 2015 - 2024 Weber Informatics LLC | Privacy Policy