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

com.pulumi.googlenative.apigateway.v1.kotlin.inputs.GetConfigPlainArgs.kt Maven / Gradle / Ivy

@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.googlenative.apigateway.v1.kotlin.inputs

import com.pulumi.googlenative.apigateway.v1.inputs.GetConfigPlainArgs.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 apiId
 * @property configId
 * @property location
 * @property project
 * @property view
 */
public data class GetConfigPlainArgs(
    public val apiId: String,
    public val configId: String,
    public val location: String,
    public val project: String? = null,
    public val view: String? = null,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.googlenative.apigateway.v1.inputs.GetConfigPlainArgs =
        com.pulumi.googlenative.apigateway.v1.inputs.GetConfigPlainArgs.builder()
            .apiId(apiId.let({ args0 -> args0 }))
            .configId(configId.let({ args0 -> args0 }))
            .location(location.let({ args0 -> args0 }))
            .project(project?.let({ args0 -> args0 }))
            .view(view?.let({ args0 -> args0 })).build()
}

/**
 * Builder for [GetConfigPlainArgs].
 */
@PulumiTagMarker
public class GetConfigPlainArgsBuilder internal constructor() {
    private var apiId: String? = null

    private var configId: String? = null

    private var location: String? = null

    private var project: String? = null

    private var view: String? = null

    /**
     * @param value
     */
    @JvmName("mlskayybawyaqqys")
    public suspend fun apiId(`value`: String) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> args0 })
        this.apiId = mapped
    }

    /**
     * @param value
     */
    @JvmName("uejrohvwlxsvxaac")
    public suspend fun configId(`value`: String) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> args0 })
        this.configId = mapped
    }

    /**
     * @param value
     */
    @JvmName("wvdrdysgdkvxsuvn")
    public suspend fun location(`value`: String) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> args0 })
        this.location = mapped
    }

    /**
     * @param value
     */
    @JvmName("hfcgodexuqdsrafj")
    public suspend fun project(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> args0 })
        this.project = mapped
    }

    /**
     * @param value
     */
    @JvmName("bgeuevilheikppiv")
    public suspend fun view(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> args0 })
        this.view = mapped
    }

    internal fun build(): GetConfigPlainArgs = GetConfigPlainArgs(
        apiId = apiId ?: throw PulumiNullFieldException("apiId"),
        configId = configId ?: throw PulumiNullFieldException("configId"),
        location = location ?: throw PulumiNullFieldException("location"),
        project = project,
        view = view,
    )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy