All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.pulumi.aws.securityhub.kotlin.inputs.AutomationRuleActionFindingFieldsUpdateNoteArgs.kt Maven / Gradle / Ivy

Go to download

Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.

There is a newer version: 6.57.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.aws.securityhub.kotlin.inputs

import com.pulumi.aws.securityhub.inputs.AutomationRuleActionFindingFieldsUpdateNoteArgs.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 text The updated note text.
 * @property updatedBy The principal that updated the note.
 */
public data class AutomationRuleActionFindingFieldsUpdateNoteArgs(
    public val text: Output,
    public val updatedBy: Output,
) :
    ConvertibleToJava {
    override fun toJava(): com.pulumi.aws.securityhub.inputs.AutomationRuleActionFindingFieldsUpdateNoteArgs =
        com.pulumi.aws.securityhub.inputs.AutomationRuleActionFindingFieldsUpdateNoteArgs.builder()
            .text(text.applyValue({ args0 -> args0 }))
            .updatedBy(updatedBy.applyValue({ args0 -> args0 })).build()
}

/**
 * Builder for [AutomationRuleActionFindingFieldsUpdateNoteArgs].
 */
@PulumiTagMarker
public class AutomationRuleActionFindingFieldsUpdateNoteArgsBuilder internal constructor() {
    private var text: Output? = null

    private var updatedBy: Output? = null

    /**
     * @param value The updated note text.
     */
    @JvmName("sqdqtahvbhigbdgq")
    public suspend fun text(`value`: Output) {
        this.text = value
    }

    /**
     * @param value The principal that updated the note.
     */
    @JvmName("hgddtgbflyqurjvn")
    public suspend fun updatedBy(`value`: Output) {
        this.updatedBy = value
    }

    /**
     * @param value The updated note text.
     */
    @JvmName("bjsmytbubbbvprtu")
    public suspend fun text(`value`: String) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.text = mapped
    }

    /**
     * @param value The principal that updated the note.
     */
    @JvmName("ovjtvhfjpdmrvdrs")
    public suspend fun updatedBy(`value`: String) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.updatedBy = mapped
    }

    internal fun build(): AutomationRuleActionFindingFieldsUpdateNoteArgs =
        AutomationRuleActionFindingFieldsUpdateNoteArgs(
            text = text ?: throw PulumiNullFieldException("text"),
            updatedBy = updatedBy ?: throw PulumiNullFieldException("updatedBy"),
        )
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy