![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.azure.apimanagement.kotlin.inputs.ApiOperationResponseRepresentationFormParameterExampleArgs.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-azure-kotlin Show documentation
Show all versions of pulumi-azure-kotlin Show documentation
Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.azure.apimanagement.kotlin.inputs
import com.pulumi.azure.apimanagement.inputs.ApiOperationResponseRepresentationFormParameterExampleArgs.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 ApiOperationResponseRepresentationFormParameterExampleArgs(
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.ApiOperationResponseRepresentationFormParameterExampleArgs =
com.pulumi.azure.apimanagement.inputs.ApiOperationResponseRepresentationFormParameterExampleArgs.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 [ApiOperationResponseRepresentationFormParameterExampleArgs].
*/
@PulumiTagMarker
public class ApiOperationResponseRepresentationFormParameterExampleArgsBuilder 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("addofoiedrahfhpl")
public suspend fun description(`value`: Output) {
this.description = value
}
/**
* @param value A URL that points to the literal example.
*/
@JvmName("fbokqbpjwvavwegq")
public suspend fun externalValue(`value`: Output) {
this.externalValue = value
}
/**
* @param value The name of this example.
*/
@JvmName("qcwaukvwtnffrsxx")
public suspend fun name(`value`: Output) {
this.name = value
}
/**
* @param value A short description for this example.
*/
@JvmName("lcxpchoyvrmhjlkg")
public suspend fun summary(`value`: Output) {
this.summary = value
}
/**
* @param value The example of the representation.
*/
@JvmName("ppynqevtyjvftvrl")
public suspend fun `value`(`value`: Output) {
this.`value` = value
}
/**
* @param value A long description for this example.
*/
@JvmName("uvjfqauvuirajwjr")
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("dvfmggkbyxoftoko")
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("snnwlctwkmfdtjnp")
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("mcfhqncbkmlfhjfg")
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("ohgwwnkmykgfhhic")
public suspend fun `value`(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.`value` = mapped
}
internal fun build(): ApiOperationResponseRepresentationFormParameterExampleArgs =
ApiOperationResponseRepresentationFormParameterExampleArgs(
description = description,
externalValue = externalValue,
name = name ?: throw PulumiNullFieldException("name"),
summary = summary,
`value` = `value`,
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy