
com.pulumi.awsnative.securityhub.kotlin.outputs.AutomationRulesFindingFieldsUpdate.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.securityhub.kotlin.outputs
import com.pulumi.awsnative.securityhub.kotlin.enums.AutomationRulesFindingFieldsUpdateVerificationState
import kotlin.Int
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List
import kotlin.collections.Map
/**
* The rule action will update the ``Note`` field of a finding.
* @property confidence The rule action updates the `Confidence` field of a finding.
* @property criticality The rule action updates the `Criticality` field of a finding.
* @property note The rule action will update the ``Note`` field of a finding.
* @property relatedFindings The rule action will update the ``RelatedFindings`` field of a finding.
* @property severity The rule action will update the ``Severity`` field of a finding.
* @property types The rule action updates the `Types` field of a finding.
* @property userDefinedFields The rule action updates the `UserDefinedFields` field of a finding.
* @property verificationState The rule action updates the `VerificationState` field of a finding.
* @property workflow The rule action will update the ``Workflow`` field of a finding.
*/
public data class AutomationRulesFindingFieldsUpdate(
public val confidence: Int? = null,
public val criticality: Int? = null,
public val note: AutomationRuleNoteUpdate? = null,
public val relatedFindings: List? = null,
public val severity: AutomationRuleSeverityUpdate? = null,
public val types: List? = null,
public val userDefinedFields: Map? = null,
public val verificationState: AutomationRulesFindingFieldsUpdateVerificationState? = null,
public val workflow: AutomationRuleWorkflowUpdate? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.awsnative.securityhub.outputs.AutomationRulesFindingFieldsUpdate): AutomationRulesFindingFieldsUpdate = AutomationRulesFindingFieldsUpdate(
confidence = javaType.confidence().map({ args0 -> args0 }).orElse(null),
criticality = javaType.criticality().map({ args0 -> args0 }).orElse(null),
note = javaType.note().map({ args0 ->
args0.let({ args0 ->
com.pulumi.awsnative.securityhub.kotlin.outputs.AutomationRuleNoteUpdate.Companion.toKotlin(args0)
})
}).orElse(null),
relatedFindings = javaType.relatedFindings().map({ args0 ->
args0.let({ args0 ->
com.pulumi.awsnative.securityhub.kotlin.outputs.AutomationRuleRelatedFinding.Companion.toKotlin(args0)
})
}),
severity = javaType.severity().map({ args0 ->
args0.let({ args0 ->
com.pulumi.awsnative.securityhub.kotlin.outputs.AutomationRuleSeverityUpdate.Companion.toKotlin(args0)
})
}).orElse(null),
types = javaType.types().map({ args0 -> args0 }),
userDefinedFields = javaType.userDefinedFields().map({ args0 ->
args0.key.to(args0.value)
}).toMap(),
verificationState = javaType.verificationState().map({ args0 ->
args0.let({ args0 ->
com.pulumi.awsnative.securityhub.kotlin.enums.AutomationRulesFindingFieldsUpdateVerificationState.Companion.toKotlin(args0)
})
}).orElse(null),
workflow = javaType.workflow().map({ args0 ->
args0.let({ args0 ->
com.pulumi.awsnative.securityhub.kotlin.outputs.AutomationRuleWorkflowUpdate.Companion.toKotlin(args0)
})
}).orElse(null),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy