
com.pulumi.awsnative.mediapackagev2.kotlin.inputs.OriginEndpointEncryptionMethodArgs.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-aws-native-kotlin Show documentation
Show all versions of pulumi-aws-native-kotlin Show documentation
Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.awsnative.mediapackagev2.kotlin.inputs
import com.pulumi.awsnative.mediapackagev2.inputs.OriginEndpointEncryptionMethodArgs.builder
import com.pulumi.awsnative.mediapackagev2.kotlin.enums.OriginEndpointCmafEncryptionMethod
import com.pulumi.awsnative.mediapackagev2.kotlin.enums.OriginEndpointTsEncryptionMethod
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.Suppress
import kotlin.jvm.JvmName
/**
* The encryption type.
* @property cmafEncryptionMethod The encryption method to use.
* @property tsEncryptionMethod The encryption method to use.
*/
public data class OriginEndpointEncryptionMethodArgs(
public val cmafEncryptionMethod: Output? = null,
public val tsEncryptionMethod: Output? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.awsnative.mediapackagev2.inputs.OriginEndpointEncryptionMethodArgs =
com.pulumi.awsnative.mediapackagev2.inputs.OriginEndpointEncryptionMethodArgs.builder()
.cmafEncryptionMethod(
cmafEncryptionMethod?.applyValue({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
}),
)
.tsEncryptionMethod(
tsEncryptionMethod?.applyValue({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
}),
).build()
}
/**
* Builder for [OriginEndpointEncryptionMethodArgs].
*/
@PulumiTagMarker
public class OriginEndpointEncryptionMethodArgsBuilder internal constructor() {
private var cmafEncryptionMethod: Output? = null
private var tsEncryptionMethod: Output? = null
/**
* @param value The encryption method to use.
*/
@JvmName("hahkiyqdtstmrjio")
public suspend fun cmafEncryptionMethod(`value`: Output) {
this.cmafEncryptionMethod = value
}
/**
* @param value The encryption method to use.
*/
@JvmName("fjkdbnpkrxledfsk")
public suspend fun tsEncryptionMethod(`value`: Output) {
this.tsEncryptionMethod = value
}
/**
* @param value The encryption method to use.
*/
@JvmName("rhognoxuyldnculm")
public suspend fun cmafEncryptionMethod(`value`: OriginEndpointCmafEncryptionMethod?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.cmafEncryptionMethod = mapped
}
/**
* @param value The encryption method to use.
*/
@JvmName("srhmjwqlseldasld")
public suspend fun tsEncryptionMethod(`value`: OriginEndpointTsEncryptionMethod?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.tsEncryptionMethod = mapped
}
internal fun build(): OriginEndpointEncryptionMethodArgs = OriginEndpointEncryptionMethodArgs(
cmafEncryptionMethod = cmafEncryptionMethod,
tsEncryptionMethod = tsEncryptionMethod,
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy