
com.pulumi.awsnative.quicksight.kotlin.inputs.DataSourceErrorInfoArgs.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-aws-native-kotlin Show documentation
Show all versions of pulumi-aws-native-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.awsnative.quicksight.kotlin.inputs
import com.pulumi.awsnative.quicksight.inputs.DataSourceErrorInfoArgs.builder
import com.pulumi.awsnative.quicksight.kotlin.enums.DataSourceErrorInfoType
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.String
import kotlin.Suppress
import kotlin.jvm.JvmName
/**
* Error information for the data source creation or update.
* @property message Error message.
* @property type Error type.
*/
public data class DataSourceErrorInfoArgs(
public val message: Output? = null,
public val type: Output? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.awsnative.quicksight.inputs.DataSourceErrorInfoArgs =
com.pulumi.awsnative.quicksight.inputs.DataSourceErrorInfoArgs.builder()
.message(message?.applyValue({ args0 -> args0 }))
.type(type?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) })).build()
}
/**
* Builder for [DataSourceErrorInfoArgs].
*/
@PulumiTagMarker
public class DataSourceErrorInfoArgsBuilder internal constructor() {
private var message: Output? = null
private var type: Output? = null
/**
* @param value Error message.
*/
@JvmName("bmytrbxjqtarqgdb")
public suspend fun message(`value`: Output) {
this.message = value
}
/**
* @param value Error type.
*/
@JvmName("yvtvfonfhksvjmuv")
public suspend fun type(`value`: Output) {
this.type = value
}
/**
* @param value Error message.
*/
@JvmName("yxnpetwbsscduebj")
public suspend fun message(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.message = mapped
}
/**
* @param value Error type.
*/
@JvmName("egeyxsusenubkaxe")
public suspend fun type(`value`: DataSourceErrorInfoType?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.type = mapped
}
internal fun build(): DataSourceErrorInfoArgs = DataSourceErrorInfoArgs(
message = message,
type = type,
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy