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

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

@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.awsnative.customerprofiles.kotlin.outputs

import com.pulumi.awsnative.customerprofiles.kotlin.enums.CalculatedAttributeDefinitionStatistic
import com.pulumi.awsnative.kotlin.outputs.Tag
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List

/**
 *
 * @property attributeDetails Mathematical expression and a list of attribute items specified in that expression.
 * @property conditions The conditions including range, object count, and threshold for the calculated attribute.
 * @property createdAt The timestamp of when the calculated attribute definition was created.
 * @property description The description of the calculated attribute.
 * @property displayName The display name of the calculated attribute.
 * @property lastUpdatedAt The timestamp of when the calculated attribute definition was most recently edited.
 * @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 GetCalculatedAttributeDefinitionResult(
    public val attributeDetails: CalculatedAttributeDefinitionAttributeDetails? = null,
    public val conditions: CalculatedAttributeDefinitionConditions? = null,
    public val createdAt: String? = null,
    public val description: String? = null,
    public val displayName: String? = null,
    public val lastUpdatedAt: String? = null,
    public val statistic: CalculatedAttributeDefinitionStatistic? = null,
    public val tags: List? = null,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.awsnative.customerprofiles.outputs.GetCalculatedAttributeDefinitionResult): GetCalculatedAttributeDefinitionResult = GetCalculatedAttributeDefinitionResult(
            attributeDetails = javaType.attributeDetails().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.awsnative.customerprofiles.kotlin.outputs.CalculatedAttributeDefinitionAttributeDetails.Companion.toKotlin(args0)
                })
            }).orElse(null),
            conditions = javaType.conditions().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.awsnative.customerprofiles.kotlin.outputs.CalculatedAttributeDefinitionConditions.Companion.toKotlin(args0)
                })
            }).orElse(null),
            createdAt = javaType.createdAt().map({ args0 -> args0 }).orElse(null),
            description = javaType.description().map({ args0 -> args0 }).orElse(null),
            displayName = javaType.displayName().map({ args0 -> args0 }).orElse(null),
            lastUpdatedAt = javaType.lastUpdatedAt().map({ args0 -> args0 }).orElse(null),
            statistic = javaType.statistic().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.awsnative.customerprofiles.kotlin.enums.CalculatedAttributeDefinitionStatistic.Companion.toKotlin(args0)
                })
            }).orElse(null),
            tags = javaType.tags().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.awsnative.kotlin.outputs.Tag.Companion.toKotlin(args0)
                })
            }),
        )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy