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

com.pulumi.googlenative.logging.v2.kotlin.outputs.ExponentialResponse.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.

The newest version!
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.googlenative.logging.v2.kotlin.outputs

import kotlin.Double
import kotlin.Int
import kotlin.Suppress

/**
 * Specifies an exponential sequence of buckets that have a width that is proportional to the value of the lower bound. Each bucket represents a constant relative uncertainty on a specific value in the bucket.There are num_finite_buckets + 2 (= N) buckets. Bucket i has the following boundaries:Upper bound (0 <= i < N-1): scale * (growth_factor ^ i).Lower bound (1 <= i < N): scale * (growth_factor ^ (i - 1)).
 * @property growthFactor Must be greater than 1.
 * @property numFiniteBuckets Must be greater than 0.
 * @property scale Must be greater than 0.
 */
public data class ExponentialResponse(
    public val growthFactor: Double,
    public val numFiniteBuckets: Int,
    public val scale: Double,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.googlenative.logging.v2.outputs.ExponentialResponse): ExponentialResponse = ExponentialResponse(
            growthFactor = javaType.growthFactor(),
            numFiniteBuckets = javaType.numFiniteBuckets(),
            scale = javaType.scale(),
        )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy