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

com.pulumi.azure.datashare.kotlin.inputs.ShareSnapshotScheduleArgs.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: 6.15.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.azure.datashare.kotlin.inputs

import com.pulumi.azure.datashare.inputs.ShareSnapshotScheduleArgs.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.String
import kotlin.Suppress
import kotlin.jvm.JvmName

/**
 *
 * @property name The name of the snapshot schedule.
 * @property recurrence The interval of the synchronization with the source data. Possible values are `Hour` and `Day`.
 * @property startTime The synchronization with the source data's start time.
 */
public data class ShareSnapshotScheduleArgs(
    public val name: Output,
    public val recurrence: Output,
    public val startTime: Output,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.azure.datashare.inputs.ShareSnapshotScheduleArgs =
        com.pulumi.azure.datashare.inputs.ShareSnapshotScheduleArgs.builder()
            .name(name.applyValue({ args0 -> args0 }))
            .recurrence(recurrence.applyValue({ args0 -> args0 }))
            .startTime(startTime.applyValue({ args0 -> args0 })).build()
}

/**
 * Builder for [ShareSnapshotScheduleArgs].
 */
@PulumiTagMarker
public class ShareSnapshotScheduleArgsBuilder internal constructor() {
    private var name: Output? = null

    private var recurrence: Output? = null

    private var startTime: Output? = null

    /**
     * @param value The name of the snapshot schedule.
     */
    @JvmName("mdrhvsjhorhibrkq")
    public suspend fun name(`value`: Output) {
        this.name = value
    }

    /**
     * @param value The interval of the synchronization with the source data. Possible values are `Hour` and `Day`.
     */
    @JvmName("bnqrmvlokckbnvxk")
    public suspend fun recurrence(`value`: Output) {
        this.recurrence = value
    }

    /**
     * @param value The synchronization with the source data's start time.
     */
    @JvmName("gglpjjvipvqjaanx")
    public suspend fun startTime(`value`: Output) {
        this.startTime = value
    }

    /**
     * @param value The name of the snapshot schedule.
     */
    @JvmName("kexnqxbgjiwvfior")
    public suspend fun name(`value`: String) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.name = mapped
    }

    /**
     * @param value The interval of the synchronization with the source data. Possible values are `Hour` and `Day`.
     */
    @JvmName("xrguhtqqpjarawet")
    public suspend fun recurrence(`value`: String) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.recurrence = mapped
    }

    /**
     * @param value The synchronization with the source data's start time.
     */
    @JvmName("hvhgjfumjeyddxod")
    public suspend fun startTime(`value`: String) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.startTime = mapped
    }

    internal fun build(): ShareSnapshotScheduleArgs = ShareSnapshotScheduleArgs(
        name = name ?: throw PulumiNullFieldException("name"),
        recurrence = recurrence ?: throw PulumiNullFieldException("recurrence"),
        startTime = startTime ?: throw PulumiNullFieldException("startTime"),
    )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy