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

com.pulumi.awsnative.securityhub.kotlin.outputs.AutomationRuleDateRange.kt Maven / Gradle / Ivy

@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.awsnative.securityhub.kotlin.outputs

import com.pulumi.awsnative.securityhub.kotlin.enums.AutomationRuleDateRangeUnit
import kotlin.Double
import kotlin.Suppress

/**
 * A date range for the date filter.
 * @property unit A date range unit for the date filter.
 * @property value A date range value for the date filter.
 */
public data class AutomationRuleDateRange(
    public val unit: AutomationRuleDateRangeUnit,
    public val `value`: Double,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.awsnative.securityhub.outputs.AutomationRuleDateRange): AutomationRuleDateRange = AutomationRuleDateRange(
            unit = javaType.unit().let({ args0 ->
                com.pulumi.awsnative.securityhub.kotlin.enums.AutomationRuleDateRangeUnit.Companion.toKotlin(args0)
            }),
            `value` = javaType.`value`(),
        )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy