com.pulumi.awsnative.devopsguru.kotlin.inputs.GetLogAnomalyDetectionIntegrationPlainArgs.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.devopsguru.kotlin.inputs
import com.pulumi.awsnative.devopsguru.inputs.GetLogAnomalyDetectionIntegrationPlainArgs.builder
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 accountId The account ID associated with the integration of DevOps Guru with CloudWatch log groups for log anomaly detection.
*/
public data class GetLogAnomalyDetectionIntegrationPlainArgs(
public val accountId: String,
) :
ConvertibleToJava {
override fun toJava(): com.pulumi.awsnative.devopsguru.inputs.GetLogAnomalyDetectionIntegrationPlainArgs =
com.pulumi.awsnative.devopsguru.inputs.GetLogAnomalyDetectionIntegrationPlainArgs.builder()
.accountId(accountId.let({ args0 -> args0 })).build()
}
/**
* Builder for [GetLogAnomalyDetectionIntegrationPlainArgs].
*/
@PulumiTagMarker
public class GetLogAnomalyDetectionIntegrationPlainArgsBuilder internal constructor() {
private var accountId: String? = null
/**
* @param value The account ID associated with the integration of DevOps Guru with CloudWatch log groups for log anomaly detection.
*/
@JvmName("lfkuucwaeuqorgxw")
public suspend fun accountId(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> args0 })
this.accountId = mapped
}
internal fun build(): GetLogAnomalyDetectionIntegrationPlainArgs =
GetLogAnomalyDetectionIntegrationPlainArgs(
accountId = accountId ?: throw PulumiNullFieldException("accountId"),
)
}