![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.awsnative.customerprofiles.kotlin.CalculatedAttributeDefinitionArgs.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.awsnative.customerprofiles.kotlin
import com.pulumi.awsnative.customerprofiles.CalculatedAttributeDefinitionArgs.builder
import com.pulumi.awsnative.customerprofiles.kotlin.enums.CalculatedAttributeDefinitionStatistic
import com.pulumi.awsnative.customerprofiles.kotlin.inputs.CalculatedAttributeDefinitionAttributeDetailsArgs
import com.pulumi.awsnative.customerprofiles.kotlin.inputs.CalculatedAttributeDefinitionAttributeDetailsArgsBuilder
import com.pulumi.awsnative.customerprofiles.kotlin.inputs.CalculatedAttributeDefinitionConditionsArgs
import com.pulumi.awsnative.customerprofiles.kotlin.inputs.CalculatedAttributeDefinitionConditionsArgsBuilder
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 calculated attribute definition for Customer Profiles
* @property attributeDetails Mathematical expression and a list of attribute items specified in that expression.
* @property calculatedAttributeName The name of an attribute defined in a profile object type.
* @property conditions The conditions including range, object count, and threshold for the calculated attribute.
* @property description The description of the calculated attribute.
* @property displayName The display name of the calculated attribute.
* @property domainName The unique name of the domain.
* @property statistic The aggregation operation to perform for the calculated attribute.
* @property tags An array of key-value pairs to apply to this resource.
*/
public data class CalculatedAttributeDefinitionArgs(
public val attributeDetails: Output? = null,
public val calculatedAttributeName: Output? = null,
public val conditions: Output? = null,
public val description: Output? = null,
public val displayName: Output? = null,
public val domainName: Output? = null,
public val statistic: Output? = null,
public val tags: Output>? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.awsnative.customerprofiles.CalculatedAttributeDefinitionArgs =
com.pulumi.awsnative.customerprofiles.CalculatedAttributeDefinitionArgs.builder()
.attributeDetails(attributeDetails?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
.calculatedAttributeName(calculatedAttributeName?.applyValue({ args0 -> args0 }))
.conditions(conditions?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
.description(description?.applyValue({ args0 -> args0 }))
.displayName(displayName?.applyValue({ args0 -> args0 }))
.domainName(domainName?.applyValue({ args0 -> args0 }))
.statistic(statistic?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
.tags(
tags?.applyValue({ args0 ->
args0.map({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
})
}),
).build()
}
/**
* Builder for [CalculatedAttributeDefinitionArgs].
*/
@PulumiTagMarker
public class CalculatedAttributeDefinitionArgsBuilder internal constructor() {
private var attributeDetails: Output? = null
private var calculatedAttributeName: Output? = null
private var conditions: Output? = null
private var description: Output? = null
private var displayName: Output? = null
private var domainName: Output? = null
private var statistic: Output? = null
private var tags: Output>? = null
/**
* @param value Mathematical expression and a list of attribute items specified in that expression.
*/
@JvmName("udmrnjvkrwkyafjd")
public suspend fun attributeDetails(`value`: Output) {
this.attributeDetails = value
}
/**
* @param value The name of an attribute defined in a profile object type.
*/
@JvmName("jkmjcshlqmyiltrj")
public suspend fun calculatedAttributeName(`value`: Output) {
this.calculatedAttributeName = value
}
/**
* @param value The conditions including range, object count, and threshold for the calculated attribute.
*/
@JvmName("xvmpfqxftuqrwxxf")
public suspend fun conditions(`value`: Output) {
this.conditions = value
}
/**
* @param value The description of the calculated attribute.
*/
@JvmName("igqngnjgqrrhpkeh")
public suspend fun description(`value`: Output) {
this.description = value
}
/**
* @param value The display name of the calculated attribute.
*/
@JvmName("xucdtqpkmhjfqdxi")
public suspend fun displayName(`value`: Output) {
this.displayName = value
}
/**
* @param value The unique name of the domain.
*/
@JvmName("nkrtlvsfmdaqngxv")
public suspend fun domainName(`value`: Output) {
this.domainName = value
}
/**
* @param value The aggregation operation to perform for the calculated attribute.
*/
@JvmName("twbkqkbcgfwffjsf")
public suspend fun statistic(`value`: Output) {
this.statistic = value
}
/**
* @param value An array of key-value pairs to apply to this resource.
*/
@JvmName("fuqnogxqqougysjh")
public suspend fun tags(`value`: Output>) {
this.tags = value
}
@JvmName("pusejdsuhvbowkpj")
public suspend fun tags(vararg values: Output) {
this.tags = Output.all(values.asList())
}
/**
* @param values An array of key-value pairs to apply to this resource.
*/
@JvmName("wcypopfusyelqres")
public suspend fun tags(values: List
© 2015 - 2025 Weber Informatics LLC | Privacy Policy