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

com.pulumi.awsnative.connect.kotlin.inputs.HoursOfOperationTimeSliceArgs.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: 0.122.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.awsnative.connect.kotlin.inputs

import com.pulumi.awsnative.connect.inputs.HoursOfOperationTimeSliceArgs.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

/**
 * The start time or end time for an hours of operation.
 * @property hours The hours.
 * @property minutes The minutes.
 */
public data class HoursOfOperationTimeSliceArgs(
    public val hours: Output,
    public val minutes: Output,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.awsnative.connect.inputs.HoursOfOperationTimeSliceArgs =
        com.pulumi.awsnative.connect.inputs.HoursOfOperationTimeSliceArgs.builder()
            .hours(hours.applyValue({ args0 -> args0 }))
            .minutes(minutes.applyValue({ args0 -> args0 })).build()
}

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

    private var minutes: Output? = null

    /**
     * @param value The hours.
     */
    @JvmName("viuittnyntfrmpdq")
    public suspend fun hours(`value`: Output) {
        this.hours = value
    }

    /**
     * @param value The minutes.
     */
    @JvmName("mvnvtbkrkhrnifoi")
    public suspend fun minutes(`value`: Output) {
        this.minutes = value
    }

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

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

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




© 2015 - 2024 Weber Informatics LLC | Privacy Policy