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

com.pulumi.awsnative.opensearchservice.kotlin.outputs.DomainOffPeakWindowOptions.kt Maven / Gradle / Ivy

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

package com.pulumi.awsnative.opensearchservice.kotlin.outputs

import kotlin.Boolean
import kotlin.Suppress

/**
 *
 * @property enabled Specifies whether off-peak window settings are enabled for the domain.
 * @property offPeakWindow Off-peak window settings for the domain.
 */
public data class DomainOffPeakWindowOptions(
    public val enabled: Boolean? = null,
    public val offPeakWindow: DomainOffPeakWindow? = null,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.awsnative.opensearchservice.outputs.DomainOffPeakWindowOptions): DomainOffPeakWindowOptions = DomainOffPeakWindowOptions(
            enabled = javaType.enabled().map({ args0 -> args0 }).orElse(null),
            offPeakWindow = javaType.offPeakWindow().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.awsnative.opensearchservice.kotlin.outputs.DomainOffPeakWindow.Companion.toKotlin(args0)
                })
            }).orElse(null),
        )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy