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

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

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

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

/**
 *
 * @property playbackDurationSeconds Playback duration.
 * @property storageDurationSeconds Storage duration.
 */
public data class ContentKeyPolicyPolicyOptionFairplayConfigurationOfflineRentalConfigurationArgs(
    public val playbackDurationSeconds: Output? = null,
    public val storageDurationSeconds: Output? = null,
) :
    ConvertibleToJava {
    override fun toJava():
        com.pulumi.azure.media.inputs.ContentKeyPolicyPolicyOptionFairplayConfigurationOfflineRentalConfigurationArgs =
        com.pulumi.azure.media.inputs.ContentKeyPolicyPolicyOptionFairplayConfigurationOfflineRentalConfigurationArgs.builder()
            .playbackDurationSeconds(playbackDurationSeconds?.applyValue({ args0 -> args0 }))
            .storageDurationSeconds(storageDurationSeconds?.applyValue({ args0 -> args0 })).build()
}

/**
 * Builder for [ContentKeyPolicyPolicyOptionFairplayConfigurationOfflineRentalConfigurationArgs].
 */
@PulumiTagMarker
public class ContentKeyPolicyPolicyOptionFairplayConfigurationOfflineRentalConfigurationArgsBuilder
internal constructor() {
    private var playbackDurationSeconds: Output? = null

    private var storageDurationSeconds: Output? = null

    /**
     * @param value Playback duration.
     */
    @JvmName("jupjmuteaksuisxh")
    public suspend fun playbackDurationSeconds(`value`: Output) {
        this.playbackDurationSeconds = value
    }

    /**
     * @param value Storage duration.
     */
    @JvmName("bchunigjrfltdunk")
    public suspend fun storageDurationSeconds(`value`: Output) {
        this.storageDurationSeconds = value
    }

    /**
     * @param value Playback duration.
     */
    @JvmName("oepynkdkwimxnxrk")
    public suspend fun playbackDurationSeconds(`value`: Int?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.playbackDurationSeconds = mapped
    }

    /**
     * @param value Storage duration.
     */
    @JvmName("ycxyobunoahqmuav")
    public suspend fun storageDurationSeconds(`value`: Int?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.storageDurationSeconds = mapped
    }

    internal fun build():
        ContentKeyPolicyPolicyOptionFairplayConfigurationOfflineRentalConfigurationArgs =
        ContentKeyPolicyPolicyOptionFairplayConfigurationOfflineRentalConfigurationArgs(
            playbackDurationSeconds = playbackDurationSeconds,
            storageDurationSeconds = storageDurationSeconds,
        )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy