com.pulumi.gcp.looker.kotlin.inputs.InstanceDenyMaintenancePeriodStartDateArgs.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.looker.kotlin.inputs
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.gcp.looker.inputs.InstanceDenyMaintenancePeriodStartDateArgs.builder
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.Int
import kotlin.Suppress
import kotlin.jvm.JvmName
/**
*
* @property day Day of a month. Must be from 1 to 31 and valid for the year and month, or 0
* to specify a year by itself or a year and month where the day isn't significant.
* @property month Month of a year. Must be from 1 to 12, or 0 to specify a year without a
* month and day.
* @property year Year of the date. Must be from 1 to 9999, or 0 to specify a date without
* a year.
*/
public data class InstanceDenyMaintenancePeriodStartDateArgs(
public val day: Output? = null,
public val month: Output? = null,
public val year: Output? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.gcp.looker.inputs.InstanceDenyMaintenancePeriodStartDateArgs =
com.pulumi.gcp.looker.inputs.InstanceDenyMaintenancePeriodStartDateArgs.builder()
.day(day?.applyValue({ args0 -> args0 }))
.month(month?.applyValue({ args0 -> args0 }))
.year(year?.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [InstanceDenyMaintenancePeriodStartDateArgs].
*/
@PulumiTagMarker
public class InstanceDenyMaintenancePeriodStartDateArgsBuilder internal constructor() {
private var day: Output? = null
private var month: Output? = null
private var year: Output? = null
/**
* @param value Day of a month. Must be from 1 to 31 and valid for the year and month, or 0
* to specify a year by itself or a year and month where the day isn't significant.
*/
@JvmName("olliidsnycfwvrud")
public suspend fun day(`value`: Output) {
this.day = value
}
/**
* @param value Month of a year. Must be from 1 to 12, or 0 to specify a year without a
* month and day.
*/
@JvmName("qjgudrlhmkwlyslh")
public suspend fun month(`value`: Output) {
this.month = value
}
/**
* @param value Year of the date. Must be from 1 to 9999, or 0 to specify a date without
* a year.
*/
@JvmName("bohcapavwnelwone")
public suspend fun year(`value`: Output) {
this.year = value
}
/**
* @param value Day of a month. Must be from 1 to 31 and valid for the year and month, or 0
* to specify a year by itself or a year and month where the day isn't significant.
*/
@JvmName("bkbsqyofswkxvtej")
public suspend fun day(`value`: Int?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.day = mapped
}
/**
* @param value Month of a year. Must be from 1 to 12, or 0 to specify a year without a
* month and day.
*/
@JvmName("frjwmcrvmkigcwuc")
public suspend fun month(`value`: Int?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.month = mapped
}
/**
* @param value Year of the date. Must be from 1 to 9999, or 0 to specify a date without
* a year.
*/
@JvmName("ufjrmgybejfqvkvs")
public suspend fun year(`value`: Int?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.year = mapped
}
internal fun build(): InstanceDenyMaintenancePeriodStartDateArgs =
InstanceDenyMaintenancePeriodStartDateArgs(
day = day,
month = month,
year = year,
)
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy