com.pulumi.gcp.compute.kotlin.inputs.NodeGroupMaintenanceWindowArgs.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.compute.kotlin.inputs
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.gcp.compute.inputs.NodeGroupMaintenanceWindowArgs.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 startTime instances.start time of the window. This must be in UTC format that resolves to one of 00:00, 04:00, 08:00, 12:00, 16:00, or 20:00. For example, both 13:00-5 and 08:00 are valid.
*/
public data class NodeGroupMaintenanceWindowArgs(
public val startTime: Output,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.gcp.compute.inputs.NodeGroupMaintenanceWindowArgs =
com.pulumi.gcp.compute.inputs.NodeGroupMaintenanceWindowArgs.builder()
.startTime(startTime.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [NodeGroupMaintenanceWindowArgs].
*/
@PulumiTagMarker
public class NodeGroupMaintenanceWindowArgsBuilder internal constructor() {
private var startTime: Output? = null
/**
* @param value instances.start time of the window. This must be in UTC format that resolves to one of 00:00, 04:00, 08:00, 12:00, 16:00, or 20:00. For example, both 13:00-5 and 08:00 are valid.
*/
@JvmName("hbltjofbvlcnwbxo")
public suspend fun startTime(`value`: Output) {
this.startTime = value
}
/**
* @param value instances.start time of the window. This must be in UTC format that resolves to one of 00:00, 04:00, 08:00, 12:00, 16:00, or 20:00. For example, both 13:00-5 and 08:00 are valid.
*/
@JvmName("wkuphlhhxopqdfyu")
public suspend fun startTime(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.startTime = mapped
}
internal fun build(): NodeGroupMaintenanceWindowArgs = NodeGroupMaintenanceWindowArgs(
startTime = startTime ?: throw PulumiNullFieldException("startTime"),
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy