com.pulumi.gcp.dataproc.kotlin.outputs.ClusterClusterConfigGceClusterConfigReservationAffinity.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.String
import kotlin.Suppress
import kotlin.collections.List
/**
*
* @property consumeReservationType Corresponds to the type of reservation consumption.
* @property key Corresponds to the label key of reservation resource.
* @property values Corresponds to the label values of reservation resource.
*/
public data class ClusterClusterConfigGceClusterConfigReservationAffinity(
public val consumeReservationType: String? = null,
public val key: String? = null,
public val values: List? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.gcp.dataproc.outputs.ClusterClusterConfigGceClusterConfigReservationAffinity): ClusterClusterConfigGceClusterConfigReservationAffinity =
ClusterClusterConfigGceClusterConfigReservationAffinity(
consumeReservationType = javaType.consumeReservationType().map({ args0 -> args0 }).orElse(null),
key = javaType.key().map({ args0 -> args0 }).orElse(null),
values = javaType.values().map({ args0 -> args0 }),
)
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy