
com.pulumi.azurenative.apimanagement.kotlin.inputs.ParameterExampleContractArgs.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.azurenative.apimanagement.kotlin.inputs
import com.pulumi.azurenative.apimanagement.inputs.ParameterExampleContractArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.Any
import kotlin.String
import kotlin.Suppress
import kotlin.jvm.JvmName
/**
* Parameter example.
* @property description Long description for the example
* @property externalValue A URL that points to the literal example
* @property summary Short description for the example
* @property value Example value. May be a primitive value, or an object.
*/
public data class ParameterExampleContractArgs(
public val description: Output? = null,
public val externalValue: Output? = null,
public val summary: Output? = null,
public val `value`: Output? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.azurenative.apimanagement.inputs.ParameterExampleContractArgs =
com.pulumi.azurenative.apimanagement.inputs.ParameterExampleContractArgs.builder()
.description(description?.applyValue({ args0 -> args0 }))
.externalValue(externalValue?.applyValue({ args0 -> args0 }))
.summary(summary?.applyValue({ args0 -> args0 }))
.`value`(`value`?.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [ParameterExampleContractArgs].
*/
@PulumiTagMarker
public class ParameterExampleContractArgsBuilder internal constructor() {
private var description: Output? = null
private var externalValue: Output? = null
private var summary: Output? = null
private var `value`: Output? = null
/**
* @param value Long description for the example
*/
@JvmName("kkpocqrcejxoxvhp")
public suspend fun description(`value`: Output) {
this.description = value
}
/**
* @param value A URL that points to the literal example
*/
@JvmName("yhntqhoboecjqppv")
public suspend fun externalValue(`value`: Output) {
this.externalValue = value
}
/**
* @param value Short description for the example
*/
@JvmName("kbcihyeabvyryviu")
public suspend fun summary(`value`: Output) {
this.summary = value
}
/**
* @param value Example value. May be a primitive value, or an object.
*/
@JvmName("uitjeoiuoxekfsuk")
public suspend fun `value`(`value`: Output) {
this.`value` = value
}
/**
* @param value Long description for the example
*/
@JvmName("obqwvtrhgqkcmsqy")
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("aidvmpyxhrheyfio")
public suspend fun externalValue(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.externalValue = mapped
}
/**
* @param value Short description for the example
*/
@JvmName("xoqhqspfepxyqqem")
public suspend fun summary(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.summary = mapped
}
/**
* @param value Example value. May be a primitive value, or an object.
*/
@JvmName("jdhkotqdfyvfgrmy")
public suspend fun `value`(`value`: Any?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.`value` = mapped
}
internal fun build(): ParameterExampleContractArgs = ParameterExampleContractArgs(
description = description,
externalValue = externalValue,
summary = summary,
`value` = `value`,
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy