
com.pulumi.azurenative.securityinsights.kotlin.inputs.IncidentPropertiesActionArgs.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.azurenative.securityinsights.kotlin.inputs
import com.pulumi.azurenative.securityinsights.inputs.IncidentPropertiesActionArgs.builder
import com.pulumi.azurenative.securityinsights.kotlin.enums.IncidentClassification
import com.pulumi.azurenative.securityinsights.kotlin.enums.IncidentClassificationReason
import com.pulumi.azurenative.securityinsights.kotlin.enums.IncidentSeverity
import com.pulumi.azurenative.securityinsights.kotlin.enums.IncidentStatus
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
/**
*
* @property classification The reason the incident was closed
* @property classificationComment Describes the reason the incident was closed.
* @property classificationReason The classification reason the incident was closed with
* @property labels List of labels to add to the incident.
* @property owner Information on the user an incident is assigned to
* @property severity The severity of the incident
* @property status The status of the incident
*/
public data class IncidentPropertiesActionArgs(
public val classification: Output>? = null,
public val classificationComment: Output? = null,
public val classificationReason: Output>? = null,
public val labels: Output>? = null,
public val owner: Output? = null,
public val severity: Output>? = null,
public val status: Output>? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.azurenative.securityinsights.inputs.IncidentPropertiesActionArgs = com.pulumi.azurenative.securityinsights.inputs.IncidentPropertiesActionArgs.builder()
.classification(
classification?.applyValue({ args0 ->
args0.transform({ args0 -> args0 }, { args0 ->
args0.let({ args0 -> args0.toJava() })
})
}),
)
.classificationComment(classificationComment?.applyValue({ args0 -> args0 }))
.classificationReason(
classificationReason?.applyValue({ args0 ->
args0.transform(
{ args0 -> args0 },
{ args0 -> args0.let({ args0 -> args0.toJava() }) },
)
}),
)
.labels(labels?.applyValue({ args0 -> args0.map({ args0 -> args0.let({ args0 -> args0.toJava() }) }) }))
.owner(owner?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
.severity(
severity?.applyValue({ args0 ->
args0.transform({ args0 -> args0 }, { args0 ->
args0.let({ args0 -> args0.toJava() })
})
}),
)
.status(
status?.applyValue({ args0 ->
args0.transform({ args0 -> args0 }, { args0 ->
args0.let({ args0 -> args0.toJava() })
})
}),
).build()
}
/**
* Builder for [IncidentPropertiesActionArgs].
*/
@PulumiTagMarker
public class IncidentPropertiesActionArgsBuilder internal constructor() {
private var classification: Output>? = null
private var classificationComment: Output? = null
private var classificationReason: Output>? = null
private var labels: Output>? = null
private var owner: Output? = null
private var severity: Output>? = null
private var status: Output>? = null
/**
* @param value The reason the incident was closed
*/
@JvmName("dceknvwhrjgqvwds")
public suspend fun classification(`value`: Output>) {
this.classification = value
}
/**
* @param value Describes the reason the incident was closed.
*/
@JvmName("nkxadcakcswyxsjh")
public suspend fun classificationComment(`value`: Output) {
this.classificationComment = value
}
/**
* @param value The classification reason the incident was closed with
*/
@JvmName("qhwtuumbmrxhlqkk")
public suspend fun classificationReason(`value`: Output>) {
this.classificationReason = value
}
/**
* @param value List of labels to add to the incident.
*/
@JvmName("qxhqyohcexjrwpqh")
public suspend fun labels(`value`: Output>) {
this.labels = value
}
@JvmName("krngtxoupbmtdiyh")
public suspend fun labels(vararg values: Output) {
this.labels = Output.all(values.asList())
}
/**
* @param values List of labels to add to the incident.
*/
@JvmName("mogkcgpujxsvbovs")
public suspend fun labels(values: List
© 2015 - 2025 Weber Informatics LLC | Privacy Policy