![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.awsnative.logs.kotlin.inputs.DeliveryDestinationDestinationPolicyArgs.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.awsnative.logs.kotlin.inputs
import com.pulumi.awsnative.logs.inputs.DeliveryDestinationDestinationPolicyArgs.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
/**
*
* @property deliveryDestinationName The name of the delivery destination to assign this policy to
* @property deliveryDestinationPolicy The contents of the policy attached to the delivery destination
*/
public data class DeliveryDestinationDestinationPolicyArgs(
public val deliveryDestinationName: Output,
public val deliveryDestinationPolicy: Output,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.awsnative.logs.inputs.DeliveryDestinationDestinationPolicyArgs =
com.pulumi.awsnative.logs.inputs.DeliveryDestinationDestinationPolicyArgs.builder()
.deliveryDestinationName(deliveryDestinationName.applyValue({ args0 -> args0 }))
.deliveryDestinationPolicy(deliveryDestinationPolicy.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [DeliveryDestinationDestinationPolicyArgs].
*/
@PulumiTagMarker
public class DeliveryDestinationDestinationPolicyArgsBuilder internal constructor() {
private var deliveryDestinationName: Output? = null
private var deliveryDestinationPolicy: Output? = null
/**
* @param value The name of the delivery destination to assign this policy to
*/
@JvmName("biukpirhuvcvonmp")
public suspend fun deliveryDestinationName(`value`: Output) {
this.deliveryDestinationName = value
}
/**
* @param value The contents of the policy attached to the delivery destination
*/
@JvmName("ilxknrdrorffdjui")
public suspend fun deliveryDestinationPolicy(`value`: Output) {
this.deliveryDestinationPolicy = value
}
/**
* @param value The name of the delivery destination to assign this policy to
*/
@JvmName("kkqeapqhncdweprn")
public suspend fun deliveryDestinationName(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.deliveryDestinationName = mapped
}
/**
* @param value The contents of the policy attached to the delivery destination
*/
@JvmName("xmukesqmdmqbennh")
public suspend fun deliveryDestinationPolicy(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.deliveryDestinationPolicy = mapped
}
internal fun build(): DeliveryDestinationDestinationPolicyArgs =
DeliveryDestinationDestinationPolicyArgs(
deliveryDestinationName = deliveryDestinationName ?: throw
PulumiNullFieldException("deliveryDestinationName"),
deliveryDestinationPolicy = deliveryDestinationPolicy ?: throw
PulumiNullFieldException("deliveryDestinationPolicy"),
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy