
com.pulumi.azurenative.dataprotection.kotlin.inputs.ScheduleBasedTriggerContextArgs.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.azurenative.dataprotection.kotlin.inputs
import com.pulumi.azurenative.dataprotection.inputs.ScheduleBasedTriggerContextArgs.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 com.pulumi.kotlin.applySuspend
import kotlin.String
import kotlin.Suppress
import kotlin.Unit
import kotlin.collections.List
import kotlin.jvm.JvmName
/**
* Schedule based trigger context
* @property objectType Type of the specific object - used for deserializing
* Expected value is 'ScheduleBasedTriggerContext'.
* @property schedule Schedule for this backup
* @property taggingCriteria List of tags that can be applicable for given schedule.
*/
public data class ScheduleBasedTriggerContextArgs(
public val objectType: Output,
public val schedule: Output,
public val taggingCriteria: Output>,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.azurenative.dataprotection.inputs.ScheduleBasedTriggerContextArgs =
com.pulumi.azurenative.dataprotection.inputs.ScheduleBasedTriggerContextArgs.builder()
.objectType(objectType.applyValue({ args0 -> args0 }))
.schedule(schedule.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
.taggingCriteria(
taggingCriteria.applyValue({ args0 ->
args0.map({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
})
}),
).build()
}
/**
* Builder for [ScheduleBasedTriggerContextArgs].
*/
@PulumiTagMarker
public class ScheduleBasedTriggerContextArgsBuilder internal constructor() {
private var objectType: Output? = null
private var schedule: Output? = null
private var taggingCriteria: Output>? = null
/**
* @param value Type of the specific object - used for deserializing
* Expected value is 'ScheduleBasedTriggerContext'.
*/
@JvmName("quhtvejwgxngnwwh")
public suspend fun objectType(`value`: Output) {
this.objectType = value
}
/**
* @param value Schedule for this backup
*/
@JvmName("ijrpeqfqtmpfrbsp")
public suspend fun schedule(`value`: Output) {
this.schedule = value
}
/**
* @param value List of tags that can be applicable for given schedule.
*/
@JvmName("vrbgatrtdvropraa")
public suspend fun taggingCriteria(`value`: Output>) {
this.taggingCriteria = value
}
@JvmName("njackyxmvxajipsu")
public suspend fun taggingCriteria(vararg values: Output) {
this.taggingCriteria = Output.all(values.asList())
}
/**
* @param values List of tags that can be applicable for given schedule.
*/
@JvmName("rurwvpxpkgrslikr")
public suspend fun taggingCriteria(values: List
© 2015 - 2025 Weber Informatics LLC | Privacy Policy