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

com.pulumi.digitalocean.kotlin.outputs.KubernetesClusterMaintenancePolicy.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: 4.38.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.digitalocean.kotlin.outputs

import kotlin.String
import kotlin.Suppress

/**
 *
 * @property day The day of the maintenance window policy. May be one of "monday" through "sunday", or "any" to indicate an arbitrary week day.
 * @property duration A string denoting the duration of the service window, e.g., "04:00".
 * @property startTime The start time in UTC of the maintenance window policy in 24-hour clock format / HH:MM notation (e.g., 15:00).
 */
public data class KubernetesClusterMaintenancePolicy(
    public val day: String? = null,
    public val duration: String? = null,
    public val startTime: String? = null,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.digitalocean.outputs.KubernetesClusterMaintenancePolicy): KubernetesClusterMaintenancePolicy = KubernetesClusterMaintenancePolicy(
            day = javaType.day().map({ args0 -> args0 }).orElse(null),
            duration = javaType.duration().map({ args0 -> args0 }).orElse(null),
            startTime = javaType.startTime().map({ args0 -> args0 }).orElse(null),
        )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy