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

com.pulumi.awsnative.mediapackage.kotlin.inputs.AssetEgressEndpointArgs.kt Maven / Gradle / Ivy

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

package com.pulumi.awsnative.mediapackage.kotlin.inputs

import com.pulumi.awsnative.mediapackage.inputs.AssetEgressEndpointArgs.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.String
import kotlin.Suppress
import kotlin.jvm.JvmName

/**
 * The endpoint URL used to access an Asset using one PackagingConfiguration.
 * @property packagingConfigurationId The ID of the PackagingConfiguration being applied to the Asset.
 * @property url The URL of the parent manifest for the repackaged Asset.
 */
public data class AssetEgressEndpointArgs(
    public val packagingConfigurationId: Output,
    public val url: Output,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.awsnative.mediapackage.inputs.AssetEgressEndpointArgs =
        com.pulumi.awsnative.mediapackage.inputs.AssetEgressEndpointArgs.builder()
            .packagingConfigurationId(packagingConfigurationId.applyValue({ args0 -> args0 }))
            .url(url.applyValue({ args0 -> args0 })).build()
}

/**
 * Builder for [AssetEgressEndpointArgs].
 */
@PulumiTagMarker
public class AssetEgressEndpointArgsBuilder internal constructor() {
    private var packagingConfigurationId: Output? = null

    private var url: Output? = null

    /**
     * @param value The ID of the PackagingConfiguration being applied to the Asset.
     */
    @JvmName("aifcxpajkdiawgfb")
    public suspend fun packagingConfigurationId(`value`: Output) {
        this.packagingConfigurationId = value
    }

    /**
     * @param value The URL of the parent manifest for the repackaged Asset.
     */
    @JvmName("ptqnirvggjaadeuw")
    public suspend fun url(`value`: Output) {
        this.url = value
    }

    /**
     * @param value The ID of the PackagingConfiguration being applied to the Asset.
     */
    @JvmName("pjwqphtverwifbcu")
    public suspend fun packagingConfigurationId(`value`: String) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.packagingConfigurationId = mapped
    }

    /**
     * @param value The URL of the parent manifest for the repackaged Asset.
     */
    @JvmName("lkiptbripupwspte")
    public suspend fun url(`value`: String) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.url = mapped
    }

    internal fun build(): AssetEgressEndpointArgs = AssetEgressEndpointArgs(
        packagingConfigurationId = packagingConfigurationId ?: throw
            PulumiNullFieldException("packagingConfigurationId"),
        url = url ?: throw PulumiNullFieldException("url"),
    )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy