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

com.pulumi.azure.media.kotlin.inputs.ContentKeyPolicyPolicyOptionPlayreadyConfigurationLicensePlayRightExplicitAnalogTelevisionOutputRestrictionArgs.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.15.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.azure.media.kotlin.inputs

import com.pulumi.azure.media.inputs.ContentKeyPolicyPolicyOptionPlayreadyConfigurationLicensePlayRightExplicitAnalogTelevisionOutputRestrictionArgs.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 kotlin.Boolean
import kotlin.Int
import kotlin.Suppress
import kotlin.jvm.JvmName

/**
 *
 * @property bestEffortEnforced Indicates whether this restriction is enforced on a best effort basis. Possible values are `true` or `false`. Defaults to `false`.
 * @property controlBits The restriction control bits. Possible value is integer between `0` and `3` inclusive.
 */
public data class
ContentKeyPolicyPolicyOptionPlayreadyConfigurationLicensePlayRightExplicitAnalogTelevisionOutputRestrictionArgs(
    public val bestEffortEnforced: Output? = null,
    public val controlBits: Output,
) :
    ConvertibleToJava {
    override fun toJava(): com.pulumi.azure.media.inputs.ContentKeyPolicyPolicyOptionPlayreadyConfigurationLicensePlayRightExplicitAnalogTelevisionOutputRestrictionArgs =
        com.pulumi.azure.media.inputs.ContentKeyPolicyPolicyOptionPlayreadyConfigurationLicensePlayRightExplicitAnalogTelevisionOutputRestrictionArgs.builder()
            .bestEffortEnforced(bestEffortEnforced?.applyValue({ args0 -> args0 }))
            .controlBits(controlBits.applyValue({ args0 -> args0 })).build()
}

/**
 * Builder for [ContentKeyPolicyPolicyOptionPlayreadyConfigurationLicensePlayRightExplicitAnalogTelevisionOutputRestrictionArgs].
 */
@PulumiTagMarker
public class
ContentKeyPolicyPolicyOptionPlayreadyConfigurationLicensePlayRightExplicitAnalogTelevisionOutputRestrictionArgsBuilder
internal constructor() {
    private var bestEffortEnforced: Output? = null

    private var controlBits: Output? = null

    /**
     * @param value Indicates whether this restriction is enforced on a best effort basis. Possible values are `true` or `false`. Defaults to `false`.
     */
    @JvmName("baatygurmnkwrddx")
    public suspend fun bestEffortEnforced(`value`: Output) {
        this.bestEffortEnforced = value
    }

    /**
     * @param value The restriction control bits. Possible value is integer between `0` and `3` inclusive.
     */
    @JvmName("mnmqwkoqaxbtoryq")
    public suspend fun controlBits(`value`: Output) {
        this.controlBits = value
    }

    /**
     * @param value Indicates whether this restriction is enforced on a best effort basis. Possible values are `true` or `false`. Defaults to `false`.
     */
    @JvmName("gquogkcyopocjlkc")
    public suspend fun bestEffortEnforced(`value`: Boolean?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.bestEffortEnforced = mapped
    }

    /**
     * @param value The restriction control bits. Possible value is integer between `0` and `3` inclusive.
     */
    @JvmName("kuvwpwifhqimmpye")
    public suspend fun controlBits(`value`: Int) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.controlBits = mapped
    }

    internal fun build(): ContentKeyPolicyPolicyOptionPlayreadyConfigurationLicensePlayRightExplicitAnalogTelevisionOutputRestrictionArgs =
        ContentKeyPolicyPolicyOptionPlayreadyConfigurationLicensePlayRightExplicitAnalogTelevisionOutputRestrictionArgs(
            bestEffortEnforced = bestEffortEnforced,
            controlBits = controlBits ?: throw PulumiNullFieldException("controlBits"),
        )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy