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

com.pulumi.gcp.transcoder.kotlin.inputs.JobTemplateConfigMuxStreamSegmentSettingsArgs.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: 8.13.1.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.gcp.transcoder.kotlin.inputs

import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.gcp.transcoder.inputs.JobTemplateConfigMuxStreamSegmentSettingsArgs.builder
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.String
import kotlin.Suppress
import kotlin.jvm.JvmName

/**
 *
 * @property segmentDuration Duration of the segments in seconds. The default is `6.0s`.
 */
public data class JobTemplateConfigMuxStreamSegmentSettingsArgs(
    public val segmentDuration: Output? = null,
) :
    ConvertibleToJava {
    override fun toJava(): com.pulumi.gcp.transcoder.inputs.JobTemplateConfigMuxStreamSegmentSettingsArgs =
        com.pulumi.gcp.transcoder.inputs.JobTemplateConfigMuxStreamSegmentSettingsArgs.builder()
            .segmentDuration(segmentDuration?.applyValue({ args0 -> args0 })).build()
}

/**
 * Builder for [JobTemplateConfigMuxStreamSegmentSettingsArgs].
 */
@PulumiTagMarker
public class JobTemplateConfigMuxStreamSegmentSettingsArgsBuilder internal constructor() {
    private var segmentDuration: Output? = null

    /**
     * @param value Duration of the segments in seconds. The default is `6.0s`.
     */
    @JvmName("qyqpwjmarhneunxi")
    public suspend fun segmentDuration(`value`: Output) {
        this.segmentDuration = value
    }

    /**
     * @param value Duration of the segments in seconds. The default is `6.0s`.
     */
    @JvmName("cnxsligesptcmvxq")
    public suspend fun segmentDuration(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.segmentDuration = mapped
    }

    internal fun build(): JobTemplateConfigMuxStreamSegmentSettingsArgs =
        JobTemplateConfigMuxStreamSegmentSettingsArgs(
            segmentDuration = segmentDuration,
        )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy