com.pulumi.gcp.container.kotlin.inputs.ClusterMaintenancePolicyRecurringWindowArgs.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.container.kotlin.inputs
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.gcp.container.inputs.ClusterMaintenancePolicyRecurringWindowArgs.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 endTime
* @property recurrence
* @property startTime
*/
public data class ClusterMaintenancePolicyRecurringWindowArgs(
public val endTime: Output,
public val recurrence: Output,
public val startTime: Output,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.gcp.container.inputs.ClusterMaintenancePolicyRecurringWindowArgs = com.pulumi.gcp.container.inputs.ClusterMaintenancePolicyRecurringWindowArgs.builder()
.endTime(endTime.applyValue({ args0 -> args0 }))
.recurrence(recurrence.applyValue({ args0 -> args0 }))
.startTime(startTime.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [ClusterMaintenancePolicyRecurringWindowArgs].
*/
@PulumiTagMarker
public class ClusterMaintenancePolicyRecurringWindowArgsBuilder internal constructor() {
private var endTime: Output? = null
private var recurrence: Output? = null
private var startTime: Output? = null
/**
* @param value
*/
@JvmName("qdxhonuxyicdoeyc")
public suspend fun endTime(`value`: Output) {
this.endTime = value
}
/**
* @param value
*/
@JvmName("apylxqrpickbjywe")
public suspend fun recurrence(`value`: Output) {
this.recurrence = value
}
/**
* @param value
*/
@JvmName("hhhqkdpwixkopyiv")
public suspend fun startTime(`value`: Output) {
this.startTime = value
}
/**
* @param value
*/
@JvmName("mvtgjpjmoiburivv")
public suspend fun endTime(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.endTime = mapped
}
/**
* @param value
*/
@JvmName("egjvbeycqjhpgbti")
public suspend fun recurrence(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.recurrence = mapped
}
/**
* @param value
*/
@JvmName("mlrjxrulhjwknhon")
public suspend fun startTime(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.startTime = mapped
}
internal fun build(): ClusterMaintenancePolicyRecurringWindowArgs =
ClusterMaintenancePolicyRecurringWindowArgs(
endTime = endTime ?: throw PulumiNullFieldException("endTime"),
recurrence = recurrence ?: throw PulumiNullFieldException("recurrence"),
startTime = startTime ?: throw PulumiNullFieldException("startTime"),
)
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy