All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.pulumi.aws.opensearch.kotlin.inputs.DomainOffPeakWindowOptionsOffPeakWindowWindowStartTimeArgs.kt Maven / Gradle / Ivy

Go to download

Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.

There is a newer version: 6.57.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.aws.opensearch.kotlin.inputs

import com.pulumi.aws.opensearch.inputs.DomainOffPeakWindowOptionsOffPeakWindowWindowStartTimeArgs.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.Suppress
import kotlin.jvm.JvmName

/**
 *
 * @property hours Starting hour of the 10-hour window for updates
 * @property minutes Starting minute of the 10-hour window for updates
 */
public data class DomainOffPeakWindowOptionsOffPeakWindowWindowStartTimeArgs(
    public val hours: Output? = null,
    public val minutes: Output? = null,
) :
    ConvertibleToJava {
    override fun toJava(): com.pulumi.aws.opensearch.inputs.DomainOffPeakWindowOptionsOffPeakWindowWindowStartTimeArgs =
        com.pulumi.aws.opensearch.inputs.DomainOffPeakWindowOptionsOffPeakWindowWindowStartTimeArgs.builder()
            .hours(hours?.applyValue({ args0 -> args0 }))
            .minutes(minutes?.applyValue({ args0 -> args0 })).build()
}

/**
 * Builder for [DomainOffPeakWindowOptionsOffPeakWindowWindowStartTimeArgs].
 */
@PulumiTagMarker
public class DomainOffPeakWindowOptionsOffPeakWindowWindowStartTimeArgsBuilder internal constructor() {
    private var hours: Output? = null

    private var minutes: Output? = null

    /**
     * @param value Starting hour of the 10-hour window for updates
     */
    @JvmName("oohtrxfksuvjaitl")
    public suspend fun hours(`value`: Output) {
        this.hours = value
    }

    /**
     * @param value Starting minute of the 10-hour window for updates
     */
    @JvmName("cnrrasypyiffsfnn")
    public suspend fun minutes(`value`: Output) {
        this.minutes = value
    }

    /**
     * @param value Starting hour of the 10-hour window for updates
     */
    @JvmName("sneurcaaemhfwbrr")
    public suspend fun hours(`value`: Int?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.hours = mapped
    }

    /**
     * @param value Starting minute of the 10-hour window for updates
     */
    @JvmName("fdhwwqqxuusdhmwf")
    public suspend fun minutes(`value`: Int?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.minutes = mapped
    }

    internal fun build(): DomainOffPeakWindowOptionsOffPeakWindowWindowStartTimeArgs =
        DomainOffPeakWindowOptionsOffPeakWindowWindowStartTimeArgs(
            hours = hours,
            minutes = minutes,
        )
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy