com.pulumi.aws.securityhub.kotlin.outputs.AutomationRuleCriteriaUpdatedAt.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.outputs
import kotlin.String
import kotlin.Suppress
/**
*
* @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 AutomationRuleCriteriaUpdatedAt(
public val dateRange: AutomationRuleCriteriaUpdatedAtDateRange? = null,
public val end: String? = null,
public val start: String? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.aws.securityhub.outputs.AutomationRuleCriteriaUpdatedAt): AutomationRuleCriteriaUpdatedAt = AutomationRuleCriteriaUpdatedAt(
dateRange = javaType.dateRange().map({ args0 ->
args0.let({ args0 ->
com.pulumi.aws.securityhub.kotlin.outputs.AutomationRuleCriteriaUpdatedAtDateRange.Companion.toKotlin(args0)
})
}).orElse(null),
end = javaType.end().map({ args0 -> args0 }).orElse(null),
start = javaType.start().map({ args0 -> args0 }).orElse(null),
)
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy