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

com.pulumi.aws.cloudwatch.kotlin.inputs.EventConnectionAuthParametersOauthOauthHttpParametersArgs.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.cloudwatch.kotlin.inputs

import com.pulumi.aws.cloudwatch.inputs.EventConnectionAuthParametersOauthOauthHttpParametersArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import com.pulumi.kotlin.applySuspend
import kotlin.Suppress
import kotlin.Unit
import kotlin.collections.List
import kotlin.jvm.JvmName

/**
 *
 * @property bodies Contains additional body string parameters for the connection. You can include up to 100 additional body string parameters per request. Each additional parameter counts towards the event payload size, which cannot exceed 64 KB. Each parameter can contain the following:
 * @property headers Contains additional header parameters for the connection. You can include up to 100 additional body string parameters per request. Each additional parameter counts towards the event payload size, which cannot exceed 64 KB. Each parameter can contain the following:
 * @property queryStrings Contains additional query string parameters for the connection. You can include up to 100 additional body string parameters per request. Each additional parameter counts towards the event payload size, which cannot exceed 64 KB. Each parameter can contain the following:
 */
public data class EventConnectionAuthParametersOauthOauthHttpParametersArgs(
    public val bodies: Output>? =
        null,
    public val headers: Output>? =
        null,
    public val queryStrings: Output>? = null,
) :
    ConvertibleToJava {
    override fun toJava(): com.pulumi.aws.cloudwatch.inputs.EventConnectionAuthParametersOauthOauthHttpParametersArgs =
        com.pulumi.aws.cloudwatch.inputs.EventConnectionAuthParametersOauthOauthHttpParametersArgs.builder()
            .bodies(bodies?.applyValue({ args0 -> args0.map({ args0 -> args0.let({ args0 -> args0.toJava() }) }) }))
            .headers(
                headers?.applyValue({ args0 ->
                    args0.map({ args0 ->
                        args0.let({ args0 ->
                            args0.toJava()
                        })
                    })
                }),
            )
            .queryStrings(
                queryStrings?.applyValue({ args0 ->
                    args0.map({ args0 ->
                        args0.let({ args0 ->
                            args0.toJava()
                        })
                    })
                }),
            ).build()
}

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

    private var headers:
        Output>? = null

    private var queryStrings:
        Output>? = null

    /**
     * @param value Contains additional body string parameters for the connection. You can include up to 100 additional body string parameters per request. Each additional parameter counts towards the event payload size, which cannot exceed 64 KB. Each parameter can contain the following:
     */
    @JvmName("nlqdfomykuckigmv")
    public suspend fun bodies(`value`: Output>) {
        this.bodies = value
    }

    @JvmName("nanqxtfeqjbduxwt")
    public suspend fun bodies(vararg values: Output) {
        this.bodies = Output.all(values.asList())
    }

    /**
     * @param values Contains additional body string parameters for the connection. You can include up to 100 additional body string parameters per request. Each additional parameter counts towards the event payload size, which cannot exceed 64 KB. Each parameter can contain the following:
     */
    @JvmName("ovgpthwqppacjafe")
    public suspend fun bodies(values: List>) {
        this.bodies = Output.all(values)
    }

    /**
     * @param value Contains additional header parameters for the connection. You can include up to 100 additional body string parameters per request. Each additional parameter counts towards the event payload size, which cannot exceed 64 KB. Each parameter can contain the following:
     */
    @JvmName("rulmnpmodmtradrt")
    public suspend fun headers(`value`: Output>) {
        this.headers = value
    }

    @JvmName("dvblcdbgltavjfca")
    public suspend fun headers(vararg values: Output) {
        this.headers = Output.all(values.asList())
    }

    /**
     * @param values Contains additional header parameters for the connection. You can include up to 100 additional body string parameters per request. Each additional parameter counts towards the event payload size, which cannot exceed 64 KB. Each parameter can contain the following:
     */
    @JvmName("ujcpwleqepuhqcsr")
    public suspend fun headers(values: List>) {
        this.headers = Output.all(values)
    }

    /**
     * @param value Contains additional query string parameters for the connection. You can include up to 100 additional body string parameters per request. Each additional parameter counts towards the event payload size, which cannot exceed 64 KB. Each parameter can contain the following:
     */
    @JvmName("bwgjwatyucigymfl")
    public suspend fun queryStrings(`value`: Output>) {
        this.queryStrings = value
    }

    @JvmName("ttovcssrwhonokmq")
    public suspend fun queryStrings(vararg values: Output) {
        this.queryStrings = Output.all(values.asList())
    }

    /**
     * @param values Contains additional query string parameters for the connection. You can include up to 100 additional body string parameters per request. Each additional parameter counts towards the event payload size, which cannot exceed 64 KB. Each parameter can contain the following:
     */
    @JvmName("bmbfkikymtespnli")
    public suspend fun queryStrings(values: List>) {
        this.queryStrings = Output.all(values)
    }

    /**
     * @param value Contains additional body string parameters for the connection. You can include up to 100 additional body string parameters per request. Each additional parameter counts towards the event payload size, which cannot exceed 64 KB. Each parameter can contain the following:
     */
    @JvmName("bcobirrndllvhnbr")
    public suspend fun bodies(`value`: List?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.bodies = mapped
    }

    /**
     * @param argument Contains additional body string parameters for the connection. You can include up to 100 additional body string parameters per request. Each additional parameter counts towards the event payload size, which cannot exceed 64 KB. Each parameter can contain the following:
     */
    @JvmName("qicdexemuanrqwpk")
    public suspend fun bodies(argument: List Unit>) {
        val toBeMapped = argument.toList().map {
            EventConnectionAuthParametersOauthOauthHttpParametersBodyArgsBuilder().applySuspend {
                it()
            }.build()
        }
        val mapped = of(toBeMapped)
        this.bodies = mapped
    }

    /**
     * @param argument Contains additional body string parameters for the connection. You can include up to 100 additional body string parameters per request. Each additional parameter counts towards the event payload size, which cannot exceed 64 KB. Each parameter can contain the following:
     */
    @JvmName("tvoujlctajivyjvv")
    public suspend fun bodies(vararg argument: suspend EventConnectionAuthParametersOauthOauthHttpParametersBodyArgsBuilder.() -> Unit) {
        val toBeMapped = argument.toList().map {
            EventConnectionAuthParametersOauthOauthHttpParametersBodyArgsBuilder().applySuspend {
                it()
            }.build()
        }
        val mapped = of(toBeMapped)
        this.bodies = mapped
    }

    /**
     * @param argument Contains additional body string parameters for the connection. You can include up to 100 additional body string parameters per request. Each additional parameter counts towards the event payload size, which cannot exceed 64 KB. Each parameter can contain the following:
     */
    @JvmName("lbbxdubtbflypjur")
    public suspend fun bodies(argument: suspend EventConnectionAuthParametersOauthOauthHttpParametersBodyArgsBuilder.() -> Unit) {
        val toBeMapped =
            listOf(
                EventConnectionAuthParametersOauthOauthHttpParametersBodyArgsBuilder().applySuspend {
                    argument()
                }.build(),
            )
        val mapped = of(toBeMapped)
        this.bodies = mapped
    }

    /**
     * @param values Contains additional body string parameters for the connection. You can include up to 100 additional body string parameters per request. Each additional parameter counts towards the event payload size, which cannot exceed 64 KB. Each parameter can contain the following:
     */
    @JvmName("yxwywibmbegethae")
    public suspend fun bodies(vararg values: EventConnectionAuthParametersOauthOauthHttpParametersBodyArgs) {
        val toBeMapped = values.toList()
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.bodies = mapped
    }

    /**
     * @param value Contains additional header parameters for the connection. You can include up to 100 additional body string parameters per request. Each additional parameter counts towards the event payload size, which cannot exceed 64 KB. Each parameter can contain the following:
     */
    @JvmName("pyweyknpkigcpgsr")
    public suspend fun headers(`value`: List?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.headers = mapped
    }

    /**
     * @param argument Contains additional header parameters for the connection. You can include up to 100 additional body string parameters per request. Each additional parameter counts towards the event payload size, which cannot exceed 64 KB. Each parameter can contain the following:
     */
    @JvmName("lnvebucrwfmxnplx")
    public suspend fun headers(argument: List Unit>) {
        val toBeMapped = argument.toList().map {
            EventConnectionAuthParametersOauthOauthHttpParametersHeaderArgsBuilder().applySuspend {
                it()
            }.build()
        }
        val mapped = of(toBeMapped)
        this.headers = mapped
    }

    /**
     * @param argument Contains additional header parameters for the connection. You can include up to 100 additional body string parameters per request. Each additional parameter counts towards the event payload size, which cannot exceed 64 KB. Each parameter can contain the following:
     */
    @JvmName("suwrmlxbfevqkemo")
    public suspend fun headers(vararg argument: suspend EventConnectionAuthParametersOauthOauthHttpParametersHeaderArgsBuilder.() -> Unit) {
        val toBeMapped = argument.toList().map {
            EventConnectionAuthParametersOauthOauthHttpParametersHeaderArgsBuilder().applySuspend {
                it()
            }.build()
        }
        val mapped = of(toBeMapped)
        this.headers = mapped
    }

    /**
     * @param argument Contains additional header parameters for the connection. You can include up to 100 additional body string parameters per request. Each additional parameter counts towards the event payload size, which cannot exceed 64 KB. Each parameter can contain the following:
     */
    @JvmName("cefujsqrnnthtlwq")
    public suspend fun headers(argument: suspend EventConnectionAuthParametersOauthOauthHttpParametersHeaderArgsBuilder.() -> Unit) {
        val toBeMapped =
            listOf(
                EventConnectionAuthParametersOauthOauthHttpParametersHeaderArgsBuilder().applySuspend
                    { argument() }.build(),
            )
        val mapped = of(toBeMapped)
        this.headers = mapped
    }

    /**
     * @param values Contains additional header parameters for the connection. You can include up to 100 additional body string parameters per request. Each additional parameter counts towards the event payload size, which cannot exceed 64 KB. Each parameter can contain the following:
     */
    @JvmName("rvpjlisjicsfvwdj")
    public suspend fun headers(vararg values: EventConnectionAuthParametersOauthOauthHttpParametersHeaderArgs) {
        val toBeMapped = values.toList()
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.headers = mapped
    }

    /**
     * @param value Contains additional query string parameters for the connection. You can include up to 100 additional body string parameters per request. Each additional parameter counts towards the event payload size, which cannot exceed 64 KB. Each parameter can contain the following:
     */
    @JvmName("qxcskoadimcqidhp")
    public suspend fun queryStrings(`value`: List?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.queryStrings = mapped
    }

    /**
     * @param argument Contains additional query string parameters for the connection. You can include up to 100 additional body string parameters per request. Each additional parameter counts towards the event payload size, which cannot exceed 64 KB. Each parameter can contain the following:
     */
    @JvmName("xjsomaaujldkxmpa")
    public suspend fun queryStrings(argument: List Unit>) {
        val toBeMapped = argument.toList().map {
            EventConnectionAuthParametersOauthOauthHttpParametersQueryStringArgsBuilder().applySuspend {
                it()
            }.build()
        }
        val mapped = of(toBeMapped)
        this.queryStrings = mapped
    }

    /**
     * @param argument Contains additional query string parameters for the connection. You can include up to 100 additional body string parameters per request. Each additional parameter counts towards the event payload size, which cannot exceed 64 KB. Each parameter can contain the following:
     */
    @JvmName("vuvyyelrduisfkaq")
    public suspend fun queryStrings(vararg argument: suspend EventConnectionAuthParametersOauthOauthHttpParametersQueryStringArgsBuilder.() -> Unit) {
        val toBeMapped = argument.toList().map {
            EventConnectionAuthParametersOauthOauthHttpParametersQueryStringArgsBuilder().applySuspend {
                it()
            }.build()
        }
        val mapped = of(toBeMapped)
        this.queryStrings = mapped
    }

    /**
     * @param argument Contains additional query string parameters for the connection. You can include up to 100 additional body string parameters per request. Each additional parameter counts towards the event payload size, which cannot exceed 64 KB. Each parameter can contain the following:
     */
    @JvmName("ahqgabxgysbdwpjc")
    public suspend fun queryStrings(argument: suspend EventConnectionAuthParametersOauthOauthHttpParametersQueryStringArgsBuilder.() -> Unit) {
        val toBeMapped =
            listOf(
                EventConnectionAuthParametersOauthOauthHttpParametersQueryStringArgsBuilder().applySuspend
                    { argument() }.build(),
            )
        val mapped = of(toBeMapped)
        this.queryStrings = mapped
    }

    /**
     * @param values Contains additional query string parameters for the connection. You can include up to 100 additional body string parameters per request. Each additional parameter counts towards the event payload size, which cannot exceed 64 KB. Each parameter can contain the following:
     */
    @JvmName("xfgimmnmnotgdaix")
    public suspend fun queryStrings(vararg values: EventConnectionAuthParametersOauthOauthHttpParametersQueryStringArgs) {
        val toBeMapped = values.toList()
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.queryStrings = mapped
    }

    internal fun build(): EventConnectionAuthParametersOauthOauthHttpParametersArgs =
        EventConnectionAuthParametersOauthOauthHttpParametersArgs(
            bodies = bodies,
            headers = headers,
            queryStrings = queryStrings,
        )
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy