![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.azurenative.insights.kotlin.inputs.LogFileSettingsTextArgs.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.insights.kotlin.inputs
import com.pulumi.azurenative.insights.inputs.LogFileSettingsTextArgs.builder
import com.pulumi.azurenative.insights.kotlin.enums.KnownLogFileTextSettingsRecordStartTimestampFormat
import com.pulumi.core.Either
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
/**
* Text settings
* @property recordStartTimestampFormat One of the supported timestamp formats
*/
public data class LogFileSettingsTextArgs(
public val recordStartTimestampFormat: Output>,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.azurenative.insights.inputs.LogFileSettingsTextArgs =
com.pulumi.azurenative.insights.inputs.LogFileSettingsTextArgs.builder()
.recordStartTimestampFormat(
recordStartTimestampFormat.applyValue({ args0 ->
args0.transform({ args0 -> args0 }, { args0 -> args0.let({ args0 -> args0.toJava() }) })
}),
).build()
}
/**
* Builder for [LogFileSettingsTextArgs].
*/
@PulumiTagMarker
public class LogFileSettingsTextArgsBuilder internal constructor() {
private var recordStartTimestampFormat:
Output>? = null
/**
* @param value One of the supported timestamp formats
*/
@JvmName("hxykjorxsxexlyso")
public suspend fun recordStartTimestampFormat(`value`: Output>) {
this.recordStartTimestampFormat = value
}
/**
* @param value One of the supported timestamp formats
*/
@JvmName("gfifflsmpqjkjhst")
public suspend fun recordStartTimestampFormat(`value`: Either) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.recordStartTimestampFormat = mapped
}
/**
* @param value One of the supported timestamp formats
*/
@JvmName("obrjbfjouomoqbju")
public fun recordStartTimestampFormat(`value`: String) {
val toBeMapped = Either.ofLeft<
String,
KnownLogFileTextSettingsRecordStartTimestampFormat,
>(value)
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.recordStartTimestampFormat = mapped
}
/**
* @param value One of the supported timestamp formats
*/
@JvmName("acnhjcqarnikecdq")
public fun recordStartTimestampFormat(`value`: KnownLogFileTextSettingsRecordStartTimestampFormat) {
val toBeMapped = Either.ofRight<
String,
KnownLogFileTextSettingsRecordStartTimestampFormat,
>(value)
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.recordStartTimestampFormat = mapped
}
internal fun build(): LogFileSettingsTextArgs = LogFileSettingsTextArgs(
recordStartTimestampFormat = recordStartTimestampFormat ?: throw
PulumiNullFieldException("recordStartTimestampFormat"),
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy