com.pulumi.aws.msk.kotlin.inputs.ClusterLoggingInfoBrokerLogsS3Args.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-aws-kotlin Show documentation
Show all versions of pulumi-aws-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.aws.msk.kotlin.inputs
import com.pulumi.aws.msk.inputs.ClusterLoggingInfoBrokerLogsS3Args.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
/**
*
* @property bucket Name of the S3 bucket to deliver logs to.
* @property enabled
* @property prefix Prefix to append to the folder name.
*/
public data class ClusterLoggingInfoBrokerLogsS3Args(
public val bucket: Output? = null,
public val enabled: Output,
public val prefix: Output? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.aws.msk.inputs.ClusterLoggingInfoBrokerLogsS3Args =
com.pulumi.aws.msk.inputs.ClusterLoggingInfoBrokerLogsS3Args.builder()
.bucket(bucket?.applyValue({ args0 -> args0 }))
.enabled(enabled.applyValue({ args0 -> args0 }))
.prefix(prefix?.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [ClusterLoggingInfoBrokerLogsS3Args].
*/
@PulumiTagMarker
public class ClusterLoggingInfoBrokerLogsS3ArgsBuilder internal constructor() {
private var bucket: Output? = null
private var enabled: Output? = null
private var prefix: Output? = null
/**
* @param value Name of the S3 bucket to deliver logs to.
*/
@JvmName("ncvtroqauftlgyhx")
public suspend fun bucket(`value`: Output) {
this.bucket = value
}
/**
* @param value
*/
@JvmName("brocqfkxsoaiotvj")
public suspend fun enabled(`value`: Output) {
this.enabled = value
}
/**
* @param value Prefix to append to the folder name.
*/
@JvmName("tebcysojnwilmejq")
public suspend fun prefix(`value`: Output) {
this.prefix = value
}
/**
* @param value Name of the S3 bucket to deliver logs to.
*/
@JvmName("oyesmndmmgxdbpvx")
public suspend fun bucket(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.bucket = mapped
}
/**
* @param value
*/
@JvmName("rdjoufowjxmfjevs")
public suspend fun enabled(`value`: Boolean) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.enabled = mapped
}
/**
* @param value Prefix to append to the folder name.
*/
@JvmName("wgcvvirwdlybyyuv")
public suspend fun prefix(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.prefix = mapped
}
internal fun build(): ClusterLoggingInfoBrokerLogsS3Args = ClusterLoggingInfoBrokerLogsS3Args(
bucket = bucket,
enabled = enabled ?: throw PulumiNullFieldException("enabled"),
prefix = prefix,
)
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy