All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.pulumi.awsnative.customerprofiles.kotlin.outputs.CalculatedAttributeDefinitionConditions.kt Maven / Gradle / Ivy

Go to download

Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.

There is a newer version: 1.24.0.0
Show newest version
@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