com.pulumi.aws.opsworks.kotlin.inputs.PhpAppLayerCloudwatchConfigurationLogStreamArgs.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.opsworks.kotlin.inputs
import com.pulumi.aws.opsworks.inputs.PhpAppLayerCloudwatchConfigurationLogStreamArgs.builder
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.Int
import kotlin.String
import kotlin.Suppress
import kotlin.jvm.JvmName
/**
*
* @property batchCount
* @property batchSize
* @property bufferDuration
* @property datetimeFormat
* @property encoding
* @property file
* @property fileFingerprintLines
* @property initialPosition
* @property logGroupName
* @property multilineStartPattern
* @property timeZone
*/
public data class PhpAppLayerCloudwatchConfigurationLogStreamArgs(
public val batchCount: Output? = null,
public val batchSize: Output? = null,
public val bufferDuration: Output? = null,
public val datetimeFormat: Output? = null,
public val encoding: Output? = null,
public val `file`: Output,
public val fileFingerprintLines: Output? = null,
public val initialPosition: Output? = null,
public val logGroupName: Output,
public val multilineStartPattern: Output? = null,
public val timeZone: Output? = null,
) :
ConvertibleToJava {
override fun toJava(): com.pulumi.aws.opsworks.inputs.PhpAppLayerCloudwatchConfigurationLogStreamArgs =
com.pulumi.aws.opsworks.inputs.PhpAppLayerCloudwatchConfigurationLogStreamArgs.builder()
.batchCount(batchCount?.applyValue({ args0 -> args0 }))
.batchSize(batchSize?.applyValue({ args0 -> args0 }))
.bufferDuration(bufferDuration?.applyValue({ args0 -> args0 }))
.datetimeFormat(datetimeFormat?.applyValue({ args0 -> args0 }))
.encoding(encoding?.applyValue({ args0 -> args0 }))
.`file`(`file`.applyValue({ args0 -> args0 }))
.fileFingerprintLines(fileFingerprintLines?.applyValue({ args0 -> args0 }))
.initialPosition(initialPosition?.applyValue({ args0 -> args0 }))
.logGroupName(logGroupName.applyValue({ args0 -> args0 }))
.multilineStartPattern(multilineStartPattern?.applyValue({ args0 -> args0 }))
.timeZone(timeZone?.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [PhpAppLayerCloudwatchConfigurationLogStreamArgs].
*/
@PulumiTagMarker
public class PhpAppLayerCloudwatchConfigurationLogStreamArgsBuilder internal constructor() {
private var batchCount: Output? = null
private var batchSize: Output? = null
private var bufferDuration: Output? = null
private var datetimeFormat: Output? = null
private var encoding: Output? = null
private var `file`: Output? = null
private var fileFingerprintLines: Output? = null
private var initialPosition: Output? = null
private var logGroupName: Output? = null
private var multilineStartPattern: Output? = null
private var timeZone: Output? = null
/**
* @param value
*/
@JvmName("iduffguivnahtpey")
public suspend fun batchCount(`value`: Output) {
this.batchCount = value
}
/**
* @param value
*/
@JvmName("rqcotmfpulwbwgmb")
public suspend fun batchSize(`value`: Output) {
this.batchSize = value
}
/**
* @param value
*/
@JvmName("gnncelnvtllsxvsw")
public suspend fun bufferDuration(`value`: Output) {
this.bufferDuration = value
}
/**
* @param value
*/
@JvmName("bjfhsaxcxfcwoxhd")
public suspend fun datetimeFormat(`value`: Output) {
this.datetimeFormat = value
}
/**
* @param value
*/
@JvmName("iwqsqaausnvphcmi")
public suspend fun encoding(`value`: Output) {
this.encoding = value
}
/**
* @param value
*/
@JvmName("uknjwlndtfuuebnm")
public suspend fun `file`(`value`: Output) {
this.`file` = value
}
/**
* @param value
*/
@JvmName("wdjditlqxkarokls")
public suspend fun fileFingerprintLines(`value`: Output) {
this.fileFingerprintLines = value
}
/**
* @param value
*/
@JvmName("ummeoqxqyelatwdr")
public suspend fun initialPosition(`value`: Output) {
this.initialPosition = value
}
/**
* @param value
*/
@JvmName("bhsiahumpodamouu")
public suspend fun logGroupName(`value`: Output) {
this.logGroupName = value
}
/**
* @param value
*/
@JvmName("xvhemehxsiashdvl")
public suspend fun multilineStartPattern(`value`: Output) {
this.multilineStartPattern = value
}
/**
* @param value
*/
@JvmName("saukgotjumtluvlh")
public suspend fun timeZone(`value`: Output) {
this.timeZone = value
}
/**
* @param value
*/
@JvmName("rfhrtyrbwhjhhjjn")
public suspend fun batchCount(`value`: Int?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.batchCount = mapped
}
/**
* @param value
*/
@JvmName("ituodkrtctifbjgp")
public suspend fun batchSize(`value`: Int?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.batchSize = mapped
}
/**
* @param value
*/
@JvmName("onhwnnxsybwnemst")
public suspend fun bufferDuration(`value`: Int?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.bufferDuration = mapped
}
/**
* @param value
*/
@JvmName("rvimknnxgvpenbcy")
public suspend fun datetimeFormat(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.datetimeFormat = mapped
}
/**
* @param value
*/
@JvmName("brithfcrntbxpmdu")
public suspend fun encoding(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.encoding = mapped
}
/**
* @param value
*/
@JvmName("pxpnielqslhgxsid")
public suspend fun `file`(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.`file` = mapped
}
/**
* @param value
*/
@JvmName("ckbawbfxvmgegavj")
public suspend fun fileFingerprintLines(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.fileFingerprintLines = mapped
}
/**
* @param value
*/
@JvmName("pevdcjkqxlvdisdw")
public suspend fun initialPosition(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.initialPosition = mapped
}
/**
* @param value
*/
@JvmName("edgjsovaqyvcdofo")
public suspend fun logGroupName(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.logGroupName = mapped
}
/**
* @param value
*/
@JvmName("guqvcytryyeqocap")
public suspend fun multilineStartPattern(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.multilineStartPattern = mapped
}
/**
* @param value
*/
@JvmName("lunvrmbeoiafugea")
public suspend fun timeZone(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.timeZone = mapped
}
internal fun build(): PhpAppLayerCloudwatchConfigurationLogStreamArgs =
PhpAppLayerCloudwatchConfigurationLogStreamArgs(
batchCount = batchCount,
batchSize = batchSize,
bufferDuration = bufferDuration,
datetimeFormat = datetimeFormat,
encoding = encoding,
`file` = `file` ?: throw PulumiNullFieldException("file"),
fileFingerprintLines = fileFingerprintLines,
initialPosition = initialPosition,
logGroupName = logGroupName ?: throw PulumiNullFieldException("logGroupName"),
multilineStartPattern = multilineStartPattern,
timeZone = timeZone,
)
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy