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

com.pulumi.azure.apimanagement.kotlin.inputs.ApiOperationRequestRepresentationFormParameterExampleArgs.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: 6.14.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.azure.apimanagement.kotlin.inputs

import com.pulumi.azure.apimanagement.inputs.ApiOperationRequestRepresentationFormParameterExampleArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
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 description A long description for this example.
 * @property externalValue A URL that points to the literal example.
 * @property name The name of this example.
 * @property summary A short description for this example.
 * @property value The example of the representation.
 */
public data class ApiOperationRequestRepresentationFormParameterExampleArgs(
    public val description: Output? = null,
    public val externalValue: Output? = null,
    public val name: Output,
    public val summary: Output? = null,
    public val `value`: Output? = null,
) :
    ConvertibleToJava {
    override fun toJava():
        com.pulumi.azure.apimanagement.inputs.ApiOperationRequestRepresentationFormParameterExampleArgs =
        com.pulumi.azure.apimanagement.inputs.ApiOperationRequestRepresentationFormParameterExampleArgs.builder()
            .description(description?.applyValue({ args0 -> args0 }))
            .externalValue(externalValue?.applyValue({ args0 -> args0 }))
            .name(name.applyValue({ args0 -> args0 }))
            .summary(summary?.applyValue({ args0 -> args0 }))
            .`value`(`value`?.applyValue({ args0 -> args0 })).build()
}

/**
 * Builder for [ApiOperationRequestRepresentationFormParameterExampleArgs].
 */
@PulumiTagMarker
public class ApiOperationRequestRepresentationFormParameterExampleArgsBuilder internal constructor() {
    private var description: Output? = null

    private var externalValue: Output? = null

    private var name: Output? = null

    private var summary: Output? = null

    private var `value`: Output? = null

    /**
     * @param value A long description for this example.
     */
    @JvmName("ainrdpubrlswfnkj")
    public suspend fun description(`value`: Output) {
        this.description = value
    }

    /**
     * @param value A URL that points to the literal example.
     */
    @JvmName("xdkuclcqiarokcnb")
    public suspend fun externalValue(`value`: Output) {
        this.externalValue = value
    }

    /**
     * @param value The name of this example.
     */
    @JvmName("bdjgwjkbpsjkemik")
    public suspend fun name(`value`: Output) {
        this.name = value
    }

    /**
     * @param value A short description for this example.
     */
    @JvmName("djoyfwaecjaplmke")
    public suspend fun summary(`value`: Output) {
        this.summary = value
    }

    /**
     * @param value The example of the representation.
     */
    @JvmName("ryewvgsgixdngtlv")
    public suspend fun `value`(`value`: Output) {
        this.`value` = value
    }

    /**
     * @param value A long description for this example.
     */
    @JvmName("mjuacdemexytmqhc")
    public suspend fun description(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.description = mapped
    }

    /**
     * @param value A URL that points to the literal example.
     */
    @JvmName("aklkewthfiyossvu")
    public suspend fun externalValue(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.externalValue = mapped
    }

    /**
     * @param value The name of this example.
     */
    @JvmName("vyabxqqcososxqrh")
    public suspend fun name(`value`: String) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.name = mapped
    }

    /**
     * @param value A short description for this example.
     */
    @JvmName("qvneesbprxryqrbm")
    public suspend fun summary(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.summary = mapped
    }

    /**
     * @param value The example of the representation.
     */
    @JvmName("kbhcnsbkikvyqpea")
    public suspend fun `value`(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.`value` = mapped
    }

    internal fun build(): ApiOperationRequestRepresentationFormParameterExampleArgs =
        ApiOperationRequestRepresentationFormParameterExampleArgs(
            description = description,
            externalValue = externalValue,
            name = name ?: throw PulumiNullFieldException("name"),
            summary = summary,
            `value` = `value`,
        )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy