
com.pulumi.googlenative.dataproc.v1.kotlin.outputs.LifecycleConfigResponse.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-google-native-kotlin Show documentation
Show all versions of pulumi-google-native-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.
The newest version!
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.googlenative.dataproc.v1.kotlin.outputs
import kotlin.String
import kotlin.Suppress
/**
* Specifies the cluster auto-delete schedule configuration.
* @property autoDeleteTime Optional. The time when cluster will be auto-deleted (see JSON representation of Timestamp (https://developers.google.com/protocol-buffers/docs/proto3#json)).
* @property autoDeleteTtl Optional. The lifetime duration of cluster. The cluster will be auto-deleted at the end of this period. Minimum value is 10 minutes; maximum value is 14 days (see JSON representation of Duration (https://developers.google.com/protocol-buffers/docs/proto3#json)).
* @property idleDeleteTtl Optional. The duration to keep the cluster alive while idling (when no jobs are running). Passing this threshold will cause the cluster to be deleted. Minimum value is 5 minutes; maximum value is 14 days (see JSON representation of Duration (https://developers.google.com/protocol-buffers/docs/proto3#json)).
* @property idleStartTime The time when cluster became idle (most recent job finished) and became eligible for deletion due to idleness (see JSON representation of Timestamp (https://developers.google.com/protocol-buffers/docs/proto3#json)).
*/
public data class LifecycleConfigResponse(
public val autoDeleteTime: String,
public val autoDeleteTtl: String,
public val idleDeleteTtl: String,
public val idleStartTime: String,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.googlenative.dataproc.v1.outputs.LifecycleConfigResponse): LifecycleConfigResponse = LifecycleConfigResponse(
autoDeleteTime = javaType.autoDeleteTime(),
autoDeleteTtl = javaType.autoDeleteTtl(),
idleDeleteTtl = javaType.idleDeleteTtl(),
idleStartTime = javaType.idleStartTime(),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy