com.pulumi.gcp.alloydb.kotlin.inputs.ClusterMaintenanceUpdatePolicyArgs.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-gcp-kotlin Show documentation
Show all versions of pulumi-gcp-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.gcp.alloydb.kotlin.inputs
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.gcp.alloydb.inputs.ClusterMaintenanceUpdatePolicyArgs.builder
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import com.pulumi.kotlin.applySuspend
import kotlin.Suppress
import kotlin.Unit
import kotlin.collections.List
import kotlin.jvm.JvmName
/**
*
* @property maintenanceWindows Preferred windows to perform maintenance. Currently limited to 1.
* Structure is documented below.
*/
public data class ClusterMaintenanceUpdatePolicyArgs(
public val maintenanceWindows: Output>? =
null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.gcp.alloydb.inputs.ClusterMaintenanceUpdatePolicyArgs =
com.pulumi.gcp.alloydb.inputs.ClusterMaintenanceUpdatePolicyArgs.builder()
.maintenanceWindows(
maintenanceWindows?.applyValue({ args0 ->
args0.map({ args0 ->
args0.let({ args0 -> args0.toJava() })
})
}),
).build()
}
/**
* Builder for [ClusterMaintenanceUpdatePolicyArgs].
*/
@PulumiTagMarker
public class ClusterMaintenanceUpdatePolicyArgsBuilder internal constructor() {
private var maintenanceWindows: Output>? =
null
/**
* @param value Preferred windows to perform maintenance. Currently limited to 1.
* Structure is documented below.
*/
@JvmName("hpyrhvbewgwsshrg")
public suspend fun maintenanceWindows(`value`: Output>) {
this.maintenanceWindows = value
}
@JvmName("gbqwwxtwfdyfbfrh")
public suspend fun maintenanceWindows(vararg values: Output) {
this.maintenanceWindows = Output.all(values.asList())
}
/**
* @param values Preferred windows to perform maintenance. Currently limited to 1.
* Structure is documented below.
*/
@JvmName("xctdmapnenusqjdm")
public suspend fun maintenanceWindows(values: List
© 2015 - 2025 Weber Informatics LLC | Privacy Policy