com.pulumi.gcp.storage.kotlin.inputs.TransferJobScheduleScheduleStartDateArgs.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-gcp-kotlin Show documentation
Show all versions of pulumi-gcp-kotlin Show documentation
Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.
@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.TransferJobScheduleScheduleStartDateArgs.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 day Day of month. Must be from 1 to 31 and valid for the year and month.
* @property month Month of year. Must be from 1 to 12.
* @property year Year of date. Must be from 1 to 9999.
*/
public data class TransferJobScheduleScheduleStartDateArgs(
public val day: Output,
public val month: Output,
public val year: Output,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.gcp.storage.inputs.TransferJobScheduleScheduleStartDateArgs =
com.pulumi.gcp.storage.inputs.TransferJobScheduleScheduleStartDateArgs.builder()
.day(day.applyValue({ args0 -> args0 }))
.month(month.applyValue({ args0 -> args0 }))
.year(year.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [TransferJobScheduleScheduleStartDateArgs].
*/
@PulumiTagMarker
public class TransferJobScheduleScheduleStartDateArgsBuilder internal constructor() {
private var day: Output? = null
private var month: Output? = null
private var year: Output? = null
/**
* @param value Day of month. Must be from 1 to 31 and valid for the year and month.
*/
@JvmName("kfaryjkxfdqxilmi")
public suspend fun day(`value`: Output) {
this.day = value
}
/**
* @param value Month of year. Must be from 1 to 12.
*/
@JvmName("icsrnchfiwmqikgn")
public suspend fun month(`value`: Output) {
this.month = value
}
/**
* @param value Year of date. Must be from 1 to 9999.
*/
@JvmName("cdnsdcbaubpnloal")
public suspend fun year(`value`: Output) {
this.year = value
}
/**
* @param value Day of month. Must be from 1 to 31 and valid for the year and month.
*/
@JvmName("crpxpuixydgrxvqd")
public suspend fun day(`value`: Int) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.day = mapped
}
/**
* @param value Month of year. Must be from 1 to 12.
*/
@JvmName("xjrfavbpeouheoru")
public suspend fun month(`value`: Int) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.month = mapped
}
/**
* @param value Year of date. Must be from 1 to 9999.
*/
@JvmName("hjbeqkkjmyhkakcj")
public suspend fun year(`value`: Int) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.year = mapped
}
internal fun build(): TransferJobScheduleScheduleStartDateArgs =
TransferJobScheduleScheduleStartDateArgs(
day = day ?: throw PulumiNullFieldException("day"),
month = month ?: throw PulumiNullFieldException("month"),
year = year ?: throw PulumiNullFieldException("year"),
)
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy