com.pulumi.azure.apimanagement.kotlin.inputs.ApiOperationResponseRepresentationFormParameterArgs.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.ApiOperationResponseRepresentationFormParameterArgs.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 com.pulumi.kotlin.applySuspend
import kotlin.Boolean
import kotlin.String
import kotlin.Suppress
import kotlin.Unit
import kotlin.collections.List
import kotlin.jvm.JvmName
/**
*
* @property defaultValue The default value for this Form Parameter.
* @property description A description of this Form Parameter.
* @property examples One or more `example` blocks as defined above.
* @property name The Name of this Form Parameter.
* @property required Is this Form Parameter Required?
* @property schemaId The name of the Schema.
* @property type The Type of this Form Parameter, such as a `string`.
* @property typeName The type name defined by the Schema.
* @property values One or more acceptable values for this Form Parameter.
*/
public data class ApiOperationResponseRepresentationFormParameterArgs(
public val defaultValue: Output? = null,
public val description: Output? = null,
public val examples: Output>? =
null,
public val name: Output,
public val required: Output,
public val schemaId: Output? = null,
public val type: Output,
public val typeName: Output? = null,
public val values: Output>? = null,
) :
ConvertibleToJava {
override fun toJava():
com.pulumi.azure.apimanagement.inputs.ApiOperationResponseRepresentationFormParameterArgs =
com.pulumi.azure.apimanagement.inputs.ApiOperationResponseRepresentationFormParameterArgs.builder()
.defaultValue(defaultValue?.applyValue({ args0 -> args0 }))
.description(description?.applyValue({ args0 -> args0 }))
.examples(
examples?.applyValue({ args0 ->
args0.map({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
})
}),
)
.name(name.applyValue({ args0 -> args0 }))
.required(required.applyValue({ args0 -> args0 }))
.schemaId(schemaId?.applyValue({ args0 -> args0 }))
.type(type.applyValue({ args0 -> args0 }))
.typeName(typeName?.applyValue({ args0 -> args0 }))
.values(values?.applyValue({ args0 -> args0.map({ args0 -> args0 }) })).build()
}
/**
* Builder for [ApiOperationResponseRepresentationFormParameterArgs].
*/
@PulumiTagMarker
public class ApiOperationResponseRepresentationFormParameterArgsBuilder internal constructor() {
private var defaultValue: Output? = null
private var description: Output? = null
private var examples: Output>? =
null
private var name: Output? = null
private var required: Output? = null
private var schemaId: Output? = null
private var type: Output? = null
private var typeName: Output? = null
private var values: Output>? = null
/**
* @param value The default value for this Form Parameter.
*/
@JvmName("dachalivviopwnge")
public suspend fun defaultValue(`value`: Output) {
this.defaultValue = value
}
/**
* @param value A description of this Form Parameter.
*/
@JvmName("chrdsuqokuqhkrcl")
public suspend fun description(`value`: Output) {
this.description = value
}
/**
* @param value One or more `example` blocks as defined above.
*/
@JvmName("ldcfienylycghryu")
public suspend
fun examples(`value`: Output>) {
this.examples = value
}
@JvmName("pqtrowmicuowsidg")
public suspend fun examples(
vararg
values: Output,
) {
this.examples = Output.all(values.asList())
}
/**
* @param values One or more `example` blocks as defined above.
*/
@JvmName("vlvyqblplpenyspm")
public suspend
fun examples(values: List
© 2015 - 2025 Weber Informatics LLC | Privacy Policy