com.pulumi.gcp.edgecontainer.kotlin.inputs.ClusterMaintenancePolicyWindowRecurringWindowWindowArgs.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.edgecontainer.kotlin.inputs
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.gcp.edgecontainer.inputs.ClusterMaintenancePolicyWindowRecurringWindowWindowArgs.builder
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.String
import kotlin.Suppress
import kotlin.jvm.JvmName
/**
*
* @property endTime The time that the window ends. The end time must take place after the
* start time.
* @property startTime The time that the window first starts.
*/
public data class ClusterMaintenancePolicyWindowRecurringWindowWindowArgs(
public val endTime: Output? = null,
public val startTime: Output? = null,
) :
ConvertibleToJava {
override fun toJava(): com.pulumi.gcp.edgecontainer.inputs.ClusterMaintenancePolicyWindowRecurringWindowWindowArgs =
com.pulumi.gcp.edgecontainer.inputs.ClusterMaintenancePolicyWindowRecurringWindowWindowArgs.builder()
.endTime(endTime?.applyValue({ args0 -> args0 }))
.startTime(startTime?.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [ClusterMaintenancePolicyWindowRecurringWindowWindowArgs].
*/
@PulumiTagMarker
public class ClusterMaintenancePolicyWindowRecurringWindowWindowArgsBuilder internal constructor() {
private var endTime: Output? = null
private var startTime: Output? = null
/**
* @param value The time that the window ends. The end time must take place after the
* start time.
*/
@JvmName("vcohmhxsjrxgtqod")
public suspend fun endTime(`value`: Output) {
this.endTime = value
}
/**
* @param value The time that the window first starts.
*/
@JvmName("ssgqbcbcilveleve")
public suspend fun startTime(`value`: Output) {
this.startTime = value
}
/**
* @param value The time that the window ends. The end time must take place after the
* start time.
*/
@JvmName("aucmbqffbkwuabdt")
public suspend fun endTime(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.endTime = mapped
}
/**
* @param value The time that the window first starts.
*/
@JvmName("yhrtbbugkfplwyhv")
public suspend fun startTime(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.startTime = mapped
}
internal fun build(): ClusterMaintenancePolicyWindowRecurringWindowWindowArgs =
ClusterMaintenancePolicyWindowRecurringWindowWindowArgs(
endTime = endTime,
startTime = startTime,
)
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy