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

com.pulumi.awsnative.mediapackagev2.kotlin.inputs.GetOriginEndpointPolicyPlainArgs.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: 1.24.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.awsnative.mediapackagev2.kotlin.inputs

import com.pulumi.awsnative.mediapackagev2.inputs.GetOriginEndpointPolicyPlainArgs.builder
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

/**
 *
 * @property channelGroupName The name of the channel group associated with the origin endpoint policy.
 * @property channelName The channel name associated with the origin endpoint policy.
 * @property originEndpointName The name of the origin endpoint associated with the origin endpoint policy.
 */
public data class GetOriginEndpointPolicyPlainArgs(
    public val channelGroupName: String,
    public val channelName: String,
    public val originEndpointName: String,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.awsnative.mediapackagev2.inputs.GetOriginEndpointPolicyPlainArgs = com.pulumi.awsnative.mediapackagev2.inputs.GetOriginEndpointPolicyPlainArgs.builder()
        .channelGroupName(channelGroupName.let({ args0 -> args0 }))
        .channelName(channelName.let({ args0 -> args0 }))
        .originEndpointName(originEndpointName.let({ args0 -> args0 })).build()
}

/**
 * Builder for [GetOriginEndpointPolicyPlainArgs].
 */
@PulumiTagMarker
public class GetOriginEndpointPolicyPlainArgsBuilder internal constructor() {
    private var channelGroupName: String? = null

    private var channelName: String? = null

    private var originEndpointName: String? = null

    /**
     * @param value The name of the channel group associated with the origin endpoint policy.
     */
    @JvmName("yvfngqjdwtqxfikg")
    public suspend fun channelGroupName(`value`: String) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> args0 })
        this.channelGroupName = mapped
    }

    /**
     * @param value The channel name associated with the origin endpoint policy.
     */
    @JvmName("aqmsamuilaoaedhg")
    public suspend fun channelName(`value`: String) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> args0 })
        this.channelName = mapped
    }

    /**
     * @param value The name of the origin endpoint associated with the origin endpoint policy.
     */
    @JvmName("qhvhtwlgigorqnoy")
    public suspend fun originEndpointName(`value`: String) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> args0 })
        this.originEndpointName = mapped
    }

    internal fun build(): GetOriginEndpointPolicyPlainArgs = GetOriginEndpointPolicyPlainArgs(
        channelGroupName = channelGroupName ?: throw PulumiNullFieldException("channelGroupName"),
        channelName = channelName ?: throw PulumiNullFieldException("channelName"),
        originEndpointName = originEndpointName ?: throw PulumiNullFieldException("originEndpointName"),
    )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy