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

com.pulumi.gcp.storage.kotlin.inputs.TransferJobScheduleStartTimeOfDayArgs.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: 8.10.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.gcp.storage.kotlin.inputs

import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.gcp.storage.inputs.TransferJobScheduleStartTimeOfDayArgs.builder
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 Hours of day in 24 hour format. Should be from 0 to 23.
 * @property minutes Minutes of hour of day. Must be from 0 to 59.
 * @property nanos Fractions of seconds in nanoseconds. Must be from 0 to 999,999,999.
 * @property seconds Seconds of minutes of the time. Must normally be from 0 to 59.
 */
public data class TransferJobScheduleStartTimeOfDayArgs(
    public val hours: Output,
    public val minutes: Output,
    public val nanos: Output,
    public val seconds: Output,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.gcp.storage.inputs.TransferJobScheduleStartTimeOfDayArgs =
        com.pulumi.gcp.storage.inputs.TransferJobScheduleStartTimeOfDayArgs.builder()
            .hours(hours.applyValue({ args0 -> args0 }))
            .minutes(minutes.applyValue({ args0 -> args0 }))
            .nanos(nanos.applyValue({ args0 -> args0 }))
            .seconds(seconds.applyValue({ args0 -> args0 })).build()
}

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

    private var minutes: Output? = null

    private var nanos: Output? = null

    private var seconds: Output? = null

    /**
     * @param value Hours of day in 24 hour format. Should be from 0 to 23.
     */
    @JvmName("pteiruxfmoixlrcr")
    public suspend fun hours(`value`: Output) {
        this.hours = value
    }

    /**
     * @param value Minutes of hour of day. Must be from 0 to 59.
     */
    @JvmName("ouqfsshpranjqkpo")
    public suspend fun minutes(`value`: Output) {
        this.minutes = value
    }

    /**
     * @param value Fractions of seconds in nanoseconds. Must be from 0 to 999,999,999.
     */
    @JvmName("uwilsndhumoksqtj")
    public suspend fun nanos(`value`: Output) {
        this.nanos = value
    }

    /**
     * @param value Seconds of minutes of the time. Must normally be from 0 to 59.
     */
    @JvmName("drvqyihmjoafqlxu")
    public suspend fun seconds(`value`: Output) {
        this.seconds = value
    }

    /**
     * @param value Hours of day in 24 hour format. Should be from 0 to 23.
     */
    @JvmName("hvryyjoatndnpmrp")
    public suspend fun hours(`value`: Int) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.hours = mapped
    }

    /**
     * @param value Minutes of hour of day. Must be from 0 to 59.
     */
    @JvmName("hforykkgfpagilxd")
    public suspend fun minutes(`value`: Int) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.minutes = mapped
    }

    /**
     * @param value Fractions of seconds in nanoseconds. Must be from 0 to 999,999,999.
     */
    @JvmName("yuiyfhemljnnqkdu")
    public suspend fun nanos(`value`: Int) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.nanos = mapped
    }

    /**
     * @param value Seconds of minutes of the time. Must normally be from 0 to 59.
     */
    @JvmName("axpjdyqmymjguvol")
    public suspend fun seconds(`value`: Int) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.seconds = mapped
    }

    internal fun build(): TransferJobScheduleStartTimeOfDayArgs =
        TransferJobScheduleStartTimeOfDayArgs(
            hours = hours ?: throw PulumiNullFieldException("hours"),
            minutes = minutes ?: throw PulumiNullFieldException("minutes"),
            nanos = nanos ?: throw PulumiNullFieldException("nanos"),
            seconds = seconds ?: throw PulumiNullFieldException("seconds"),
        )
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy