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

com.pulumi.aws.pipes.kotlin.inputs.PipeEnrichmentParametersHttpParametersArgs.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.pipes.kotlin.inputs

import com.pulumi.aws.pipes.inputs.PipeEnrichmentParametersHttpParametersArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.Pair
import kotlin.String
import kotlin.Suppress
import kotlin.collections.Map
import kotlin.jvm.JvmName

/**
 *
 * @property headerParameters
 * @property pathParameterValues
 * @property queryStringParameters
 */
public data class PipeEnrichmentParametersHttpParametersArgs(
    public val headerParameters: Output>? = null,
    public val pathParameterValues: Output? = null,
    public val queryStringParameters: Output>? = null,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.aws.pipes.inputs.PipeEnrichmentParametersHttpParametersArgs =
        com.pulumi.aws.pipes.inputs.PipeEnrichmentParametersHttpParametersArgs.builder()
            .headerParameters(
                headerParameters?.applyValue({ args0 ->
                    args0.map({ args0 ->
                        args0.key.to(args0.value)
                    }).toMap()
                }),
            )
            .pathParameterValues(pathParameterValues?.applyValue({ args0 -> args0 }))
            .queryStringParameters(
                queryStringParameters?.applyValue({ args0 ->
                    args0.map({ args0 ->
                        args0.key.to(args0.value)
                    }).toMap()
                }),
            ).build()
}

/**
 * Builder for [PipeEnrichmentParametersHttpParametersArgs].
 */
@PulumiTagMarker
public class PipeEnrichmentParametersHttpParametersArgsBuilder internal constructor() {
    private var headerParameters: Output>? = null

    private var pathParameterValues: Output? = null

    private var queryStringParameters: Output>? = null

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

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

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

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

    /**
     * @param values
     */
    @JvmName("aolfiichqbqlsqli")
    public fun headerParameters(vararg values: Pair) {
        val toBeMapped = values.toMap()
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.headerParameters = mapped
    }

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

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

    /**
     * @param values
     */
    @JvmName("wceekakhogjvfysq")
    public fun queryStringParameters(vararg values: Pair) {
        val toBeMapped = values.toMap()
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.queryStringParameters = mapped
    }

    internal fun build(): PipeEnrichmentParametersHttpParametersArgs =
        PipeEnrichmentParametersHttpParametersArgs(
            headerParameters = headerParameters,
            pathParameterValues = pathParameterValues,
            queryStringParameters = queryStringParameters,
        )
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy