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

com.pulumi.azure.cosmosdb.kotlin.outputs.PostgresqlClusterMaintenanceWindow.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: 6.15.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.azure.cosmosdb.kotlin.outputs

import kotlin.Int
import kotlin.Suppress

/**
 *
 * @property dayOfWeek The day of week for maintenance window, where the week starts on a Sunday, i.e. Sunday = `0`, Monday = `1`. Defaults to `0`.
 * @property startHour The start hour for maintenance window. Defaults to `0`.
 * @property startMinute The start minute for maintenance window. Defaults to `0`.
 */
public data class PostgresqlClusterMaintenanceWindow(
    public val dayOfWeek: Int? = null,
    public val startHour: Int? = null,
    public val startMinute: Int? = null,
) {
    public companion object {
        public
        fun toKotlin(javaType: com.pulumi.azure.cosmosdb.outputs.PostgresqlClusterMaintenanceWindow):
            PostgresqlClusterMaintenanceWindow = PostgresqlClusterMaintenanceWindow(
            dayOfWeek = javaType.dayOfWeek().map({ args0 -> args0 }).orElse(null),
            startHour = javaType.startHour().map({ args0 -> args0 }).orElse(null),
            startMinute = javaType.startMinute().map({ args0 -> args0 }).orElse(null),
        )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy