
com.pulumi.awsnative.customerprofiles.kotlin.outputs.CalculatedAttributeDefinitionConditions.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.awsnative.customerprofiles.kotlin.outputs
import kotlin.Int
import kotlin.Suppress
/**
* The conditions including range, object count, and threshold for the calculated attribute.
* @property objectCount The number of profile objects used for the calculated attribute.
* @property range The relative time period over which data is included in the aggregation.
* @property threshold The threshold for the calculated attribute.
*/
public data class CalculatedAttributeDefinitionConditions(
public val objectCount: Int? = null,
public val range: CalculatedAttributeDefinitionRange? = null,
public val threshold: CalculatedAttributeDefinitionThreshold? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.awsnative.customerprofiles.outputs.CalculatedAttributeDefinitionConditions): CalculatedAttributeDefinitionConditions = CalculatedAttributeDefinitionConditions(
objectCount = javaType.objectCount().map({ args0 -> args0 }).orElse(null),
range = javaType.range().map({ args0 ->
args0.let({ args0 ->
com.pulumi.awsnative.customerprofiles.kotlin.outputs.CalculatedAttributeDefinitionRange.Companion.toKotlin(args0)
})
}).orElse(null),
threshold = javaType.threshold().map({ args0 ->
args0.let({ args0 ->
com.pulumi.awsnative.customerprofiles.kotlin.outputs.CalculatedAttributeDefinitionThreshold.Companion.toKotlin(args0)
})
}).orElse(null),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy