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

com.pulumi.awsnative.apigateway.kotlin.inputs.GetRestApiPlainArgs.kt Maven / Gradle / Ivy

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

package com.pulumi.awsnative.apigateway.kotlin.inputs

import com.pulumi.awsnative.apigateway.inputs.GetRestApiPlainArgs.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 restApiId The string identifier of the associated RestApi.
 */
public data class GetRestApiPlainArgs(
    public val restApiId: String,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.awsnative.apigateway.inputs.GetRestApiPlainArgs =
        com.pulumi.awsnative.apigateway.inputs.GetRestApiPlainArgs.builder()
            .restApiId(restApiId.let({ args0 -> args0 })).build()
}

/**
 * Builder for [GetRestApiPlainArgs].
 */
@PulumiTagMarker
public class GetRestApiPlainArgsBuilder internal constructor() {
    private var restApiId: String? = null

    /**
     * @param value The string identifier of the associated RestApi.
     */
    @JvmName("wefjaoafciudkfmx")
    public suspend fun restApiId(`value`: String) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> args0 })
        this.restApiId = mapped
    }

    internal fun build(): GetRestApiPlainArgs = GetRestApiPlainArgs(
        restApiId = restApiId ?: throw PulumiNullFieldException("restApiId"),
    )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy