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

com.pulumi.googlenative.apigee.v1.kotlin.inputs.GetAppPlainArgs.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.

The newest version!
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

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

import com.pulumi.googlenative.apigee.v1.inputs.GetAppPlainArgs.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 appId
 * @property developerId
 * @property entity
 * @property organizationId
 * @property query
 */
public data class GetAppPlainArgs(
    public val appId: String,
    public val developerId: String,
    public val entity: String? = null,
    public val organizationId: String,
    public val query: String? = null,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.googlenative.apigee.v1.inputs.GetAppPlainArgs =
        com.pulumi.googlenative.apigee.v1.inputs.GetAppPlainArgs.builder()
            .appId(appId.let({ args0 -> args0 }))
            .developerId(developerId.let({ args0 -> args0 }))
            .entity(entity?.let({ args0 -> args0 }))
            .organizationId(organizationId.let({ args0 -> args0 }))
            .query(query?.let({ args0 -> args0 })).build()
}

/**
 * Builder for [GetAppPlainArgs].
 */
@PulumiTagMarker
public class GetAppPlainArgsBuilder internal constructor() {
    private var appId: String? = null

    private var developerId: String? = null

    private var entity: String? = null

    private var organizationId: String? = null

    private var query: String? = null

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

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

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

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

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

    internal fun build(): GetAppPlainArgs = GetAppPlainArgs(
        appId = appId ?: throw PulumiNullFieldException("appId"),
        developerId = developerId ?: throw PulumiNullFieldException("developerId"),
        entity = entity,
        organizationId = organizationId ?: throw PulumiNullFieldException("organizationId"),
        query = query,
    )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy