com.pulumi.cloudflare.kotlin.inputs.GetDlpDatasetsPlainArgs.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-cloudflare-kotlin Show documentation
Show all versions of pulumi-cloudflare-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.cloudflare.kotlin.inputs
import com.pulumi.cloudflare.inputs.GetDlpDatasetsPlainArgs.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
/**
* A collection of arguments for invoking getDlpDatasets.
* @property accountId The account ID to fetch DLP Datasets from.
*/
public data class GetDlpDatasetsPlainArgs(
public val accountId: String,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.cloudflare.inputs.GetDlpDatasetsPlainArgs =
com.pulumi.cloudflare.inputs.GetDlpDatasetsPlainArgs.builder()
.accountId(accountId.let({ args0 -> args0 })).build()
}
/**
* Builder for [GetDlpDatasetsPlainArgs].
*/
@PulumiTagMarker
public class GetDlpDatasetsPlainArgsBuilder internal constructor() {
private var accountId: String? = null
/**
* @param value The account ID to fetch DLP Datasets from.
*/
@JvmName("nunuibfhficqfgoc")
public suspend fun accountId(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> args0 })
this.accountId = mapped
}
internal fun build(): GetDlpDatasetsPlainArgs = GetDlpDatasetsPlainArgs(
accountId = accountId ?: throw PulumiNullFieldException("accountId"),
)
}