
com.pulumi.awsnative.frauddetector.kotlin.VariableArgs.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-aws-native-kotlin Show documentation
Show all versions of pulumi-aws-native-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.awsnative.frauddetector.kotlin
import com.pulumi.awsnative.frauddetector.VariableArgs.builder
import com.pulumi.awsnative.frauddetector.kotlin.enums.VariableDataSource
import com.pulumi.awsnative.frauddetector.kotlin.enums.VariableDataType
import com.pulumi.awsnative.frauddetector.kotlin.enums.VariableType
import com.pulumi.awsnative.kotlin.inputs.TagArgs
import com.pulumi.awsnative.kotlin.inputs.TagArgsBuilder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import com.pulumi.kotlin.applySuspend
import kotlin.String
import kotlin.Suppress
import kotlin.Unit
import kotlin.collections.List
import kotlin.jvm.JvmName
/**
* A resource schema for a Variable in Amazon Fraud Detector.
* @property dataSource The source of the data.
* @property dataType The data type.
* @property defaultValue The default value for the variable when no value is received.
* @property description The description.
* @property name The name of the variable.
* @property tags Tags associated with this variable.
* @property variableType The variable type. For more information see https://docs.aws.amazon.com/frauddetector/latest/ug/create-a-variable.html#variable-types
*/
public data class VariableArgs(
public val dataSource: Output? = null,
public val dataType: Output? = null,
public val defaultValue: Output? = null,
public val description: Output? = null,
public val name: Output? = null,
public val tags: Output>? = null,
public val variableType: Output? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.awsnative.frauddetector.VariableArgs =
com.pulumi.awsnative.frauddetector.VariableArgs.builder()
.dataSource(dataSource?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
.dataType(dataType?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
.defaultValue(defaultValue?.applyValue({ args0 -> args0 }))
.description(description?.applyValue({ args0 -> args0 }))
.name(name?.applyValue({ args0 -> args0 }))
.tags(tags?.applyValue({ args0 -> args0.map({ args0 -> args0.let({ args0 -> args0.toJava() }) }) }))
.variableType(variableType?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) })).build()
}
/**
* Builder for [VariableArgs].
*/
@PulumiTagMarker
public class VariableArgsBuilder internal constructor() {
private var dataSource: Output? = null
private var dataType: Output? = null
private var defaultValue: Output? = null
private var description: Output? = null
private var name: Output? = null
private var tags: Output>? = null
private var variableType: Output? = null
/**
* @param value The source of the data.
*/
@JvmName("vyyqbgynddftbeta")
public suspend fun dataSource(`value`: Output) {
this.dataSource = value
}
/**
* @param value The data type.
*/
@JvmName("wrptcqdyxrdokcjf")
public suspend fun dataType(`value`: Output) {
this.dataType = value
}
/**
* @param value The default value for the variable when no value is received.
*/
@JvmName("ahlxikgesxjjjcpj")
public suspend fun defaultValue(`value`: Output) {
this.defaultValue = value
}
/**
* @param value The description.
*/
@JvmName("hqurkrrliwqmqpls")
public suspend fun description(`value`: Output) {
this.description = value
}
/**
* @param value The name of the variable.
*/
@JvmName("ascubdsdlyqkvght")
public suspend fun name(`value`: Output) {
this.name = value
}
/**
* @param value Tags associated with this variable.
*/
@JvmName("avxoxukbyqurcgdd")
public suspend fun tags(`value`: Output>) {
this.tags = value
}
@JvmName("sfdjhahokvdlndlq")
public suspend fun tags(vararg values: Output) {
this.tags = Output.all(values.asList())
}
/**
* @param values Tags associated with this variable.
*/
@JvmName("itkwyhbfqrrcllce")
public suspend fun tags(values: List
© 2015 - 2025 Weber Informatics LLC | Privacy Policy