![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.awsnative.iot.kotlin.inputs.JobTemplateMaintenanceWindowArgs.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.awsnative.iot.kotlin.inputs
import com.pulumi.awsnative.iot.inputs.JobTemplateMaintenanceWindowArgs.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
/**
* Specifies a start time and duration for a scheduled Job.
* @property durationInMinutes Displays the duration of the next maintenance window.
* @property startTime Displays the start time of the next maintenance window.
*/
public data class JobTemplateMaintenanceWindowArgs(
public val durationInMinutes: Output? = null,
public val startTime: Output? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.awsnative.iot.inputs.JobTemplateMaintenanceWindowArgs =
com.pulumi.awsnative.iot.inputs.JobTemplateMaintenanceWindowArgs.builder()
.durationInMinutes(durationInMinutes?.applyValue({ args0 -> args0 }))
.startTime(startTime?.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [JobTemplateMaintenanceWindowArgs].
*/
@PulumiTagMarker
public class JobTemplateMaintenanceWindowArgsBuilder internal constructor() {
private var durationInMinutes: Output? = null
private var startTime: Output? = null
/**
* @param value Displays the duration of the next maintenance window.
*/
@JvmName("wrvnoyfjxjdblysj")
public suspend fun durationInMinutes(`value`: Output) {
this.durationInMinutes = value
}
/**
* @param value Displays the start time of the next maintenance window.
*/
@JvmName("ojssxfsmegwowxnu")
public suspend fun startTime(`value`: Output) {
this.startTime = value
}
/**
* @param value Displays the duration of the next maintenance window.
*/
@JvmName("avnhdhsitordsdcj")
public suspend fun durationInMinutes(`value`: Int?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.durationInMinutes = mapped
}
/**
* @param value Displays the start time of the next maintenance window.
*/
@JvmName("vkpymcmsruwmhsxa")
public suspend fun startTime(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.startTime = mapped
}
internal fun build(): JobTemplateMaintenanceWindowArgs = JobTemplateMaintenanceWindowArgs(
durationInMinutes = durationInMinutes,
startTime = startTime,
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy