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

com.pulumi.azurenative.media.kotlin.inputs.PresentationTimeRangeArgs.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.media.kotlin.inputs

import com.pulumi.azurenative.media.inputs.PresentationTimeRangeArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.Boolean
import kotlin.Double
import kotlin.Suppress
import kotlin.jvm.JvmName

/**
 * The presentation time range, this is asset related and not recommended for Account Filter.
 * @property endTimestamp The absolute end time boundary.
 * @property forceEndTimestamp The indicator of forcing existing of end time stamp.
 * @property liveBackoffDuration The relative to end right edge.
 * @property presentationWindowDuration The relative to end sliding window.
 * @property startTimestamp The absolute start time boundary.
 * @property timescale The time scale of time stamps.
 */
public data class PresentationTimeRangeArgs(
    public val endTimestamp: Output? = null,
    public val forceEndTimestamp: Output? = null,
    public val liveBackoffDuration: Output? = null,
    public val presentationWindowDuration: Output? = null,
    public val startTimestamp: Output? = null,
    public val timescale: Output? = null,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.azurenative.media.inputs.PresentationTimeRangeArgs =
        com.pulumi.azurenative.media.inputs.PresentationTimeRangeArgs.builder()
            .endTimestamp(endTimestamp?.applyValue({ args0 -> args0 }))
            .forceEndTimestamp(forceEndTimestamp?.applyValue({ args0 -> args0 }))
            .liveBackoffDuration(liveBackoffDuration?.applyValue({ args0 -> args0 }))
            .presentationWindowDuration(presentationWindowDuration?.applyValue({ args0 -> args0 }))
            .startTimestamp(startTimestamp?.applyValue({ args0 -> args0 }))
            .timescale(timescale?.applyValue({ args0 -> args0 })).build()
}

/**
 * Builder for [PresentationTimeRangeArgs].
 */
@PulumiTagMarker
public class PresentationTimeRangeArgsBuilder internal constructor() {
    private var endTimestamp: Output? = null

    private var forceEndTimestamp: Output? = null

    private var liveBackoffDuration: Output? = null

    private var presentationWindowDuration: Output? = null

    private var startTimestamp: Output? = null

    private var timescale: Output? = null

    /**
     * @param value The absolute end time boundary.
     */
    @JvmName("xehnhvujionkwbqy")
    public suspend fun endTimestamp(`value`: Output) {
        this.endTimestamp = value
    }

    /**
     * @param value The indicator of forcing existing of end time stamp.
     */
    @JvmName("qsxkympfssyyhlbo")
    public suspend fun forceEndTimestamp(`value`: Output) {
        this.forceEndTimestamp = value
    }

    /**
     * @param value The relative to end right edge.
     */
    @JvmName("dfoimwroeplrondl")
    public suspend fun liveBackoffDuration(`value`: Output) {
        this.liveBackoffDuration = value
    }

    /**
     * @param value The relative to end sliding window.
     */
    @JvmName("tqhavkgcnifgrhhx")
    public suspend fun presentationWindowDuration(`value`: Output) {
        this.presentationWindowDuration = value
    }

    /**
     * @param value The absolute start time boundary.
     */
    @JvmName("ojydtvfohgoktxeb")
    public suspend fun startTimestamp(`value`: Output) {
        this.startTimestamp = value
    }

    /**
     * @param value The time scale of time stamps.
     */
    @JvmName("lcfurjminhhwtyoy")
    public suspend fun timescale(`value`: Output) {
        this.timescale = value
    }

    /**
     * @param value The absolute end time boundary.
     */
    @JvmName("dbhwmqxvduqsmpmb")
    public suspend fun endTimestamp(`value`: Double?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.endTimestamp = mapped
    }

    /**
     * @param value The indicator of forcing existing of end time stamp.
     */
    @JvmName("vsmnkbaokfugybax")
    public suspend fun forceEndTimestamp(`value`: Boolean?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.forceEndTimestamp = mapped
    }

    /**
     * @param value The relative to end right edge.
     */
    @JvmName("lryhoiofeepysple")
    public suspend fun liveBackoffDuration(`value`: Double?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.liveBackoffDuration = mapped
    }

    /**
     * @param value The relative to end sliding window.
     */
    @JvmName("jwhtvaembwgmixwk")
    public suspend fun presentationWindowDuration(`value`: Double?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.presentationWindowDuration = mapped
    }

    /**
     * @param value The absolute start time boundary.
     */
    @JvmName("rowibgpyuxemipgk")
    public suspend fun startTimestamp(`value`: Double?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.startTimestamp = mapped
    }

    /**
     * @param value The time scale of time stamps.
     */
    @JvmName("dclehlspdddlngvq")
    public suspend fun timescale(`value`: Double?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.timescale = mapped
    }

    internal fun build(): PresentationTimeRangeArgs = PresentationTimeRangeArgs(
        endTimestamp = endTimestamp,
        forceEndTimestamp = forceEndTimestamp,
        liveBackoffDuration = liveBackoffDuration,
        presentationWindowDuration = presentationWindowDuration,
        startTimestamp = startTimestamp,
        timescale = timescale,
    )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy