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

com.pulumi.aws.ssm.kotlin.inputs.ContactsRotationRecurrenceWeeklySettingHandOffTimeArgs.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.66.3.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.aws.ssm.kotlin.inputs

import com.pulumi.aws.ssm.inputs.ContactsRotationRecurrenceWeeklySettingHandOffTimeArgs.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 ContactsRotationRecurrenceWeeklySettingHandOffTimeArgs(
    public val hourOfDay: Output,
    public val minuteOfHour: Output,
) :
    ConvertibleToJava {
    override fun toJava(): com.pulumi.aws.ssm.inputs.ContactsRotationRecurrenceWeeklySettingHandOffTimeArgs =
        com.pulumi.aws.ssm.inputs.ContactsRotationRecurrenceWeeklySettingHandOffTimeArgs.builder()
            .hourOfDay(hourOfDay.applyValue({ args0 -> args0 }))
            .minuteOfHour(minuteOfHour.applyValue({ args0 -> args0 })).build()
}

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

    private var minuteOfHour: Output? = null

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

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

    /**
     * @param value (Required) The hour of the day.
     */
    @JvmName("gbwaehyctxsmbwhi")
    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("usvqvyxaxqwmgbke")
    public suspend fun minuteOfHour(`value`: Int) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.minuteOfHour = mapped
    }

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




© 2015 - 2025 Weber Informatics LLC | Privacy Policy