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

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

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

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

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

/**
 * Builder for [GetDocumentationVersionPlainArgs].
 */
@PulumiTagMarker
public class GetDocumentationVersionPlainArgsBuilder internal constructor() {
    private var documentationVersion: String? = null

    private var restApiId: String? = null

    /**
     * @param value The version identifier of the to-be-updated documentation version.
     */
    @JvmName("ljgpoxudeueqihtk")
    public suspend fun documentationVersion(`value`: String) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> args0 })
        this.documentationVersion = mapped
    }

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

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




© 2015 - 2025 Weber Informatics LLC | Privacy Policy