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

com.pulumi.gcp.logging.kotlin.outputs.MetricBucketOptionsLinearBuckets.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 numFiniteBuckets Must be greater than 0.
 * @property offset Lower bound of the first bucket.
 * @property width Must be greater than 0.
 */
public data class MetricBucketOptionsLinearBuckets(
    public val numFiniteBuckets: Int,
    public val offset: Double,
    public val width: Double,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.gcp.logging.outputs.MetricBucketOptionsLinearBuckets): MetricBucketOptionsLinearBuckets = MetricBucketOptionsLinearBuckets(
            numFiniteBuckets = javaType.numFiniteBuckets(),
            offset = javaType.offset(),
            width = javaType.width(),
        )
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy