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

com.pulumi.aws.mediaconvert.kotlin.inputs.QueueReservationPlanSettingsArgs.kt Maven / Gradle / Ivy

@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.aws.mediaconvert.kotlin.inputs

import com.pulumi.aws.mediaconvert.inputs.QueueReservationPlanSettingsArgs.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.Int
import kotlin.String
import kotlin.Suppress
import kotlin.jvm.JvmName

/**
 *
 * @property commitment The length of the term of your reserved queue pricing plan commitment. Valid value is `ONE_YEAR`.
 * @property renewalType Specifies whether the term of your reserved queue pricing plan. Valid values are `AUTO_RENEW` or `EXPIRE`.
 * @property reservedSlots Specifies the number of reserved transcode slots (RTS) for queue.
 */
public data class QueueReservationPlanSettingsArgs(
    public val commitment: Output,
    public val renewalType: Output,
    public val reservedSlots: Output,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.aws.mediaconvert.inputs.QueueReservationPlanSettingsArgs =
        com.pulumi.aws.mediaconvert.inputs.QueueReservationPlanSettingsArgs.builder()
            .commitment(commitment.applyValue({ args0 -> args0 }))
            .renewalType(renewalType.applyValue({ args0 -> args0 }))
            .reservedSlots(reservedSlots.applyValue({ args0 -> args0 })).build()
}

/**
 * Builder for [QueueReservationPlanSettingsArgs].
 */
@PulumiTagMarker
public class QueueReservationPlanSettingsArgsBuilder internal constructor() {
    private var commitment: Output? = null

    private var renewalType: Output? = null

    private var reservedSlots: Output? = null

    /**
     * @param value The length of the term of your reserved queue pricing plan commitment. Valid value is `ONE_YEAR`.
     */
    @JvmName("avyvipiqwgbmnbeb")
    public suspend fun commitment(`value`: Output) {
        this.commitment = value
    }

    /**
     * @param value Specifies whether the term of your reserved queue pricing plan. Valid values are `AUTO_RENEW` or `EXPIRE`.
     */
    @JvmName("genutjqtiemxhyxy")
    public suspend fun renewalType(`value`: Output) {
        this.renewalType = value
    }

    /**
     * @param value Specifies the number of reserved transcode slots (RTS) for queue.
     */
    @JvmName("vlrssnssnwasscki")
    public suspend fun reservedSlots(`value`: Output) {
        this.reservedSlots = value
    }

    /**
     * @param value The length of the term of your reserved queue pricing plan commitment. Valid value is `ONE_YEAR`.
     */
    @JvmName("ikmnqcjsbgrosjbt")
    public suspend fun commitment(`value`: String) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.commitment = mapped
    }

    /**
     * @param value Specifies whether the term of your reserved queue pricing plan. Valid values are `AUTO_RENEW` or `EXPIRE`.
     */
    @JvmName("cfglxyeghvmfunfn")
    public suspend fun renewalType(`value`: String) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.renewalType = mapped
    }

    /**
     * @param value Specifies the number of reserved transcode slots (RTS) for queue.
     */
    @JvmName("axchmprgstbisvvs")
    public suspend fun reservedSlots(`value`: Int) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.reservedSlots = mapped
    }

    internal fun build(): QueueReservationPlanSettingsArgs = QueueReservationPlanSettingsArgs(
        commitment = commitment ?: throw PulumiNullFieldException("commitment"),
        renewalType = renewalType ?: throw PulumiNullFieldException("renewalType"),
        reservedSlots = reservedSlots ?: throw PulumiNullFieldException("reservedSlots"),
    )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy