com.pulumi.gcp.dataproc.kotlin.inputs.ClusterClusterConfigDataprocMetricConfigMetricArgs.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.inputs
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.gcp.dataproc.inputs.ClusterClusterConfigDataprocMetricConfigMetricArgs.builder
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiNullFieldException
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List
import kotlin.jvm.JvmName
/**
*
* @property metricOverrides One or more [available OSS metrics] (https://cloud.google.com/dataproc/docs/guides/monitoring#available_oss_metrics) to collect for the metric course.
* - - -
* @property metricSource A source for the collection of Dataproc OSS metrics (see [available OSS metrics](https://cloud.google.com//dataproc/docs/guides/monitoring#available_oss_metrics)).
*/
public data class ClusterClusterConfigDataprocMetricConfigMetricArgs(
public val metricOverrides: Output>? = null,
public val metricSource: Output,
) :
ConvertibleToJava {
override fun toJava(): com.pulumi.gcp.dataproc.inputs.ClusterClusterConfigDataprocMetricConfigMetricArgs =
com.pulumi.gcp.dataproc.inputs.ClusterClusterConfigDataprocMetricConfigMetricArgs.builder()
.metricOverrides(metricOverrides?.applyValue({ args0 -> args0.map({ args0 -> args0 }) }))
.metricSource(metricSource.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [ClusterClusterConfigDataprocMetricConfigMetricArgs].
*/
@PulumiTagMarker
public class ClusterClusterConfigDataprocMetricConfigMetricArgsBuilder internal constructor() {
private var metricOverrides: Output>? = null
private var metricSource: Output? = null
/**
* @param value One or more [available OSS metrics] (https://cloud.google.com/dataproc/docs/guides/monitoring#available_oss_metrics) to collect for the metric course.
* - - -
*/
@JvmName("jkasemsnccthuxqc")
public suspend fun metricOverrides(`value`: Output>) {
this.metricOverrides = value
}
@JvmName("eachixplvoxxhjps")
public suspend fun metricOverrides(vararg values: Output) {
this.metricOverrides = Output.all(values.asList())
}
/**
* @param values One or more [available OSS metrics] (https://cloud.google.com/dataproc/docs/guides/monitoring#available_oss_metrics) to collect for the metric course.
* - - -
*/
@JvmName("qttbslmpcjbmahdd")
public suspend fun metricOverrides(values: List
© 2015 - 2024 Weber Informatics LLC | Privacy Policy