![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.gcp.sql.kotlin.outputs.DatabaseInstanceSettingsMaintenanceWindow.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.sql.kotlin.outputs
import kotlin.Int
import kotlin.String
import kotlin.Suppress
/**
*
* @property day Day of week (`1-7`), starting on Monday
* @property hour Hour of day (`0-23`), ignored if `day` not set
* @property updateTrack Receive updates earlier (`canary`) or later
* (`stable`)
*/
public data class DatabaseInstanceSettingsMaintenanceWindow(
public val day: Int? = null,
public val hour: Int? = null,
public val updateTrack: String? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.gcp.sql.outputs.DatabaseInstanceSettingsMaintenanceWindow): DatabaseInstanceSettingsMaintenanceWindow = DatabaseInstanceSettingsMaintenanceWindow(
day = javaType.day().map({ args0 -> args0 }).orElse(null),
hour = javaType.hour().map({ args0 -> args0 }).orElse(null),
updateTrack = javaType.updateTrack().map({ args0 -> args0 }).orElse(null),
)
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy