com.pulumi.gcp.dataproc.kotlin.outputs.ClusterClusterConfigLifecycleConfig.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
/**
*
* @property autoDeleteTime The time when cluster will be auto-deleted.
* A timestamp in RFC3339 UTC "Zulu" format, accurate to nanoseconds.
* Example: "2014-10-02T15:01:23.045123456Z".
* - - -
* @property idleDeleteTtl The duration to keep the cluster alive while idling
* (no jobs running). After this TTL, the cluster will be deleted. Valid range: [10m, 14d].
* @property idleStartTime Time when the cluster became idle
* (most recent job finished) and became eligible for deletion due to idleness.
*/
public data class ClusterClusterConfigLifecycleConfig(
public val autoDeleteTime: String? = null,
public val idleDeleteTtl: String? = null,
public val idleStartTime: String? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.gcp.dataproc.outputs.ClusterClusterConfigLifecycleConfig): ClusterClusterConfigLifecycleConfig = ClusterClusterConfigLifecycleConfig(
autoDeleteTime = javaType.autoDeleteTime().map({ args0 -> args0 }).orElse(null),
idleDeleteTtl = javaType.idleDeleteTtl().map({ args0 -> args0 }).orElse(null),
idleStartTime = javaType.idleStartTime().map({ args0 -> args0 }).orElse(null),
)
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy