com.pulumi.azure.apimanagement.kotlin.inputs.ServiceSignUpTermsOfServiceArgs.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.apimanagement.kotlin.inputs
import com.pulumi.azure.apimanagement.inputs.ServiceSignUpTermsOfServiceArgs.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.Boolean
import kotlin.String
import kotlin.Suppress
import kotlin.jvm.JvmName
/**
*
* @property consentRequired Should the user be asked for consent during sign up?
* @property enabled Should Terms of Service be displayed during sign up?.
* @property text The Terms of Service which users are required to agree to in order to sign up.
*/
public data class ServiceSignUpTermsOfServiceArgs(
public val consentRequired: Output,
public val enabled: Output,
public val text: Output? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.azure.apimanagement.inputs.ServiceSignUpTermsOfServiceArgs =
com.pulumi.azure.apimanagement.inputs.ServiceSignUpTermsOfServiceArgs.builder()
.consentRequired(consentRequired.applyValue({ args0 -> args0 }))
.enabled(enabled.applyValue({ args0 -> args0 }))
.text(text?.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [ServiceSignUpTermsOfServiceArgs].
*/
@PulumiTagMarker
public class ServiceSignUpTermsOfServiceArgsBuilder internal constructor() {
private var consentRequired: Output? = null
private var enabled: Output? = null
private var text: Output? = null
/**
* @param value Should the user be asked for consent during sign up?
*/
@JvmName("rdrkneniemtkpydp")
public suspend fun consentRequired(`value`: Output) {
this.consentRequired = value
}
/**
* @param value Should Terms of Service be displayed during sign up?.
*/
@JvmName("usxncwxbifieldmk")
public suspend fun enabled(`value`: Output) {
this.enabled = value
}
/**
* @param value The Terms of Service which users are required to agree to in order to sign up.
*/
@JvmName("cjesuosapnnlullt")
public suspend fun text(`value`: Output) {
this.text = value
}
/**
* @param value Should the user be asked for consent during sign up?
*/
@JvmName("rjdhtaveltyhistc")
public suspend fun consentRequired(`value`: Boolean) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.consentRequired = mapped
}
/**
* @param value Should Terms of Service be displayed during sign up?.
*/
@JvmName("niclfuabsmurjumd")
public suspend fun enabled(`value`: Boolean) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.enabled = mapped
}
/**
* @param value The Terms of Service which users are required to agree to in order to sign up.
*/
@JvmName("gfeegiolxrcurfgp")
public suspend fun text(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.text = mapped
}
internal fun build(): ServiceSignUpTermsOfServiceArgs = ServiceSignUpTermsOfServiceArgs(
consentRequired = consentRequired ?: throw PulumiNullFieldException("consentRequired"),
enabled = enabled ?: throw PulumiNullFieldException("enabled"),
text = text,
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy