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

com.pulumi.aws.medialive.kotlin.inputs.ChannelEncoderSettingsOutputGroupOutputGroupSettingsHlsGroupSettingsKeyProviderSettingsStaticKeySettingArgs.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.ChannelEncoderSettingsOutputGroupOutputGroupSettingsHlsGroupSettingsKeyProviderSettingsStaticKeySettingArgs.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 com.pulumi.kotlin.applySuspend
import kotlin.String
import kotlin.Suppress
import kotlin.Unit
import kotlin.jvm.JvmName

/**
 *
 * @property keyProviderServer
 * @property staticKeyValue
 */
public data class
ChannelEncoderSettingsOutputGroupOutputGroupSettingsHlsGroupSettingsKeyProviderSettingsStaticKeySettingArgs(
    public val keyProviderServer: Output? =
        null,
    public val staticKeyValue: Output,
) :
    ConvertibleToJava {
    override fun toJava(): com.pulumi.aws.medialive.inputs.ChannelEncoderSettingsOutputGroupOutputGroupSettingsHlsGroupSettingsKeyProviderSettingsStaticKeySettingArgs =
        com.pulumi.aws.medialive.inputs.ChannelEncoderSettingsOutputGroupOutputGroupSettingsHlsGroupSettingsKeyProviderSettingsStaticKeySettingArgs.builder()
            .keyProviderServer(keyProviderServer?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
            .staticKeyValue(staticKeyValue.applyValue({ args0 -> args0 })).build()
}

/**
 * Builder for [ChannelEncoderSettingsOutputGroupOutputGroupSettingsHlsGroupSettingsKeyProviderSettingsStaticKeySettingArgs].
 */
@PulumiTagMarker
public class
ChannelEncoderSettingsOutputGroupOutputGroupSettingsHlsGroupSettingsKeyProviderSettingsStaticKeySettingArgsBuilder
internal constructor() {
    private var keyProviderServer:
        Output? =
        null

    private var staticKeyValue: Output? = null

    /**
     * @param value
     */
    @JvmName("aufcmvntqccorsus")
    public suspend fun keyProviderServer(`value`: Output) {
        this.keyProviderServer = value
    }

    /**
     * @param value
     */
    @JvmName("hhurbuxpxrqlrvmo")
    public suspend fun staticKeyValue(`value`: Output) {
        this.staticKeyValue = value
    }

    /**
     * @param value
     */
    @JvmName("mxpavgxvmjiiixvh")
    public suspend fun keyProviderServer(`value`: ChannelEncoderSettingsOutputGroupOutputGroupSettingsHlsGroupSettingsKeyProviderSettingsStaticKeySettingKeyProviderServerArgs?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.keyProviderServer = mapped
    }

    /**
     * @param argument
     */
    @JvmName("hsexfrwmrepcsyam")
    public suspend fun keyProviderServer(argument: suspend ChannelEncoderSettingsOutputGroupOutputGroupSettingsHlsGroupSettingsKeyProviderSettingsStaticKeySettingKeyProviderServerArgsBuilder.() -> Unit) {
        val toBeMapped =
            ChannelEncoderSettingsOutputGroupOutputGroupSettingsHlsGroupSettingsKeyProviderSettingsStaticKeySettingKeyProviderServerArgsBuilder().applySuspend {
                argument()
            }.build()
        val mapped = of(toBeMapped)
        this.keyProviderServer = mapped
    }

    /**
     * @param value
     */
    @JvmName("cakwgstxawalxaea")
    public suspend fun staticKeyValue(`value`: String) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.staticKeyValue = mapped
    }

    internal fun build(): ChannelEncoderSettingsOutputGroupOutputGroupSettingsHlsGroupSettingsKeyProviderSettingsStaticKeySettingArgs =
        ChannelEncoderSettingsOutputGroupOutputGroupSettingsHlsGroupSettingsKeyProviderSettingsStaticKeySettingArgs(
            keyProviderServer = keyProviderServer,
            staticKeyValue = staticKeyValue ?: throw PulumiNullFieldException("staticKeyValue"),
        )
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy