![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.azurenative.dbformysql.kotlin.inputs.MaintenanceWindowArgs.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-azure-native-kotlin Show documentation
Show all versions of pulumi-azure-native-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.azurenative.dbformysql.kotlin.inputs
import com.pulumi.azurenative.dbformysql.inputs.MaintenanceWindowArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.Int
import kotlin.String
import kotlin.Suppress
import kotlin.jvm.JvmName
/**
* Maintenance window of a server.
* @property customWindow indicates whether custom window is enabled or disabled
* @property dayOfWeek day of week for maintenance window
* @property startHour start hour for maintenance window
* @property startMinute start minute for maintenance window
*/
public data class MaintenanceWindowArgs(
public val customWindow: Output? = null,
public val dayOfWeek: Output? = null,
public val startHour: Output? = null,
public val startMinute: Output? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.azurenative.dbformysql.inputs.MaintenanceWindowArgs =
com.pulumi.azurenative.dbformysql.inputs.MaintenanceWindowArgs.builder()
.customWindow(customWindow?.applyValue({ args0 -> args0 }))
.dayOfWeek(dayOfWeek?.applyValue({ args0 -> args0 }))
.startHour(startHour?.applyValue({ args0 -> args0 }))
.startMinute(startMinute?.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [MaintenanceWindowArgs].
*/
@PulumiTagMarker
public class MaintenanceWindowArgsBuilder internal constructor() {
private var customWindow: Output? = null
private var dayOfWeek: Output? = null
private var startHour: Output? = null
private var startMinute: Output? = null
/**
* @param value indicates whether custom window is enabled or disabled
*/
@JvmName("qobxpkljdwipdgni")
public suspend fun customWindow(`value`: Output) {
this.customWindow = value
}
/**
* @param value day of week for maintenance window
*/
@JvmName("xamplfiwidgjybui")
public suspend fun dayOfWeek(`value`: Output) {
this.dayOfWeek = value
}
/**
* @param value start hour for maintenance window
*/
@JvmName("jiqpsbtfibgwtasm")
public suspend fun startHour(`value`: Output) {
this.startHour = value
}
/**
* @param value start minute for maintenance window
*/
@JvmName("phtmkpgikyrasqdt")
public suspend fun startMinute(`value`: Output) {
this.startMinute = value
}
/**
* @param value indicates whether custom window is enabled or disabled
*/
@JvmName("qqtgxpwsmnwmosor")
public suspend fun customWindow(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.customWindow = mapped
}
/**
* @param value day of week for maintenance window
*/
@JvmName("umcjqdkmhtsxwbcc")
public suspend fun dayOfWeek(`value`: Int?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.dayOfWeek = mapped
}
/**
* @param value start hour for maintenance window
*/
@JvmName("bxtybxcomtlngycx")
public suspend fun startHour(`value`: Int?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.startHour = mapped
}
/**
* @param value start minute for maintenance window
*/
@JvmName("bvqlyqdwkghnoock")
public suspend fun startMinute(`value`: Int?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.startMinute = mapped
}
internal fun build(): MaintenanceWindowArgs = MaintenanceWindowArgs(
customWindow = customWindow,
dayOfWeek = dayOfWeek,
startHour = startHour,
startMinute = startMinute,
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy