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

com.pulumi.cloudflare.kotlin.inputs.GetDevicesPlainArgs.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: 5.40.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.cloudflare.kotlin.inputs

import com.pulumi.cloudflare.inputs.GetDevicesPlainArgs.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 getDevices.
 * @property accountId The account identifier to target for the resource.
 */
public data class GetDevicesPlainArgs(
    public val accountId: String,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.cloudflare.inputs.GetDevicesPlainArgs =
        com.pulumi.cloudflare.inputs.GetDevicesPlainArgs.builder()
            .accountId(accountId.let({ args0 -> args0 })).build()
}

/**
 * Builder for [GetDevicesPlainArgs].
 */
@PulumiTagMarker
public class GetDevicesPlainArgsBuilder internal constructor() {
    private var accountId: String? = null

    /**
     * @param value The account identifier to target for the resource.
     */
    @JvmName("eusoghloscfqfcpk")
    public suspend fun accountId(`value`: String) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> args0 })
        this.accountId = mapped
    }

    internal fun build(): GetDevicesPlainArgs = GetDevicesPlainArgs(
        accountId = accountId ?: throw PulumiNullFieldException("accountId"),
    )
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy