
com.pulumi.aws.elasticsearch.kotlin.inputs.DomainAutoTuneOptionsArgs.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.elasticsearch.kotlin.inputs
import com.pulumi.aws.elasticsearch.inputs.DomainAutoTuneOptionsArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiNullFieldException
import com.pulumi.kotlin.PulumiTagMarker
import com.pulumi.kotlin.applySuspend
import kotlin.String
import kotlin.Suppress
import kotlin.Unit
import kotlin.collections.List
import kotlin.jvm.JvmName
/**
*
* @property desiredState The Auto-Tune desired state for the domain. Valid values: `ENABLED` or `DISABLED`.
* @property maintenanceSchedules Configuration block for Auto-Tune maintenance windows. Can be specified multiple times for each maintenance window. Detailed below.
* @property rollbackOnDisable Whether to roll back to default Auto-Tune settings when disabling Auto-Tune. Valid values: `DEFAULT_ROLLBACK` or `NO_ROLLBACK`.
*/
public data class DomainAutoTuneOptionsArgs(
public val desiredState: Output,
public val maintenanceSchedules: Output>? =
null,
public val rollbackOnDisable: Output? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.aws.elasticsearch.inputs.DomainAutoTuneOptionsArgs =
com.pulumi.aws.elasticsearch.inputs.DomainAutoTuneOptionsArgs.builder()
.desiredState(desiredState.applyValue({ args0 -> args0 }))
.maintenanceSchedules(
maintenanceSchedules?.applyValue({ args0 ->
args0.map({ args0 ->
args0.let({ args0 -> args0.toJava() })
})
}),
)
.rollbackOnDisable(rollbackOnDisable?.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [DomainAutoTuneOptionsArgs].
*/
@PulumiTagMarker
public class DomainAutoTuneOptionsArgsBuilder internal constructor() {
private var desiredState: Output? = null
private var maintenanceSchedules: Output>? =
null
private var rollbackOnDisable: Output? = null
/**
* @param value The Auto-Tune desired state for the domain. Valid values: `ENABLED` or `DISABLED`.
*/
@JvmName("qlkwowumujobbgva")
public suspend fun desiredState(`value`: Output) {
this.desiredState = value
}
/**
* @param value Configuration block for Auto-Tune maintenance windows. Can be specified multiple times for each maintenance window. Detailed below.
*/
@JvmName("rlokavqfyyunjsnp")
public suspend fun maintenanceSchedules(`value`: Output>) {
this.maintenanceSchedules = value
}
@JvmName("wlodvbltsmjyjihn")
public suspend fun maintenanceSchedules(vararg values: Output) {
this.maintenanceSchedules = Output.all(values.asList())
}
/**
* @param values Configuration block for Auto-Tune maintenance windows. Can be specified multiple times for each maintenance window. Detailed below.
*/
@JvmName("twtpyfekglvnbdti")
public suspend fun maintenanceSchedules(values: List
© 2015 - 2025 Weber Informatics LLC | Privacy Policy