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

com.pulumi.azurenative.operationalinsights.kotlin.inputs.RestoredLogsArgs.kt Maven / Gradle / Ivy

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

package com.pulumi.azurenative.operationalinsights.kotlin.inputs

import com.pulumi.azurenative.operationalinsights.inputs.RestoredLogsArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.String
import kotlin.Suppress
import kotlin.jvm.JvmName

/**
 * Restore parameters.
 * @property endRestoreTime The timestamp to end the restore by (UTC).
 * @property sourceTable The table to restore data from.
 * @property startRestoreTime The timestamp to start the restore from (UTC).
 */
public data class RestoredLogsArgs(
    public val endRestoreTime: Output? = null,
    public val sourceTable: Output? = null,
    public val startRestoreTime: Output? = null,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.azurenative.operationalinsights.inputs.RestoredLogsArgs =
        com.pulumi.azurenative.operationalinsights.inputs.RestoredLogsArgs.builder()
            .endRestoreTime(endRestoreTime?.applyValue({ args0 -> args0 }))
            .sourceTable(sourceTable?.applyValue({ args0 -> args0 }))
            .startRestoreTime(startRestoreTime?.applyValue({ args0 -> args0 })).build()
}

/**
 * Builder for [RestoredLogsArgs].
 */
@PulumiTagMarker
public class RestoredLogsArgsBuilder internal constructor() {
    private var endRestoreTime: Output? = null

    private var sourceTable: Output? = null

    private var startRestoreTime: Output? = null

    /**
     * @param value The timestamp to end the restore by (UTC).
     */
    @JvmName("ajxyvsnxahmpivox")
    public suspend fun endRestoreTime(`value`: Output) {
        this.endRestoreTime = value
    }

    /**
     * @param value The table to restore data from.
     */
    @JvmName("wxffghhqsbhcsqgd")
    public suspend fun sourceTable(`value`: Output) {
        this.sourceTable = value
    }

    /**
     * @param value The timestamp to start the restore from (UTC).
     */
    @JvmName("anwjghkvocfjohlj")
    public suspend fun startRestoreTime(`value`: Output) {
        this.startRestoreTime = value
    }

    /**
     * @param value The timestamp to end the restore by (UTC).
     */
    @JvmName("hhqbthrohijxkkuf")
    public suspend fun endRestoreTime(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.endRestoreTime = mapped
    }

    /**
     * @param value The table to restore data from.
     */
    @JvmName("pkwdqulvunkjeecv")
    public suspend fun sourceTable(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.sourceTable = mapped
    }

    /**
     * @param value The timestamp to start the restore from (UTC).
     */
    @JvmName("kgqqxvilvhnsbqfh")
    public suspend fun startRestoreTime(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.startRestoreTime = mapped
    }

    internal fun build(): RestoredLogsArgs = RestoredLogsArgs(
        endRestoreTime = endRestoreTime,
        sourceTable = sourceTable,
        startRestoreTime = startRestoreTime,
    )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy