![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.digitalocean.kotlin.inputs.AppSpecJobLogDestinationLogtailArgs.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-digitalocean-kotlin Show documentation
Show all versions of pulumi-digitalocean-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.digitalocean.kotlin.inputs
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.digitalocean.inputs.AppSpecJobLogDestinationLogtailArgs.builder
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 token Logtail token.
* A `database` can contain:
*/
public data class AppSpecJobLogDestinationLogtailArgs(
public val token: Output,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.digitalocean.inputs.AppSpecJobLogDestinationLogtailArgs =
com.pulumi.digitalocean.inputs.AppSpecJobLogDestinationLogtailArgs.builder()
.token(token.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [AppSpecJobLogDestinationLogtailArgs].
*/
@PulumiTagMarker
public class AppSpecJobLogDestinationLogtailArgsBuilder internal constructor() {
private var token: Output? = null
/**
* @param value Logtail token.
* A `database` can contain:
*/
@JvmName("xcghtshtgkluabxd")
public suspend fun token(`value`: Output) {
this.token = value
}
/**
* @param value Logtail token.
* A `database` can contain:
*/
@JvmName("nljemjrrhdynugio")
public suspend fun token(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.token = mapped
}
internal fun build(): AppSpecJobLogDestinationLogtailArgs = AppSpecJobLogDestinationLogtailArgs(
token = token ?: throw PulumiNullFieldException("token"),
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy