com.pulumi.gcp.gkebackup.kotlin.inputs.BackupPlanBackupScheduleRpoConfigExclusionWindowSingleOccurrenceDateArgs.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.gkebackup.kotlin.inputs
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.gcp.gkebackup.inputs.BackupPlanBackupScheduleRpoConfigExclusionWindowSingleOccurrenceDateArgs.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.
* @property month Month of a year.
* @property year Year of the date.
*/
public data class BackupPlanBackupScheduleRpoConfigExclusionWindowSingleOccurrenceDateArgs(
public val day: Output? = null,
public val month: Output? = null,
public val year: Output? = null,
) :
ConvertibleToJava {
override fun toJava(): com.pulumi.gcp.gkebackup.inputs.BackupPlanBackupScheduleRpoConfigExclusionWindowSingleOccurrenceDateArgs =
com.pulumi.gcp.gkebackup.inputs.BackupPlanBackupScheduleRpoConfigExclusionWindowSingleOccurrenceDateArgs.builder()
.day(day?.applyValue({ args0 -> args0 }))
.month(month?.applyValue({ args0 -> args0 }))
.year(year?.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [BackupPlanBackupScheduleRpoConfigExclusionWindowSingleOccurrenceDateArgs].
*/
@PulumiTagMarker
public class BackupPlanBackupScheduleRpoConfigExclusionWindowSingleOccurrenceDateArgsBuilder
internal constructor() {
private var day: Output? = null
private var month: Output? = null
private var year: Output? = null
/**
* @param value Day of a month.
*/
@JvmName("letwajxfwsemjljp")
public suspend fun day(`value`: Output) {
this.day = value
}
/**
* @param value Month of a year.
*/
@JvmName("wnmbvhovsbsgudma")
public suspend fun month(`value`: Output) {
this.month = value
}
/**
* @param value Year of the date.
*/
@JvmName("vqjhxhnhbatgonmq")
public suspend fun year(`value`: Output) {
this.year = value
}
/**
* @param value Day of a month.
*/
@JvmName("vcdnxvpetcgfnwnv")
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.
*/
@JvmName("nnkuspckhtewxnrd")
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.
*/
@JvmName("bmoexppfccwdclmy")
public suspend fun year(`value`: Int?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.year = mapped
}
internal fun build(): BackupPlanBackupScheduleRpoConfigExclusionWindowSingleOccurrenceDateArgs =
BackupPlanBackupScheduleRpoConfigExclusionWindowSingleOccurrenceDateArgs(
day = day,
month = month,
year = year,
)
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy