
com.pulumi.azurenative.apimanagement.kotlin.inputs.OAuth2AuthenticationSettingsContractArgs.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.azurenative.apimanagement.kotlin.inputs
import com.pulumi.azurenative.apimanagement.inputs.OAuth2AuthenticationSettingsContractArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.String
import kotlin.Suppress
import kotlin.jvm.JvmName
/**
* API OAuth2 Authentication settings details.
* @property authorizationServerId OAuth authorization server identifier.
* @property scope operations scope.
*/
public data class OAuth2AuthenticationSettingsContractArgs(
public val authorizationServerId: Output? = null,
public val scope: Output? = null,
) :
ConvertibleToJava {
override fun toJava(): com.pulumi.azurenative.apimanagement.inputs.OAuth2AuthenticationSettingsContractArgs =
com.pulumi.azurenative.apimanagement.inputs.OAuth2AuthenticationSettingsContractArgs.builder()
.authorizationServerId(authorizationServerId?.applyValue({ args0 -> args0 }))
.scope(scope?.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [OAuth2AuthenticationSettingsContractArgs].
*/
@PulumiTagMarker
public class OAuth2AuthenticationSettingsContractArgsBuilder internal constructor() {
private var authorizationServerId: Output? = null
private var scope: Output? = null
/**
* @param value OAuth authorization server identifier.
*/
@JvmName("mrwetacgfdgcwufe")
public suspend fun authorizationServerId(`value`: Output) {
this.authorizationServerId = value
}
/**
* @param value operations scope.
*/
@JvmName("cmuqamvgiyvjhbqy")
public suspend fun scope(`value`: Output) {
this.scope = value
}
/**
* @param value OAuth authorization server identifier.
*/
@JvmName("xjwidttcusigpbse")
public suspend fun authorizationServerId(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.authorizationServerId = mapped
}
/**
* @param value operations scope.
*/
@JvmName("oifoephvqpcpqmyk")
public suspend fun scope(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.scope = mapped
}
internal fun build(): OAuth2AuthenticationSettingsContractArgs =
OAuth2AuthenticationSettingsContractArgs(
authorizationServerId = authorizationServerId,
scope = scope,
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy