All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.pulumi.gcp.alloydb.kotlin.outputs.ClusterMaintenanceUpdatePolicyMaintenanceWindow.kt Maven / Gradle / Ivy

Go to download

Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.

There is a newer version: 8.10.0.0
Show newest version
@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