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

com.pulumi.gcp.logging.kotlin.outputs.MetricBucketOptionsExponentialBuckets.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: 8.10.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.gcp.logging.kotlin.outputs

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

/**
 *
 * @property growthFactor Must be greater than 1.
 * @property numFiniteBuckets Must be greater than 0.
 * @property scale Must be greater than 0.
 */
public data class MetricBucketOptionsExponentialBuckets(
    public val growthFactor: Double,
    public val numFiniteBuckets: Int,
    public val scale: Double,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.gcp.logging.outputs.MetricBucketOptionsExponentialBuckets): MetricBucketOptionsExponentialBuckets = MetricBucketOptionsExponentialBuckets(
            growthFactor = javaType.growthFactor(),
            numFiniteBuckets = javaType.numFiniteBuckets(),
            scale = javaType.scale(),
        )
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy