com.pulumi.aws.appmesh.kotlin.inputs.VirtualNodeSpecLoggingAccessLogFileFormatArgs.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-aws-kotlin Show documentation
Show all versions of pulumi-aws-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.aws.appmesh.kotlin.inputs
import com.pulumi.aws.appmesh.inputs.VirtualNodeSpecLoggingAccessLogFileFormatArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import com.pulumi.kotlin.applySuspend
import kotlin.String
import kotlin.Suppress
import kotlin.Unit
import kotlin.collections.List
import kotlin.jvm.JvmName
/**
*
* @property jsons The logging format for JSON.
* @property text The logging format for text. Must be between 1 and 1000 characters in length.
*/
public data class VirtualNodeSpecLoggingAccessLogFileFormatArgs(
public val jsons: Output>? = null,
public val text: Output? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.aws.appmesh.inputs.VirtualNodeSpecLoggingAccessLogFileFormatArgs = com.pulumi.aws.appmesh.inputs.VirtualNodeSpecLoggingAccessLogFileFormatArgs.builder()
.jsons(jsons?.applyValue({ args0 -> args0.map({ args0 -> args0.let({ args0 -> args0.toJava() }) }) }))
.text(text?.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [VirtualNodeSpecLoggingAccessLogFileFormatArgs].
*/
@PulumiTagMarker
public class VirtualNodeSpecLoggingAccessLogFileFormatArgsBuilder internal constructor() {
private var jsons: Output>? = null
private var text: Output? = null
/**
* @param value The logging format for JSON.
*/
@JvmName("knwkkrtrijpfuhgf")
public suspend fun jsons(`value`: Output>) {
this.jsons = value
}
@JvmName("biybucvehpltccbd")
public suspend fun jsons(vararg values: Output) {
this.jsons = Output.all(values.asList())
}
/**
* @param values The logging format for JSON.
*/
@JvmName("yuywbjpdnmkplrgy")
public suspend fun jsons(values: List