![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.digitalocean.kotlin.outputs.KubernetesClusterMaintenancePolicy.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-digitalocean-kotlin Show documentation
Show all versions of pulumi-digitalocean-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.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