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

com.pulumi.aws.appsync.kotlin.inputs.SourceApiAssociationSourceApiAssociationConfigArgs.kt Maven / Gradle / Ivy

Go to download

Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.

There is a newer version: 6.57.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.aws.appsync.kotlin.inputs

import com.pulumi.aws.appsync.inputs.SourceApiAssociationSourceApiAssociationConfigArgs.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.String
import kotlin.Suppress
import kotlin.jvm.JvmName

/**
 *
 * @property mergeType Merge type. Valid values: `MANUAL_MERGE`, `AUTO_MERGE`
 */
public data class SourceApiAssociationSourceApiAssociationConfigArgs(
    public val mergeType: Output,
) :
    ConvertibleToJava {
    override fun toJava(): com.pulumi.aws.appsync.inputs.SourceApiAssociationSourceApiAssociationConfigArgs =
        com.pulumi.aws.appsync.inputs.SourceApiAssociationSourceApiAssociationConfigArgs.builder()
            .mergeType(mergeType.applyValue({ args0 -> args0 })).build()
}

/**
 * Builder for [SourceApiAssociationSourceApiAssociationConfigArgs].
 */
@PulumiTagMarker
public class SourceApiAssociationSourceApiAssociationConfigArgsBuilder internal constructor() {
    private var mergeType: Output? = null

    /**
     * @param value Merge type. Valid values: `MANUAL_MERGE`, `AUTO_MERGE`
     */
    @JvmName("vlmyngmxjxpargge")
    public suspend fun mergeType(`value`: Output) {
        this.mergeType = value
    }

    /**
     * @param value Merge type. Valid values: `MANUAL_MERGE`, `AUTO_MERGE`
     */
    @JvmName("lgslgixmvuhkhfau")
    public suspend fun mergeType(`value`: String) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.mergeType = mapped
    }

    internal fun build(): SourceApiAssociationSourceApiAssociationConfigArgs =
        SourceApiAssociationSourceApiAssociationConfigArgs(
            mergeType = mergeType ?: throw PulumiNullFieldException("mergeType"),
        )
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy