All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.pulumi.aws.opsworks.kotlin.inputs.MysqlLayerCloudwatchConfigurationLogStreamArgs.kt Maven / Gradle / Ivy

@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.aws.opsworks.kotlin.inputs

import com.pulumi.aws.opsworks.inputs.MysqlLayerCloudwatchConfigurationLogStreamArgs.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 MysqlLayerCloudwatchConfigurationLogStreamArgs(
    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.MysqlLayerCloudwatchConfigurationLogStreamArgs =
        com.pulumi.aws.opsworks.inputs.MysqlLayerCloudwatchConfigurationLogStreamArgs.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 [MysqlLayerCloudwatchConfigurationLogStreamArgs].
 */
@PulumiTagMarker
public class MysqlLayerCloudwatchConfigurationLogStreamArgsBuilder 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("asawoubojolyauwi")
    public suspend fun batchCount(`value`: Output) {
        this.batchCount = value
    }

    /**
     * @param value
     */
    @JvmName("ifbnshyttoyhsrev")
    public suspend fun batchSize(`value`: Output) {
        this.batchSize = value
    }

    /**
     * @param value
     */
    @JvmName("yvlineqeeidfstwi")
    public suspend fun bufferDuration(`value`: Output) {
        this.bufferDuration = value
    }

    /**
     * @param value
     */
    @JvmName("ouocjgvfiaiyasos")
    public suspend fun datetimeFormat(`value`: Output) {
        this.datetimeFormat = value
    }

    /**
     * @param value
     */
    @JvmName("ltvycsclwhexrqtk")
    public suspend fun encoding(`value`: Output) {
        this.encoding = value
    }

    /**
     * @param value
     */
    @JvmName("vbwnvtqirfknndhc")
    public suspend fun `file`(`value`: Output) {
        this.`file` = value
    }

    /**
     * @param value
     */
    @JvmName("gxrmfgytjeoumdrb")
    public suspend fun fileFingerprintLines(`value`: Output) {
        this.fileFingerprintLines = value
    }

    /**
     * @param value
     */
    @JvmName("dveluxfhxbqnfqkw")
    public suspend fun initialPosition(`value`: Output) {
        this.initialPosition = value
    }

    /**
     * @param value
     */
    @JvmName("pmjurwdlxaefsvrw")
    public suspend fun logGroupName(`value`: Output) {
        this.logGroupName = value
    }

    /**
     * @param value
     */
    @JvmName("mhvbecohjbhdwhok")
    public suspend fun multilineStartPattern(`value`: Output) {
        this.multilineStartPattern = value
    }

    /**
     * @param value
     */
    @JvmName("dinpqmchypdhlftj")
    public suspend fun timeZone(`value`: Output) {
        this.timeZone = value
    }

    /**
     * @param value
     */
    @JvmName("wlehsmyuqjhdqent")
    public suspend fun batchCount(`value`: Int?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.batchCount = mapped
    }

    /**
     * @param value
     */
    @JvmName("viwwjukxmenfmlhq")
    public suspend fun batchSize(`value`: Int?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.batchSize = mapped
    }

    /**
     * @param value
     */
    @JvmName("usrjiymsefafwvuh")
    public suspend fun bufferDuration(`value`: Int?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.bufferDuration = mapped
    }

    /**
     * @param value
     */
    @JvmName("vsigeuhsqohajeuj")
    public suspend fun datetimeFormat(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.datetimeFormat = mapped
    }

    /**
     * @param value
     */
    @JvmName("pcnqrhbfkwhtwixg")
    public suspend fun encoding(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.encoding = mapped
    }

    /**
     * @param value
     */
    @JvmName("sdwlmgcyckxjhaey")
    public suspend fun `file`(`value`: String) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.`file` = mapped
    }

    /**
     * @param value
     */
    @JvmName("bakgotrftwyqrpko")
    public suspend fun fileFingerprintLines(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.fileFingerprintLines = mapped
    }

    /**
     * @param value
     */
    @JvmName("vhmeyehnglgddets")
    public suspend fun initialPosition(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.initialPosition = mapped
    }

    /**
     * @param value
     */
    @JvmName("snvlqowgtewubrso")
    public suspend fun logGroupName(`value`: String) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.logGroupName = mapped
    }

    /**
     * @param value
     */
    @JvmName("authoxtunomkggtp")
    public suspend fun multilineStartPattern(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.multilineStartPattern = mapped
    }

    /**
     * @param value
     */
    @JvmName("nsknrshpgtvuingq")
    public suspend fun timeZone(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.timeZone = mapped
    }

    internal fun build(): MysqlLayerCloudwatchConfigurationLogStreamArgs =
        MysqlLayerCloudwatchConfigurationLogStreamArgs(
            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 - 2025 Weber Informatics LLC | Privacy Policy