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

com.pulumi.gcp.alloydb.kotlin.outputs.ClusterAutomatedBackupPolicyWeeklySchedule.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.12.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.gcp.alloydb.kotlin.outputs

import kotlin.String
import kotlin.Suppress
import kotlin.collections.List

/**
 *
 * @property daysOfWeeks The days of the week to perform a backup. At least one day of the week must be provided.
 * Each value may be one of: `MONDAY`, `TUESDAY`, `WEDNESDAY`, `THURSDAY`, `FRIDAY`, `SATURDAY`, `SUNDAY`.
 * @property startTimes The times during the day to start a backup. At least one start time must be provided. The start times are assumed to be in UTC and to be an exact hour (e.g., 04:00:00).
 * Structure is documented below.
 */
public data class ClusterAutomatedBackupPolicyWeeklySchedule(
    public val daysOfWeeks: List? = null,
    public val startTimes: List,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.gcp.alloydb.outputs.ClusterAutomatedBackupPolicyWeeklySchedule): ClusterAutomatedBackupPolicyWeeklySchedule = ClusterAutomatedBackupPolicyWeeklySchedule(
            daysOfWeeks = javaType.daysOfWeeks().map({ args0 -> args0 }),
            startTimes = javaType.startTimes().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.gcp.alloydb.kotlin.outputs.ClusterAutomatedBackupPolicyWeeklyScheduleStartTime.Companion.toKotlin(args0)
                })
            }),
        )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy