![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.awsnative.kafkaconnect.kotlin.inputs.ConnectorFirehoseLogDeliveryArgs.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.awsnative.kafkaconnect.kotlin.inputs
import com.pulumi.awsnative.kafkaconnect.inputs.ConnectorFirehoseLogDeliveryArgs.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.Boolean
import kotlin.String
import kotlin.Suppress
import kotlin.jvm.JvmName
/**
* Details about delivering logs to Amazon Kinesis Data Firehose.
* @property deliveryStream The Kinesis Data Firehose delivery stream that is the destination for log delivery.
* @property enabled Specifies whether the logs get sent to the specified Kinesis Data Firehose delivery stream.
*/
public data class ConnectorFirehoseLogDeliveryArgs(
public val deliveryStream: Output? = null,
public val enabled: Output,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.awsnative.kafkaconnect.inputs.ConnectorFirehoseLogDeliveryArgs =
com.pulumi.awsnative.kafkaconnect.inputs.ConnectorFirehoseLogDeliveryArgs.builder()
.deliveryStream(deliveryStream?.applyValue({ args0 -> args0 }))
.enabled(enabled.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [ConnectorFirehoseLogDeliveryArgs].
*/
@PulumiTagMarker
public class ConnectorFirehoseLogDeliveryArgsBuilder internal constructor() {
private var deliveryStream: Output? = null
private var enabled: Output? = null
/**
* @param value The Kinesis Data Firehose delivery stream that is the destination for log delivery.
*/
@JvmName("yhqsqdyaanlgxxfb")
public suspend fun deliveryStream(`value`: Output) {
this.deliveryStream = value
}
/**
* @param value Specifies whether the logs get sent to the specified Kinesis Data Firehose delivery stream.
*/
@JvmName("saslvpcohxvtlfja")
public suspend fun enabled(`value`: Output) {
this.enabled = value
}
/**
* @param value The Kinesis Data Firehose delivery stream that is the destination for log delivery.
*/
@JvmName("rjwdtabwbbuuhucg")
public suspend fun deliveryStream(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.deliveryStream = mapped
}
/**
* @param value Specifies whether the logs get sent to the specified Kinesis Data Firehose delivery stream.
*/
@JvmName("gxbxtpbjsicffgdb")
public suspend fun enabled(`value`: Boolean) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.enabled = mapped
}
internal fun build(): ConnectorFirehoseLogDeliveryArgs = ConnectorFirehoseLogDeliveryArgs(
deliveryStream = deliveryStream,
enabled = enabled ?: throw PulumiNullFieldException("enabled"),
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy