com.pulumi.aws.securityhub.kotlin.inputs.AutomationRuleActionFindingFieldsUpdateRelatedFindingArgs.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.securityhub.kotlin.inputs
import com.pulumi.aws.securityhub.inputs.AutomationRuleActionFindingFieldsUpdateRelatedFindingArgs.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.String
import kotlin.Suppress
import kotlin.jvm.JvmName
/**
*
* @property id The product-generated identifier for a related finding.
* @property productArn The ARN of the product that generated a related finding.
*/
public data class AutomationRuleActionFindingFieldsUpdateRelatedFindingArgs(
public val id: Output,
public val productArn: Output,
) :
ConvertibleToJava {
override fun toJava(): com.pulumi.aws.securityhub.inputs.AutomationRuleActionFindingFieldsUpdateRelatedFindingArgs =
com.pulumi.aws.securityhub.inputs.AutomationRuleActionFindingFieldsUpdateRelatedFindingArgs.builder()
.id(id.applyValue({ args0 -> args0 }))
.productArn(productArn.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [AutomationRuleActionFindingFieldsUpdateRelatedFindingArgs].
*/
@PulumiTagMarker
public class AutomationRuleActionFindingFieldsUpdateRelatedFindingArgsBuilder internal constructor() {
private var id: Output? = null
private var productArn: Output? = null
/**
* @param value The product-generated identifier for a related finding.
*/
@JvmName("vtussaeyryppmvcq")
public suspend fun id(`value`: Output) {
this.id = value
}
/**
* @param value The ARN of the product that generated a related finding.
*/
@JvmName("bxcnmfqmvbeuaopl")
public suspend fun productArn(`value`: Output) {
this.productArn = value
}
/**
* @param value The product-generated identifier for a related finding.
*/
@JvmName("jxleoldjuirmsvfi")
public suspend fun id(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.id = mapped
}
/**
* @param value The ARN of the product that generated a related finding.
*/
@JvmName("cbopctgryxbctmoi")
public suspend fun productArn(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.productArn = mapped
}
internal fun build(): AutomationRuleActionFindingFieldsUpdateRelatedFindingArgs =
AutomationRuleActionFindingFieldsUpdateRelatedFindingArgs(
id = id ?: throw PulumiNullFieldException("id"),
productArn = productArn ?: throw PulumiNullFieldException("productArn"),
)
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy