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

com.pulumi.awsnative.apigatewayv2.kotlin.inputs.GetDeploymentPlainArgs.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: 1.24.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.awsnative.apigatewayv2.kotlin.inputs

import com.pulumi.awsnative.apigatewayv2.inputs.GetDeploymentPlainArgs.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 The API identifier.
 * @property deploymentId The deployment ID.
 */
public data class GetDeploymentPlainArgs(
    public val apiId: String,
    public val deploymentId: String,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.awsnative.apigatewayv2.inputs.GetDeploymentPlainArgs =
        com.pulumi.awsnative.apigatewayv2.inputs.GetDeploymentPlainArgs.builder()
            .apiId(apiId.let({ args0 -> args0 }))
            .deploymentId(deploymentId.let({ args0 -> args0 })).build()
}

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

    private var deploymentId: String? = null

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

    /**
     * @param value The deployment ID.
     */
    @JvmName("npnnslgfyuumioaa")
    public suspend fun deploymentId(`value`: String) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> args0 })
        this.deploymentId = mapped
    }

    internal fun build(): GetDeploymentPlainArgs = GetDeploymentPlainArgs(
        apiId = apiId ?: throw PulumiNullFieldException("apiId"),
        deploymentId = deploymentId ?: throw PulumiNullFieldException("deploymentId"),
    )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy