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

com.pulumi.aws.medialive.kotlin.inputs.ChannelEncoderSettingsVideoDescriptionCodecSettingsFrameCaptureSettingsArgs.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.57.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.aws.medialive.kotlin.inputs

import com.pulumi.aws.medialive.inputs.ChannelEncoderSettingsVideoDescriptionCodecSettingsFrameCaptureSettingsArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.Int
import kotlin.String
import kotlin.Suppress
import kotlin.jvm.JvmName

/**
 *
 * @property captureInterval The frequency at which to capture frames for inclusion in the output.
 * @property captureIntervalUnits Unit for the frame capture interval.
 */
public data class ChannelEncoderSettingsVideoDescriptionCodecSettingsFrameCaptureSettingsArgs(
    public val captureInterval: Output? = null,
    public val captureIntervalUnits: Output? = null,
) :
    ConvertibleToJava {
    override fun toJava(): com.pulumi.aws.medialive.inputs.ChannelEncoderSettingsVideoDescriptionCodecSettingsFrameCaptureSettingsArgs =
        com.pulumi.aws.medialive.inputs.ChannelEncoderSettingsVideoDescriptionCodecSettingsFrameCaptureSettingsArgs.builder()
            .captureInterval(captureInterval?.applyValue({ args0 -> args0 }))
            .captureIntervalUnits(captureIntervalUnits?.applyValue({ args0 -> args0 })).build()
}

/**
 * Builder for [ChannelEncoderSettingsVideoDescriptionCodecSettingsFrameCaptureSettingsArgs].
 */
@PulumiTagMarker
public class ChannelEncoderSettingsVideoDescriptionCodecSettingsFrameCaptureSettingsArgsBuilder
internal constructor() {
    private var captureInterval: Output? = null

    private var captureIntervalUnits: Output? = null

    /**
     * @param value The frequency at which to capture frames for inclusion in the output.
     */
    @JvmName("jncihgpxvgsnqyjn")
    public suspend fun captureInterval(`value`: Output) {
        this.captureInterval = value
    }

    /**
     * @param value Unit for the frame capture interval.
     */
    @JvmName("eflkhrlcukrrjkoa")
    public suspend fun captureIntervalUnits(`value`: Output) {
        this.captureIntervalUnits = value
    }

    /**
     * @param value The frequency at which to capture frames for inclusion in the output.
     */
    @JvmName("qfvqcgrnactsddpu")
    public suspend fun captureInterval(`value`: Int?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.captureInterval = mapped
    }

    /**
     * @param value Unit for the frame capture interval.
     */
    @JvmName("xrxrtatfalnvtfhr")
    public suspend fun captureIntervalUnits(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.captureIntervalUnits = mapped
    }

    internal fun build(): ChannelEncoderSettingsVideoDescriptionCodecSettingsFrameCaptureSettingsArgs = ChannelEncoderSettingsVideoDescriptionCodecSettingsFrameCaptureSettingsArgs(
        captureInterval = captureInterval,
        captureIntervalUnits = captureIntervalUnits,
    )
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy