com.pulumi.gcp.alloydb.kotlin.outputs.ClusterMaintenanceUpdatePolicyMaintenanceWindow.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.alloydb.kotlin.outputs
import kotlin.String
import kotlin.Suppress
/**
*
* @property day Preferred day of the week for maintenance, e.g. MONDAY, TUESDAY, etc.
* Possible values are: `MONDAY`, `TUESDAY`, `WEDNESDAY`, `THURSDAY`, `FRIDAY`, `SATURDAY`, `SUNDAY`.
* @property startTime Preferred time to start the maintenance operation on the specified day. Maintenance will start within 1 hour of this time.
* Structure is documented below.
*/
public data class ClusterMaintenanceUpdatePolicyMaintenanceWindow(
public val day: String,
public val startTime: ClusterMaintenanceUpdatePolicyMaintenanceWindowStartTime,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.gcp.alloydb.outputs.ClusterMaintenanceUpdatePolicyMaintenanceWindow): ClusterMaintenanceUpdatePolicyMaintenanceWindow =
ClusterMaintenanceUpdatePolicyMaintenanceWindow(
day = javaType.day(),
startTime = javaType.startTime().let({ args0 ->
com.pulumi.gcp.alloydb.kotlin.outputs.ClusterMaintenanceUpdatePolicyMaintenanceWindowStartTime.Companion.toKotlin(args0)
}),
)
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy