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

com.pulumi.awsnative.securitylake.kotlin.inputs.SubscriberCustomLogSourceArgs.kt Maven / Gradle / Ivy

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

package com.pulumi.awsnative.securitylake.kotlin.inputs

import com.pulumi.awsnative.securitylake.inputs.SubscriberCustomLogSourceArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.String
import kotlin.Suppress
import kotlin.jvm.JvmName

/**
 *
 * @property sourceName The name for a third-party custom source. This must be a Regionally unique value.
 * @property sourceVersion The version for a third-party custom source. This must be a Regionally unique value.
 */
public data class SubscriberCustomLogSourceArgs(
    public val sourceName: Output? = null,
    public val sourceVersion: Output? = null,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.awsnative.securitylake.inputs.SubscriberCustomLogSourceArgs =
        com.pulumi.awsnative.securitylake.inputs.SubscriberCustomLogSourceArgs.builder()
            .sourceName(sourceName?.applyValue({ args0 -> args0 }))
            .sourceVersion(sourceVersion?.applyValue({ args0 -> args0 })).build()
}

/**
 * Builder for [SubscriberCustomLogSourceArgs].
 */
@PulumiTagMarker
public class SubscriberCustomLogSourceArgsBuilder internal constructor() {
    private var sourceName: Output? = null

    private var sourceVersion: Output? = null

    /**
     * @param value The name for a third-party custom source. This must be a Regionally unique value.
     */
    @JvmName("hbccjvrbpsaqpvjj")
    public suspend fun sourceName(`value`: Output) {
        this.sourceName = value
    }

    /**
     * @param value The version for a third-party custom source. This must be a Regionally unique value.
     */
    @JvmName("smkiqaobdhayodak")
    public suspend fun sourceVersion(`value`: Output) {
        this.sourceVersion = value
    }

    /**
     * @param value The name for a third-party custom source. This must be a Regionally unique value.
     */
    @JvmName("uwjqwlsckddfejgx")
    public suspend fun sourceName(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.sourceName = mapped
    }

    /**
     * @param value The version for a third-party custom source. This must be a Regionally unique value.
     */
    @JvmName("odtgsivvnlcvxwvr")
    public suspend fun sourceVersion(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.sourceVersion = mapped
    }

    internal fun build(): SubscriberCustomLogSourceArgs = SubscriberCustomLogSourceArgs(
        sourceName = sourceName,
        sourceVersion = sourceVersion,
    )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy