com.pulumi.gcp.dataproc.kotlin.outputs.MetastoreServiceScalingConfig.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-gcp-kotlin Show documentation
Show all versions of pulumi-gcp-kotlin Show documentation
Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.gcp.dataproc.kotlin.outputs
import kotlin.Double
import kotlin.String
import kotlin.Suppress
/**
*
* @property instanceSize Metastore instance sizes.
* Possible values are: `EXTRA_SMALL`, `SMALL`, `MEDIUM`, `LARGE`, `EXTRA_LARGE`.
* @property scalingFactor Scaling factor, in increments of 0.1 for values less than 1.0, and increments of 1.0 for values greater than 1.0.
*/
public data class MetastoreServiceScalingConfig(
public val instanceSize: String? = null,
public val scalingFactor: Double? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.gcp.dataproc.outputs.MetastoreServiceScalingConfig): MetastoreServiceScalingConfig = MetastoreServiceScalingConfig(
instanceSize = javaType.instanceSize().map({ args0 -> args0 }).orElse(null),
scalingFactor = javaType.scalingFactor().map({ args0 -> args0 }).orElse(null),
)
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy