com.pulumi.gcp.container.kotlin.outputs.ClusterMaintenancePolicyDailyMaintenanceWindow.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.container.kotlin.outputs
import kotlin.String
import kotlin.Suppress
/**
*
* @property duration Duration of the time window, automatically chosen to be
* smallest possible in the given scenario.
* Duration will be in [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) format "PTnHnMnS".
* @property startTime
*/
public data class ClusterMaintenancePolicyDailyMaintenanceWindow(
public val duration: String? = null,
public val startTime: String,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.gcp.container.outputs.ClusterMaintenancePolicyDailyMaintenanceWindow): ClusterMaintenancePolicyDailyMaintenanceWindow =
ClusterMaintenancePolicyDailyMaintenanceWindow(
duration = javaType.duration().map({ args0 -> args0 }).orElse(null),
startTime = javaType.startTime(),
)
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy