
com.pulumi.awsnative.iotanalytics.kotlin.inputs.DatasetContentDeliveryRuleArgs.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.awsnative.iotanalytics.kotlin.inputs
import com.pulumi.awsnative.iotanalytics.inputs.DatasetContentDeliveryRuleArgs.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 com.pulumi.kotlin.applySuspend
import kotlin.String
import kotlin.Suppress
import kotlin.Unit
import kotlin.jvm.JvmName
/**
*
* @property destination The destination to which dataset contents are delivered.
* @property entryName The name of the dataset content delivery rules entry.
*/
public data class DatasetContentDeliveryRuleArgs(
public val destination: Output,
public val entryName: Output? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.awsnative.iotanalytics.inputs.DatasetContentDeliveryRuleArgs =
com.pulumi.awsnative.iotanalytics.inputs.DatasetContentDeliveryRuleArgs.builder()
.destination(destination.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
.entryName(entryName?.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [DatasetContentDeliveryRuleArgs].
*/
@PulumiTagMarker
public class DatasetContentDeliveryRuleArgsBuilder internal constructor() {
private var destination: Output? = null
private var entryName: Output? = null
/**
* @param value The destination to which dataset contents are delivered.
*/
@JvmName("gshxocamiluhkdof")
public suspend fun destination(`value`: Output) {
this.destination = value
}
/**
* @param value The name of the dataset content delivery rules entry.
*/
@JvmName("twfdbywawmqljpbf")
public suspend fun entryName(`value`: Output) {
this.entryName = value
}
/**
* @param value The destination to which dataset contents are delivered.
*/
@JvmName("guxqaqntwhjdoxdh")
public suspend fun destination(`value`: DatasetContentDeliveryRuleDestinationArgs) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.destination = mapped
}
/**
* @param argument The destination to which dataset contents are delivered.
*/
@JvmName("stjtcxrmeiqexmxj")
public suspend fun destination(argument: suspend DatasetContentDeliveryRuleDestinationArgsBuilder.() -> Unit) {
val toBeMapped = DatasetContentDeliveryRuleDestinationArgsBuilder().applySuspend {
argument()
}.build()
val mapped = of(toBeMapped)
this.destination = mapped
}
/**
* @param value The name of the dataset content delivery rules entry.
*/
@JvmName("xqyribiydcyhwpmt")
public suspend fun entryName(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.entryName = mapped
}
internal fun build(): DatasetContentDeliveryRuleArgs = DatasetContentDeliveryRuleArgs(
destination = destination ?: throw PulumiNullFieldException("destination"),
entryName = entryName,
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy