com.pulumi.googlenative.dlp.v2.kotlin.inputs.GetDlpJobPlainArgs.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.googlenative.dlp.v2.kotlin.inputs
import com.pulumi.googlenative.dlp.v2.inputs.GetDlpJobPlainArgs.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 dlpJobId
* @property location
* @property project
*/
public data class GetDlpJobPlainArgs(
public val dlpJobId: String,
public val location: String,
public val project: String? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.googlenative.dlp.v2.inputs.GetDlpJobPlainArgs =
com.pulumi.googlenative.dlp.v2.inputs.GetDlpJobPlainArgs.builder()
.dlpJobId(dlpJobId.let({ args0 -> args0 }))
.location(location.let({ args0 -> args0 }))
.project(project?.let({ args0 -> args0 })).build()
}
/**
* Builder for [GetDlpJobPlainArgs].
*/
@PulumiTagMarker
public class GetDlpJobPlainArgsBuilder internal constructor() {
private var dlpJobId: String? = null
private var location: String? = null
private var project: String? = null
/**
* @param value
*/
@JvmName("gvvylkoyrhmpnfjq")
public suspend fun dlpJobId(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> args0 })
this.dlpJobId = mapped
}
/**
* @param value
*/
@JvmName("tkmyerfkeyxmvbld")
public suspend fun location(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> args0 })
this.location = mapped
}
/**
* @param value
*/
@JvmName("fgntfxchhkywbsqa")
public suspend fun project(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> args0 })
this.project = mapped
}
internal fun build(): GetDlpJobPlainArgs = GetDlpJobPlainArgs(
dlpJobId = dlpJobId ?: throw PulumiNullFieldException("dlpJobId"),
location = location ?: throw PulumiNullFieldException("location"),
project = project,
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy