![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.awsnative.cloudtrail.kotlin.inputs.TrailInsightSelectorArgs.kt Maven / Gradle / Ivy
@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("jqtlgwcpctgjncqg")
public suspend fun insightType(`value`: Output) {
this.insightType = value
}
/**
* @param value The type of insight to log on a trail.
*/
@JvmName("lfocnsbydcadiwxl")
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