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

com.pulumi.aws.ssm.kotlin.inputs.ContactsRotationRecurrenceShiftCoverageCoverageTimeEndArgs.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.ssm.kotlin.inputs

import com.pulumi.aws.ssm.inputs.ContactsRotationRecurrenceShiftCoverageCoverageTimeEndArgs.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 hourOfDay (Required) The hour of the day.
 * @property minuteOfHour (Required) The minutes of the hour.
 */
public data class ContactsRotationRecurrenceShiftCoverageCoverageTimeEndArgs(
    public val hourOfDay: Output,
    public val minuteOfHour: Output,
) :
    ConvertibleToJava {
    override fun toJava(): com.pulumi.aws.ssm.inputs.ContactsRotationRecurrenceShiftCoverageCoverageTimeEndArgs =
        com.pulumi.aws.ssm.inputs.ContactsRotationRecurrenceShiftCoverageCoverageTimeEndArgs.builder()
            .hourOfDay(hourOfDay.applyValue({ args0 -> args0 }))
            .minuteOfHour(minuteOfHour.applyValue({ args0 -> args0 })).build()
}

/**
 * Builder for [ContactsRotationRecurrenceShiftCoverageCoverageTimeEndArgs].
 */
@PulumiTagMarker
public class ContactsRotationRecurrenceShiftCoverageCoverageTimeEndArgsBuilder internal constructor() {
    private var hourOfDay: Output? = null

    private var minuteOfHour: Output? = null

    /**
     * @param value (Required) The hour of the day.
     */
    @JvmName("bgyjceflghhwgula")
    public suspend fun hourOfDay(`value`: Output) {
        this.hourOfDay = value
    }

    /**
     * @param value (Required) The minutes of the hour.
     */
    @JvmName("ggcquwarktrxcguh")
    public suspend fun minuteOfHour(`value`: Output) {
        this.minuteOfHour = value
    }

    /**
     * @param value (Required) The hour of the day.
     */
    @JvmName("jsvobqbenxcnvthm")
    public suspend fun hourOfDay(`value`: Int) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.hourOfDay = mapped
    }

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

    internal fun build(): ContactsRotationRecurrenceShiftCoverageCoverageTimeEndArgs =
        ContactsRotationRecurrenceShiftCoverageCoverageTimeEndArgs(
            hourOfDay = hourOfDay ?: throw PulumiNullFieldException("hourOfDay"),
            minuteOfHour = minuteOfHour ?: throw PulumiNullFieldException("minuteOfHour"),
        )
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy