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

com.pulumi.azure.appservice.kotlin.inputs.FunctionAppAuthSettingsTwitterArgs.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.14.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.azure.appservice.kotlin.inputs

import com.pulumi.azure.appservice.inputs.FunctionAppAuthSettingsTwitterArgs.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 consumerKey The OAuth 1.0a consumer key of the Twitter application used for sign-in.
 * @property consumerSecret The OAuth 1.0a consumer secret of the Twitter application used for sign-in.
 */
public data class FunctionAppAuthSettingsTwitterArgs(
    public val consumerKey: Output,
    public val consumerSecret: Output,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.azure.appservice.inputs.FunctionAppAuthSettingsTwitterArgs =
        com.pulumi.azure.appservice.inputs.FunctionAppAuthSettingsTwitterArgs.builder()
            .consumerKey(consumerKey.applyValue({ args0 -> args0 }))
            .consumerSecret(consumerSecret.applyValue({ args0 -> args0 })).build()
}

/**
 * Builder for [FunctionAppAuthSettingsTwitterArgs].
 */
@PulumiTagMarker
public class FunctionAppAuthSettingsTwitterArgsBuilder internal constructor() {
    private var consumerKey: Output? = null

    private var consumerSecret: Output? = null

    /**
     * @param value The OAuth 1.0a consumer key of the Twitter application used for sign-in.
     */
    @JvmName("mwsnuadqmxufdtlk")
    public suspend fun consumerKey(`value`: Output) {
        this.consumerKey = value
    }

    /**
     * @param value The OAuth 1.0a consumer secret of the Twitter application used for sign-in.
     */
    @JvmName("wycqlskuqtiaqbmv")
    public suspend fun consumerSecret(`value`: Output) {
        this.consumerSecret = value
    }

    /**
     * @param value The OAuth 1.0a consumer key of the Twitter application used for sign-in.
     */
    @JvmName("micyposccugkwjin")
    public suspend fun consumerKey(`value`: String) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.consumerKey = mapped
    }

    /**
     * @param value The OAuth 1.0a consumer secret of the Twitter application used for sign-in.
     */
    @JvmName("cdyeiqflmchmlppk")
    public suspend fun consumerSecret(`value`: String) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.consumerSecret = mapped
    }

    internal fun build(): FunctionAppAuthSettingsTwitterArgs = FunctionAppAuthSettingsTwitterArgs(
        consumerKey = consumerKey ?: throw PulumiNullFieldException("consumerKey"),
        consumerSecret = consumerSecret ?: throw PulumiNullFieldException("consumerSecret"),
    )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy