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

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

package com.pulumi.gcp.dataproc.kotlin.outputs

import kotlin.Boolean
import kotlin.Suppress

/**
 *
 * @property autoscalingEnabled Defines whether autoscaling is enabled. The default value is false.
 * @property limitConfig Represents the limit configuration of a metastore service.
 * Structure is documented below.
 */
public data class MetastoreServiceScalingConfigAutoscalingConfig(
    public val autoscalingEnabled: Boolean? = null,
    public val limitConfig: MetastoreServiceScalingConfigAutoscalingConfigLimitConfig? = null,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.gcp.dataproc.outputs.MetastoreServiceScalingConfigAutoscalingConfig): MetastoreServiceScalingConfigAutoscalingConfig =
            MetastoreServiceScalingConfigAutoscalingConfig(
                autoscalingEnabled = javaType.autoscalingEnabled().map({ args0 -> args0 }).orElse(null),
                limitConfig = javaType.limitConfig().map({ args0 ->
                    args0.let({ args0 ->
                        com.pulumi.gcp.dataproc.kotlin.outputs.MetastoreServiceScalingConfigAutoscalingConfigLimitConfig.Companion.toKotlin(args0)
                    })
                }).orElse(null),
            )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy