![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.digitalocean.kotlin.inputs.DatabaseClusterMaintenanceWindowArgs.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.inputs
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.digitalocean.inputs.DatabaseClusterMaintenanceWindowArgs.builder
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiNullFieldException
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.String
import kotlin.Suppress
import kotlin.jvm.JvmName
/**
*
* @property day The day of the week on which to apply maintenance updates.
* @property hour The hour in UTC at which maintenance updates will be applied in 24 hour format.
*/
public data class DatabaseClusterMaintenanceWindowArgs(
public val day: Output,
public val hour: Output,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.digitalocean.inputs.DatabaseClusterMaintenanceWindowArgs =
com.pulumi.digitalocean.inputs.DatabaseClusterMaintenanceWindowArgs.builder()
.day(day.applyValue({ args0 -> args0 }))
.hour(hour.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [DatabaseClusterMaintenanceWindowArgs].
*/
@PulumiTagMarker
public class DatabaseClusterMaintenanceWindowArgsBuilder internal constructor() {
private var day: Output? = null
private var hour: Output? = null
/**
* @param value The day of the week on which to apply maintenance updates.
*/
@JvmName("jdcaowqxlamcyyxf")
public suspend fun day(`value`: Output) {
this.day = value
}
/**
* @param value The hour in UTC at which maintenance updates will be applied in 24 hour format.
*/
@JvmName("tncgcxadqggnfbnv")
public suspend fun hour(`value`: Output) {
this.hour = value
}
/**
* @param value The day of the week on which to apply maintenance updates.
*/
@JvmName("pjyvkgopccfydqje")
public suspend fun day(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.day = mapped
}
/**
* @param value The hour in UTC at which maintenance updates will be applied in 24 hour format.
*/
@JvmName("veiyyahhcvtkpivq")
public suspend fun hour(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.hour = mapped
}
internal fun build(): DatabaseClusterMaintenanceWindowArgs = DatabaseClusterMaintenanceWindowArgs(
day = day ?: throw PulumiNullFieldException("day"),
hour = hour ?: throw PulumiNullFieldException("hour"),
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy