com.pulumi.azure.appservice.kotlin.inputs.LinuxWebAppAuthSettingsTwitterArgs.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-azure-kotlin Show documentation
Show all versions of pulumi-azure-kotlin Show documentation
Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.azure.appservice.kotlin.inputs
import com.pulumi.azure.appservice.inputs.LinuxWebAppAuthSettingsTwitterArgs.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. Cannot be specified with `consumer_secret_setting_name`.
* @property consumerSecretSettingName The app setting name that contains the OAuth 1.0a consumer secret of the Twitter application used for sign-in. Cannot be specified with `consumer_secret`.
*/
public data class LinuxWebAppAuthSettingsTwitterArgs(
public val consumerKey: Output,
public val consumerSecret: Output? = null,
public val consumerSecretSettingName: Output? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.azure.appservice.inputs.LinuxWebAppAuthSettingsTwitterArgs =
com.pulumi.azure.appservice.inputs.LinuxWebAppAuthSettingsTwitterArgs.builder()
.consumerKey(consumerKey.applyValue({ args0 -> args0 }))
.consumerSecret(consumerSecret?.applyValue({ args0 -> args0 }))
.consumerSecretSettingName(consumerSecretSettingName?.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [LinuxWebAppAuthSettingsTwitterArgs].
*/
@PulumiTagMarker
public class LinuxWebAppAuthSettingsTwitterArgsBuilder internal constructor() {
private var consumerKey: Output? = null
private var consumerSecret: Output? = null
private var consumerSecretSettingName: Output? = null
/**
* @param value The OAuth 1.0a consumer key of the Twitter application used for sign-in.
*/
@JvmName("ddkoojirjcavoqdp")
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. Cannot be specified with `consumer_secret_setting_name`.
*/
@JvmName("vfjbrfjnlsydpdrg")
public suspend fun consumerSecret(`value`: Output) {
this.consumerSecret = value
}
/**
* @param value The app setting name that contains the OAuth 1.0a consumer secret of the Twitter application used for sign-in. Cannot be specified with `consumer_secret`.
*/
@JvmName("jsukwndgaqxsyfbx")
public suspend fun consumerSecretSettingName(`value`: Output) {
this.consumerSecretSettingName = value
}
/**
* @param value The OAuth 1.0a consumer key of the Twitter application used for sign-in.
*/
@JvmName("wmtqbvdovdvcnjuj")
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. Cannot be specified with `consumer_secret_setting_name`.
*/
@JvmName("xgylsgtbfcvnmafj")
public suspend fun consumerSecret(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.consumerSecret = mapped
}
/**
* @param value The app setting name that contains the OAuth 1.0a consumer secret of the Twitter application used for sign-in. Cannot be specified with `consumer_secret`.
*/
@JvmName("khekpqngnkayimaf")
public suspend fun consumerSecretSettingName(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.consumerSecretSettingName = mapped
}
internal fun build(): LinuxWebAppAuthSettingsTwitterArgs = LinuxWebAppAuthSettingsTwitterArgs(
consumerKey = consumerKey ?: throw PulumiNullFieldException("consumerKey"),
consumerSecret = consumerSecret,
consumerSecretSettingName = consumerSecretSettingName,
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy