![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.azurenative.securityinsights.kotlin.inputs.EntityMappingArgs.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-azure-native-kotlin Show documentation
Show all versions of pulumi-azure-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.azurenative.securityinsights.kotlin.inputs
import com.pulumi.azurenative.securityinsights.inputs.EntityMappingArgs.builder
import com.pulumi.azurenative.securityinsights.kotlin.enums.EntityMappingType
import com.pulumi.core.Either
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.String
import kotlin.Suppress
import kotlin.Unit
import kotlin.collections.List
import kotlin.jvm.JvmName
/**
* Single entity mapping for the alert rule
* @property entityType The V3 type of the mapped entity
* @property fieldMappings array of field mappings for the given entity mapping
*/
public data class EntityMappingArgs(
public val entityType: Output>? = null,
public val fieldMappings: Output>? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.azurenative.securityinsights.inputs.EntityMappingArgs =
com.pulumi.azurenative.securityinsights.inputs.EntityMappingArgs.builder()
.entityType(
entityType?.applyValue({ args0 ->
args0.transform({ args0 -> args0 }, { args0 ->
args0.let({ args0 -> args0.toJava() })
})
}),
)
.fieldMappings(
fieldMappings?.applyValue({ args0 ->
args0.map({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
})
}),
).build()
}
/**
* Builder for [EntityMappingArgs].
*/
@PulumiTagMarker
public class EntityMappingArgsBuilder internal constructor() {
private var entityType: Output>? = null
private var fieldMappings: Output>? = null
/**
* @param value The V3 type of the mapped entity
*/
@JvmName("rggxviqgbfpxyxuy")
public suspend fun entityType(`value`: Output>) {
this.entityType = value
}
/**
* @param value array of field mappings for the given entity mapping
*/
@JvmName("isnjkbrcnhaywolg")
public suspend fun fieldMappings(`value`: Output>) {
this.fieldMappings = value
}
@JvmName("uhawltjwantmpfkx")
public suspend fun fieldMappings(vararg values: Output) {
this.fieldMappings = Output.all(values.asList())
}
/**
* @param values array of field mappings for the given entity mapping
*/
@JvmName("pegmwxjawpasyqoy")
public suspend fun fieldMappings(values: List
© 2015 - 2025 Weber Informatics LLC | Privacy Policy