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

com.pulumi.awsnative.apigatewayv2.kotlin.inputs.GetRoutePlainArgs.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.GetRoutePlainArgs.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 routeId The route ID.
 */
public data class GetRoutePlainArgs(
    public val apiId: String,
    public val routeId: String,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.awsnative.apigatewayv2.inputs.GetRoutePlainArgs =
        com.pulumi.awsnative.apigatewayv2.inputs.GetRoutePlainArgs.builder()
            .apiId(apiId.let({ args0 -> args0 }))
            .routeId(routeId.let({ args0 -> args0 })).build()
}

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

    private var routeId: String? = null

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

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

    internal fun build(): GetRoutePlainArgs = GetRoutePlainArgs(
        apiId = apiId ?: throw PulumiNullFieldException("apiId"),
        routeId = routeId ?: throw PulumiNullFieldException("routeId"),
    )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy