![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.azure.appservice.kotlin.inputs.WindowsWebAppSlotAuthSettingsV2TwitterV2Args.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.WindowsWebAppSlotAuthSettingsV2TwitterV2Args.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 consumerSecretSettingName The app setting name that contains the OAuth 1.0a consumer secret of the Twitter application used for sign-in.
* !> **NOTE:** A setting with this name must exist in `app_settings` to function correctly.
*/
public data class WindowsWebAppSlotAuthSettingsV2TwitterV2Args(
public val consumerKey: Output,
public val consumerSecretSettingName: Output,
) :
ConvertibleToJava {
override fun toJava(): com.pulumi.azure.appservice.inputs.WindowsWebAppSlotAuthSettingsV2TwitterV2Args =
com.pulumi.azure.appservice.inputs.WindowsWebAppSlotAuthSettingsV2TwitterV2Args.builder()
.consumerKey(consumerKey.applyValue({ args0 -> args0 }))
.consumerSecretSettingName(consumerSecretSettingName.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [WindowsWebAppSlotAuthSettingsV2TwitterV2Args].
*/
@PulumiTagMarker
public class WindowsWebAppSlotAuthSettingsV2TwitterV2ArgsBuilder internal constructor() {
private var consumerKey: Output? = null
private var consumerSecretSettingName: Output? = null
/**
* @param value The OAuth 1.0a consumer key of the Twitter application used for sign-in.
*/
@JvmName("hchobirwslgoquab")
public suspend fun consumerKey(`value`: Output) {
this.consumerKey = value
}
/**
* @param value The app setting name that contains the OAuth 1.0a consumer secret of the Twitter application used for sign-in.
* !> **NOTE:** A setting with this name must exist in `app_settings` to function correctly.
*/
@JvmName("rsjoicfdjikvfxww")
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("bxieebolvscrpkmc")
public suspend fun consumerKey(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.consumerKey = mapped
}
/**
* @param value The app setting name that contains the OAuth 1.0a consumer secret of the Twitter application used for sign-in.
* !> **NOTE:** A setting with this name must exist in `app_settings` to function correctly.
*/
@JvmName("lftotnddkjddlwrl")
public suspend fun consumerSecretSettingName(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.consumerSecretSettingName = mapped
}
internal fun build(): WindowsWebAppSlotAuthSettingsV2TwitterV2Args =
WindowsWebAppSlotAuthSettingsV2TwitterV2Args(
consumerKey = consumerKey ?: throw PulumiNullFieldException("consumerKey"),
consumerSecretSettingName = consumerSecretSettingName ?: throw
PulumiNullFieldException("consumerSecretSettingName"),
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy