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

com.pulumi.awsnative.msk.kotlin.inputs.ClusterBrokerLogsArgs.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.msk.kotlin.inputs

import com.pulumi.awsnative.msk.inputs.ClusterBrokerLogsArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import com.pulumi.kotlin.applySuspend
import kotlin.Suppress
import kotlin.Unit
import kotlin.jvm.JvmName

/**
 *
 * @property cloudWatchLogs Details of the CloudWatch Logs destination for broker logs.
 * @property firehose Details of the Kinesis Data Firehose delivery stream that is the destination for broker logs.
 * @property s3 Details of the Amazon S3 destination for broker logs.
 */
public data class ClusterBrokerLogsArgs(
    public val cloudWatchLogs: Output? = null,
    public val firehose: Output? = null,
    public val s3: Output? = null,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.awsnative.msk.inputs.ClusterBrokerLogsArgs =
        com.pulumi.awsnative.msk.inputs.ClusterBrokerLogsArgs.builder()
            .cloudWatchLogs(cloudWatchLogs?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
            .firehose(firehose?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
            .s3(s3?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) })).build()
}

/**
 * Builder for [ClusterBrokerLogsArgs].
 */
@PulumiTagMarker
public class ClusterBrokerLogsArgsBuilder internal constructor() {
    private var cloudWatchLogs: Output? = null

    private var firehose: Output? = null

    private var s3: Output? = null

    /**
     * @param value Details of the CloudWatch Logs destination for broker logs.
     */
    @JvmName("itxgqqyyevoapuoy")
    public suspend fun cloudWatchLogs(`value`: Output) {
        this.cloudWatchLogs = value
    }

    /**
     * @param value Details of the Kinesis Data Firehose delivery stream that is the destination for broker logs.
     */
    @JvmName("dafrelibxldobtuh")
    public suspend fun firehose(`value`: Output) {
        this.firehose = value
    }

    /**
     * @param value Details of the Amazon S3 destination for broker logs.
     */
    @JvmName("fqoenlocuiofcevr")
    public suspend fun s3(`value`: Output) {
        this.s3 = value
    }

    /**
     * @param value Details of the CloudWatch Logs destination for broker logs.
     */
    @JvmName("kofsfhtlipaijcmq")
    public suspend fun cloudWatchLogs(`value`: ClusterCloudWatchLogsArgs?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.cloudWatchLogs = mapped
    }

    /**
     * @param argument Details of the CloudWatch Logs destination for broker logs.
     */
    @JvmName("hsjqsqcbsjglwhoa")
    public suspend fun cloudWatchLogs(argument: suspend ClusterCloudWatchLogsArgsBuilder.() -> Unit) {
        val toBeMapped = ClusterCloudWatchLogsArgsBuilder().applySuspend { argument() }.build()
        val mapped = of(toBeMapped)
        this.cloudWatchLogs = mapped
    }

    /**
     * @param value Details of the Kinesis Data Firehose delivery stream that is the destination for broker logs.
     */
    @JvmName("kjigdmccjcljywxj")
    public suspend fun firehose(`value`: ClusterFirehoseArgs?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.firehose = mapped
    }

    /**
     * @param argument Details of the Kinesis Data Firehose delivery stream that is the destination for broker logs.
     */
    @JvmName("fbknymokgtkhqfbb")
    public suspend fun firehose(argument: suspend ClusterFirehoseArgsBuilder.() -> Unit) {
        val toBeMapped = ClusterFirehoseArgsBuilder().applySuspend { argument() }.build()
        val mapped = of(toBeMapped)
        this.firehose = mapped
    }

    /**
     * @param value Details of the Amazon S3 destination for broker logs.
     */
    @JvmName("isdqwxoctnajdqpt")
    public suspend fun s3(`value`: ClusterS3Args?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.s3 = mapped
    }

    /**
     * @param argument Details of the Amazon S3 destination for broker logs.
     */
    @JvmName("vxvapudjpstxqwvy")
    public suspend fun s3(argument: suspend ClusterS3ArgsBuilder.() -> Unit) {
        val toBeMapped = ClusterS3ArgsBuilder().applySuspend { argument() }.build()
        val mapped = of(toBeMapped)
        this.s3 = mapped
    }

    internal fun build(): ClusterBrokerLogsArgs = ClusterBrokerLogsArgs(
        cloudWatchLogs = cloudWatchLogs,
        firehose = firehose,
        s3 = s3,
    )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy