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

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

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

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

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

    private var consumerSecret: Output? = null

    /**
     * @param value The consumer key of the Twitter app used for login
     */
    @JvmName("otiixksomiplfrxf")
    public suspend fun consumerKey(`value`: Output) {
        this.consumerKey = value
    }

    /**
     * @param value The consumer secret of the Twitter app used for login.
     */
    @JvmName("jswmrtuimbxbbcvb")
    public suspend fun consumerSecret(`value`: Output) {
        this.consumerSecret = value
    }

    /**
     * @param value The consumer key of the Twitter app used for login
     */
    @JvmName("pagmbvhjkwyqwxhl")
    public suspend fun consumerKey(`value`: String) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.consumerKey = mapped
    }

    /**
     * @param value The consumer secret of the Twitter app used for login.
     */
    @JvmName("bbreaqlfqwetmgyl")
    public suspend fun consumerSecret(`value`: String) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.consumerSecret = mapped
    }

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




© 2015 - 2025 Weber Informatics LLC | Privacy Policy