com.pulumi.aws.opensearch.kotlin.inputs.DomainOffPeakWindowOptionsOffPeakWindowArgs.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-aws-kotlin Show documentation
Show all versions of pulumi-aws-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.aws.opensearch.kotlin.inputs
import com.pulumi.aws.opensearch.inputs.DomainOffPeakWindowOptionsOffPeakWindowArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import com.pulumi.kotlin.applySuspend
import kotlin.Suppress
import kotlin.Unit
import kotlin.jvm.JvmName
/**
*
* @property windowStartTime 10h window for updates
*/
public data class DomainOffPeakWindowOptionsOffPeakWindowArgs(
public val windowStartTime: Output? =
null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.aws.opensearch.inputs.DomainOffPeakWindowOptionsOffPeakWindowArgs =
com.pulumi.aws.opensearch.inputs.DomainOffPeakWindowOptionsOffPeakWindowArgs.builder()
.windowStartTime(
windowStartTime?.applyValue({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
}),
).build()
}
/**
* Builder for [DomainOffPeakWindowOptionsOffPeakWindowArgs].
*/
@PulumiTagMarker
public class DomainOffPeakWindowOptionsOffPeakWindowArgsBuilder internal constructor() {
private var windowStartTime: Output? =
null
/**
* @param value 10h window for updates
*/
@JvmName("lxyqtlsisklqwfis")
public suspend fun windowStartTime(`value`: Output) {
this.windowStartTime = value
}
/**
* @param value 10h window for updates
*/
@JvmName("fbgolwabjwhhwiec")
public suspend fun windowStartTime(`value`: DomainOffPeakWindowOptionsOffPeakWindowWindowStartTimeArgs?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.windowStartTime = mapped
}
/**
* @param argument 10h window for updates
*/
@JvmName("snxsbksoycgpokvv")
public suspend fun windowStartTime(argument: suspend DomainOffPeakWindowOptionsOffPeakWindowWindowStartTimeArgsBuilder.() -> Unit) {
val toBeMapped =
DomainOffPeakWindowOptionsOffPeakWindowWindowStartTimeArgsBuilder().applySuspend {
argument()
}.build()
val mapped = of(toBeMapped)
this.windowStartTime = mapped
}
internal fun build(): DomainOffPeakWindowOptionsOffPeakWindowArgs =
DomainOffPeakWindowOptionsOffPeakWindowArgs(
windowStartTime = windowStartTime,
)
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy