![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.azurenative.documentdb.kotlin.inputs.CassandraErrorArgs.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-azure-native-kotlin Show documentation
Show all versions of pulumi-azure-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.azurenative.documentdb.kotlin.inputs
import com.pulumi.azurenative.documentdb.inputs.CassandraErrorArgs.builder
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
/**
*
* @property additionalErrorInfo Additional information about the error.
* @property code The code of error that occurred.
* @property message The message of the error.
* @property target The target resource of the error.
*/
public data class CassandraErrorArgs(
public val additionalErrorInfo: Output? = null,
public val code: Output? = null,
public val message: Output? = null,
public val target: Output? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.azurenative.documentdb.inputs.CassandraErrorArgs =
com.pulumi.azurenative.documentdb.inputs.CassandraErrorArgs.builder()
.additionalErrorInfo(additionalErrorInfo?.applyValue({ args0 -> args0 }))
.code(code?.applyValue({ args0 -> args0 }))
.message(message?.applyValue({ args0 -> args0 }))
.target(target?.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [CassandraErrorArgs].
*/
@PulumiTagMarker
public class CassandraErrorArgsBuilder internal constructor() {
private var additionalErrorInfo: Output? = null
private var code: Output? = null
private var message: Output? = null
private var target: Output? = null
/**
* @param value Additional information about the error.
*/
@JvmName("hncaqvuavsyfuthe")
public suspend fun additionalErrorInfo(`value`: Output) {
this.additionalErrorInfo = value
}
/**
* @param value The code of error that occurred.
*/
@JvmName("fjnmoothnkrnkxjq")
public suspend fun code(`value`: Output) {
this.code = value
}
/**
* @param value The message of the error.
*/
@JvmName("wrmqemmgciytovxo")
public suspend fun message(`value`: Output) {
this.message = value
}
/**
* @param value The target resource of the error.
*/
@JvmName("hheeoeyvujmfcmuw")
public suspend fun target(`value`: Output) {
this.target = value
}
/**
* @param value Additional information about the error.
*/
@JvmName("brcimnnjxdgsucoi")
public suspend fun additionalErrorInfo(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.additionalErrorInfo = mapped
}
/**
* @param value The code of error that occurred.
*/
@JvmName("ndvkthnhbpryujaq")
public suspend fun code(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.code = mapped
}
/**
* @param value The message of the error.
*/
@JvmName("bsyeprvoicauovcv")
public suspend fun message(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.message = mapped
}
/**
* @param value The target resource of the error.
*/
@JvmName("opwvvfiegivhijnc")
public suspend fun target(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.target = mapped
}
internal fun build(): CassandraErrorArgs = CassandraErrorArgs(
additionalErrorInfo = additionalErrorInfo,
code = code,
message = message,
target = target,
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy