All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.pulumi.gcp.dataloss.kotlin.inputs.PreventionDiscoveryConfigOrgConfigLocationArgs.kt Maven / Gradle / Ivy

Go to download

Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.

There is a newer version: 8.10.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.gcp.dataloss.kotlin.inputs

import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.gcp.dataloss.inputs.PreventionDiscoveryConfigOrgConfigLocationArgs.builder
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.String
import kotlin.Suppress
import kotlin.jvm.JvmName

/**
 *
 * @property folderId The ID for the folder within an organization to scan
 * @property organizationId The ID of an organization to scan
 */
public data class PreventionDiscoveryConfigOrgConfigLocationArgs(
    public val folderId: Output? = null,
    public val organizationId: Output? = null,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.gcp.dataloss.inputs.PreventionDiscoveryConfigOrgConfigLocationArgs =
        com.pulumi.gcp.dataloss.inputs.PreventionDiscoveryConfigOrgConfigLocationArgs.builder()
            .folderId(folderId?.applyValue({ args0 -> args0 }))
            .organizationId(organizationId?.applyValue({ args0 -> args0 })).build()
}

/**
 * Builder for [PreventionDiscoveryConfigOrgConfigLocationArgs].
 */
@PulumiTagMarker
public class PreventionDiscoveryConfigOrgConfigLocationArgsBuilder internal constructor() {
    private var folderId: Output? = null

    private var organizationId: Output? = null

    /**
     * @param value The ID for the folder within an organization to scan
     */
    @JvmName("aurlfuqhcnkviqpq")
    public suspend fun folderId(`value`: Output) {
        this.folderId = value
    }

    /**
     * @param value The ID of an organization to scan
     */
    @JvmName("javknfrinqfsbpgq")
    public suspend fun organizationId(`value`: Output) {
        this.organizationId = value
    }

    /**
     * @param value The ID for the folder within an organization to scan
     */
    @JvmName("jkroxlroyqkohygc")
    public suspend fun folderId(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.folderId = mapped
    }

    /**
     * @param value The ID of an organization to scan
     */
    @JvmName("txiatvtskgvxwkmv")
    public suspend fun organizationId(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.organizationId = mapped
    }

    internal fun build(): PreventionDiscoveryConfigOrgConfigLocationArgs =
        PreventionDiscoveryConfigOrgConfigLocationArgs(
            folderId = folderId,
            organizationId = organizationId,
        )
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy