com.pulumi.aws.securityhub.kotlin.inputs.AutomationRuleCriteriaUpdatedAtArgs.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-aws-kotlin Show documentation
Show all versions of pulumi-aws-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.aws.securityhub.kotlin.inputs
import com.pulumi.aws.securityhub.inputs.AutomationRuleCriteriaUpdatedAtArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import com.pulumi.kotlin.applySuspend
import kotlin.String
import kotlin.Suppress
import kotlin.Unit
import kotlin.jvm.JvmName
/**
*
* @property dateRange A configuration block of the date range for the date filter. See date_range below for more details.
* @property end An end date for the date filter. Required with `start` if `date_range` is not specified.
* @property start A start date for the date filter. Required with `end` if `date_range` is not specified.
*/
public data class AutomationRuleCriteriaUpdatedAtArgs(
public val dateRange: Output? = null,
public val end: Output? = null,
public val start: Output? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.aws.securityhub.inputs.AutomationRuleCriteriaUpdatedAtArgs =
com.pulumi.aws.securityhub.inputs.AutomationRuleCriteriaUpdatedAtArgs.builder()
.dateRange(dateRange?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
.end(end?.applyValue({ args0 -> args0 }))
.start(start?.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [AutomationRuleCriteriaUpdatedAtArgs].
*/
@PulumiTagMarker
public class AutomationRuleCriteriaUpdatedAtArgsBuilder internal constructor() {
private var dateRange: Output? = null
private var end: Output? = null
private var start: Output? = null
/**
* @param value A configuration block of the date range for the date filter. See date_range below for more details.
*/
@JvmName("fkmyblmluwefpwbu")
public suspend fun dateRange(`value`: Output) {
this.dateRange = value
}
/**
* @param value An end date for the date filter. Required with `start` if `date_range` is not specified.
*/
@JvmName("urdlxmaqufkpldtk")
public suspend fun end(`value`: Output) {
this.end = value
}
/**
* @param value A start date for the date filter. Required with `end` if `date_range` is not specified.
*/
@JvmName("cevoviquyxmlkjoy")
public suspend fun start(`value`: Output) {
this.start = value
}
/**
* @param value A configuration block of the date range for the date filter. See date_range below for more details.
*/
@JvmName("tunsfocfyxomyybr")
public suspend fun dateRange(`value`: AutomationRuleCriteriaUpdatedAtDateRangeArgs?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.dateRange = mapped
}
/**
* @param argument A configuration block of the date range for the date filter. See date_range below for more details.
*/
@JvmName("fctgbrunybpadugv")
public suspend fun dateRange(argument: suspend AutomationRuleCriteriaUpdatedAtDateRangeArgsBuilder.() -> Unit) {
val toBeMapped = AutomationRuleCriteriaUpdatedAtDateRangeArgsBuilder().applySuspend {
argument()
}.build()
val mapped = of(toBeMapped)
this.dateRange = mapped
}
/**
* @param value An end date for the date filter. Required with `start` if `date_range` is not specified.
*/
@JvmName("ragokgortuqbtdro")
public suspend fun end(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.end = mapped
}
/**
* @param value A start date for the date filter. Required with `end` if `date_range` is not specified.
*/
@JvmName("xwkuklwkdcinfsbd")
public suspend fun start(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.start = mapped
}
internal fun build(): AutomationRuleCriteriaUpdatedAtArgs = AutomationRuleCriteriaUpdatedAtArgs(
dateRange = dateRange,
end = end,
start = start,
)
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy