
com.pulumi.azure.apimanagement.kotlin.inputs.ApiOperationResponseHeaderExampleArgs.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.azure.apimanagement.kotlin.inputs
import com.pulumi.azure.apimanagement.inputs.ApiOperationResponseHeaderExampleArgs.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 ApiOperationResponseHeaderExampleArgs(
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.ApiOperationResponseHeaderExampleArgs = com.pulumi.azure.apimanagement.inputs.ApiOperationResponseHeaderExampleArgs.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 [ApiOperationResponseHeaderExampleArgs].
*/
@PulumiTagMarker
public class ApiOperationResponseHeaderExampleArgsBuilder 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("xiltyiexaytlepfl")
public suspend fun description(`value`: Output) {
this.description = value
}
/**
* @param value A URL that points to the literal example.
*/
@JvmName("prdtrgevwuxugglh")
public suspend fun externalValue(`value`: Output) {
this.externalValue = value
}
/**
* @param value The name of this example.
*/
@JvmName("eulqwcfbyhodciwh")
public suspend fun name(`value`: Output) {
this.name = value
}
/**
* @param value A short description for this example.
*/
@JvmName("sqtywlteypmeovsj")
public suspend fun summary(`value`: Output) {
this.summary = value
}
/**
* @param value The example of the representation.
*/
@JvmName("etjqepvfgexkexul")
public suspend fun `value`(`value`: Output) {
this.`value` = value
}
/**
* @param value A long description for this example.
*/
@JvmName("srlrnalvligkcfjd")
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("ysfypibmkeblykeo")
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("uneddnkicetlorqb")
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("vooucmyoqjnsenpg")
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("ubkhlsktspkositp")
public suspend fun `value`(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.`value` = mapped
}
internal fun build(): ApiOperationResponseHeaderExampleArgs =
ApiOperationResponseHeaderExampleArgs(
description = description,
externalValue = externalValue,
name = name ?: throw PulumiNullFieldException("name"),
summary = summary,
`value` = `value`,
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy