com.pulumi.aws.identitystore.kotlin.inputs.UserPhoneNumbersArgs.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-aws-kotlin Show documentation
Show all versions of pulumi-aws-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.aws.identitystore.kotlin.inputs
import com.pulumi.aws.identitystore.inputs.UserPhoneNumbersArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.Boolean
import kotlin.String
import kotlin.Suppress
import kotlin.jvm.JvmName
/**
*
* @property primary When `true`, this is the primary phone number associated with the user.
* @property type The type of phone number.
* @property value The user's phone number.
*/
public data class UserPhoneNumbersArgs(
public val primary: Output? = null,
public val type: Output? = null,
public val `value`: Output? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.aws.identitystore.inputs.UserPhoneNumbersArgs =
com.pulumi.aws.identitystore.inputs.UserPhoneNumbersArgs.builder()
.primary(primary?.applyValue({ args0 -> args0 }))
.type(type?.applyValue({ args0 -> args0 }))
.`value`(`value`?.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [UserPhoneNumbersArgs].
*/
@PulumiTagMarker
public class UserPhoneNumbersArgsBuilder internal constructor() {
private var primary: Output? = null
private var type: Output? = null
private var `value`: Output? = null
/**
* @param value When `true`, this is the primary phone number associated with the user.
*/
@JvmName("mhxxivdlatdbjqhb")
public suspend fun primary(`value`: Output) {
this.primary = value
}
/**
* @param value The type of phone number.
*/
@JvmName("ufvbgnrutexbgdve")
public suspend fun type(`value`: Output) {
this.type = value
}
/**
* @param value The user's phone number.
*/
@JvmName("fpjoqwafercyksml")
public suspend fun `value`(`value`: Output) {
this.`value` = value
}
/**
* @param value When `true`, this is the primary phone number associated with the user.
*/
@JvmName("gnepweaxjpfxmhxm")
public suspend fun primary(`value`: Boolean?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.primary = mapped
}
/**
* @param value The type of phone number.
*/
@JvmName("brspxwtcthddwsum")
public suspend fun type(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.type = mapped
}
/**
* @param value The user's phone number.
*/
@JvmName("nscwycskuwndkvmf")
public suspend fun `value`(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.`value` = mapped
}
internal fun build(): UserPhoneNumbersArgs = UserPhoneNumbersArgs(
primary = primary,
type = type,
`value` = `value`,
)
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy