
com.pulumi.awsnative.kafkaconnect.kotlin.inputs.ConnectorS3LogDeliveryArgs.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-aws-native-kotlin Show documentation
Show all versions of pulumi-aws-native-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.awsnative.kafkaconnect.kotlin.inputs
import com.pulumi.awsnative.kafkaconnect.inputs.ConnectorS3LogDeliveryArgs.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 S3.
* @property bucket The name of the S3 bucket that is the destination for log delivery.
* @property enabled Specifies whether the logs get sent to the specified Amazon S3 destination.
* @property prefix The S3 prefix that is the destination for log delivery.
*/
public data class ConnectorS3LogDeliveryArgs(
public val bucket: Output? = null,
public val enabled: Output,
public val prefix: Output? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.awsnative.kafkaconnect.inputs.ConnectorS3LogDeliveryArgs =
com.pulumi.awsnative.kafkaconnect.inputs.ConnectorS3LogDeliveryArgs.builder()
.bucket(bucket?.applyValue({ args0 -> args0 }))
.enabled(enabled.applyValue({ args0 -> args0 }))
.prefix(prefix?.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [ConnectorS3LogDeliveryArgs].
*/
@PulumiTagMarker
public class ConnectorS3LogDeliveryArgsBuilder internal constructor() {
private var bucket: Output? = null
private var enabled: Output? = null
private var prefix: Output? = null
/**
* @param value The name of the S3 bucket that is the destination for log delivery.
*/
@JvmName("njeminqnnpwmdwwf")
public suspend fun bucket(`value`: Output) {
this.bucket = value
}
/**
* @param value Specifies whether the logs get sent to the specified Amazon S3 destination.
*/
@JvmName("bicsgvnhwhufnimi")
public suspend fun enabled(`value`: Output) {
this.enabled = value
}
/**
* @param value The S3 prefix that is the destination for log delivery.
*/
@JvmName("xtpmaduevdtgqeki")
public suspend fun prefix(`value`: Output) {
this.prefix = value
}
/**
* @param value The name of the S3 bucket that is the destination for log delivery.
*/
@JvmName("gqwhojjgeveblgyv")
public suspend fun bucket(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.bucket = mapped
}
/**
* @param value Specifies whether the logs get sent to the specified Amazon S3 destination.
*/
@JvmName("nqwlgpkmslcacyvk")
public suspend fun enabled(`value`: Boolean) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.enabled = mapped
}
/**
* @param value The S3 prefix that is the destination for log delivery.
*/
@JvmName("kqgtbtmqduamixai")
public suspend fun prefix(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.prefix = mapped
}
internal fun build(): ConnectorS3LogDeliveryArgs = ConnectorS3LogDeliveryArgs(
bucket = bucket,
enabled = enabled ?: throw PulumiNullFieldException("enabled"),
prefix = prefix,
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy