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

com.pulumi.aws.connect.kotlin.inputs.HoursOfOperationConfigStartTimeArgs.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.connect.kotlin.inputs

import com.pulumi.aws.connect.inputs.HoursOfOperationConfigStartTimeArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiNullFieldException
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.Int
import kotlin.Suppress
import kotlin.jvm.JvmName

/**
 *
 * @property hours Specifies the hour of opening.
 * @property minutes Specifies the minute of opening.
 */
public data class HoursOfOperationConfigStartTimeArgs(
    public val hours: Output,
    public val minutes: Output,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.aws.connect.inputs.HoursOfOperationConfigStartTimeArgs =
        com.pulumi.aws.connect.inputs.HoursOfOperationConfigStartTimeArgs.builder()
            .hours(hours.applyValue({ args0 -> args0 }))
            .minutes(minutes.applyValue({ args0 -> args0 })).build()
}

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

    private var minutes: Output? = null

    /**
     * @param value Specifies the hour of opening.
     */
    @JvmName("reoxcfjccmocxbjf")
    public suspend fun hours(`value`: Output) {
        this.hours = value
    }

    /**
     * @param value Specifies the minute of opening.
     */
    @JvmName("tntikibrctmjgpul")
    public suspend fun minutes(`value`: Output) {
        this.minutes = value
    }

    /**
     * @param value Specifies the hour of opening.
     */
    @JvmName("bbnuqyabxedbvpot")
    public suspend fun hours(`value`: Int) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.hours = mapped
    }

    /**
     * @param value Specifies the minute of opening.
     */
    @JvmName("iyxfnmxpggkebglf")
    public suspend fun minutes(`value`: Int) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.minutes = mapped
    }

    internal fun build(): HoursOfOperationConfigStartTimeArgs = HoursOfOperationConfigStartTimeArgs(
        hours = hours ?: throw PulumiNullFieldException("hours"),
        minutes = minutes ?: throw PulumiNullFieldException("minutes"),
    )
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy