
com.pulumi.awsnative.cloudtrail.kotlin.inputs.TrailInsightSelectorArgs.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.cloudtrail.kotlin.inputs
import com.pulumi.awsnative.cloudtrail.inputs.TrailInsightSelectorArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.String
import kotlin.Suppress
import kotlin.jvm.JvmName
/**
* A string that contains insight types that are logged on a trail.
* @property insightType The type of insight to log on a trail.
*/
public data class TrailInsightSelectorArgs(
public val insightType: Output? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.awsnative.cloudtrail.inputs.TrailInsightSelectorArgs =
com.pulumi.awsnative.cloudtrail.inputs.TrailInsightSelectorArgs.builder()
.insightType(insightType?.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [TrailInsightSelectorArgs].
*/
@PulumiTagMarker
public class TrailInsightSelectorArgsBuilder internal constructor() {
private var insightType: Output? = null
/**
* @param value The type of insight to log on a trail.
*/
@JvmName("mvowjfiksocgmpud")
public suspend fun insightType(`value`: Output) {
this.insightType = value
}
/**
* @param value The type of insight to log on a trail.
*/
@JvmName("xexftklttdkinrrm")
public suspend fun insightType(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.insightType = mapped
}
internal fun build(): TrailInsightSelectorArgs = TrailInsightSelectorArgs(
insightType = insightType,
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy