All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.pulumi.aws.securityhub.kotlin.outputs.AutomationRuleCriteriaLastObservedAt.kt Maven / Gradle / Ivy

Go to download

Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.

There is a newer version: 6.57.0.0
Show newest version
@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 AutomationRuleCriteriaLastObservedAt(
    public val dateRange: AutomationRuleCriteriaLastObservedAtDateRange? = null,
    public val end: String? = null,
    public val start: String? = null,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.aws.securityhub.outputs.AutomationRuleCriteriaLastObservedAt): AutomationRuleCriteriaLastObservedAt = AutomationRuleCriteriaLastObservedAt(
            dateRange = javaType.dateRange().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.aws.securityhub.kotlin.outputs.AutomationRuleCriteriaLastObservedAtDateRange.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