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

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

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

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

import kotlin.Double
import kotlin.Suppress

/**
 * Usage-specific statistics about the domain.
 * @property meteringProfileCount The number of profiles that you are currently paying for in the domain. If you have more than 100 objects associated with a single profile, that profile counts as two profiles. If you have more than 200 objects, that profile counts as three, and so on.
 * @property objectCount The total number of objects in domain.
 * @property profileCount The total number of profiles currently in the domain.
 * @property totalSize The total size, in bytes, of all objects in the domain.
 */
public data class DomainStats(
    public val meteringProfileCount: Double? = null,
    public val objectCount: Double? = null,
    public val profileCount: Double? = null,
    public val totalSize: Double? = null,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.awsnative.customerprofiles.outputs.DomainStats): DomainStats = DomainStats(
            meteringProfileCount = javaType.meteringProfileCount().map({ args0 -> args0 }).orElse(null),
            objectCount = javaType.objectCount().map({ args0 -> args0 }).orElse(null),
            profileCount = javaType.profileCount().map({ args0 -> args0 }).orElse(null),
            totalSize = javaType.totalSize().map({ args0 -> args0 }).orElse(null),
        )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy