com.pulumi.aws.appautoscaling.kotlin.inputs.TargetSuspendedStateArgs.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.appautoscaling.kotlin.inputs
import com.pulumi.aws.appautoscaling.inputs.TargetSuspendedStateArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.Boolean
import kotlin.Suppress
import kotlin.jvm.JvmName
/**
*
* @property dynamicScalingInSuspended Whether scale in by a target tracking scaling policy or a step scaling policy is suspended. Default is `false`.
* @property dynamicScalingOutSuspended Whether scale out by a target tracking scaling policy or a step scaling policy is suspended. Default is `false`.
* @property scheduledScalingSuspended Whether scheduled scaling is suspended. Default is `false`.
*/
public data class TargetSuspendedStateArgs(
public val dynamicScalingInSuspended: Output? = null,
public val dynamicScalingOutSuspended: Output? = null,
public val scheduledScalingSuspended: Output? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.aws.appautoscaling.inputs.TargetSuspendedStateArgs =
com.pulumi.aws.appautoscaling.inputs.TargetSuspendedStateArgs.builder()
.dynamicScalingInSuspended(dynamicScalingInSuspended?.applyValue({ args0 -> args0 }))
.dynamicScalingOutSuspended(dynamicScalingOutSuspended?.applyValue({ args0 -> args0 }))
.scheduledScalingSuspended(scheduledScalingSuspended?.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [TargetSuspendedStateArgs].
*/
@PulumiTagMarker
public class TargetSuspendedStateArgsBuilder internal constructor() {
private var dynamicScalingInSuspended: Output? = null
private var dynamicScalingOutSuspended: Output? = null
private var scheduledScalingSuspended: Output? = null
/**
* @param value Whether scale in by a target tracking scaling policy or a step scaling policy is suspended. Default is `false`.
*/
@JvmName("hwwdxuxlxkctpynh")
public suspend fun dynamicScalingInSuspended(`value`: Output) {
this.dynamicScalingInSuspended = value
}
/**
* @param value Whether scale out by a target tracking scaling policy or a step scaling policy is suspended. Default is `false`.
*/
@JvmName("ksvcwuphwmbaylcs")
public suspend fun dynamicScalingOutSuspended(`value`: Output) {
this.dynamicScalingOutSuspended = value
}
/**
* @param value Whether scheduled scaling is suspended. Default is `false`.
*/
@JvmName("qijngomfkcxjvxsl")
public suspend fun scheduledScalingSuspended(`value`: Output) {
this.scheduledScalingSuspended = value
}
/**
* @param value Whether scale in by a target tracking scaling policy or a step scaling policy is suspended. Default is `false`.
*/
@JvmName("vmnqkchxfgkxuecw")
public suspend fun dynamicScalingInSuspended(`value`: Boolean?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.dynamicScalingInSuspended = mapped
}
/**
* @param value Whether scale out by a target tracking scaling policy or a step scaling policy is suspended. Default is `false`.
*/
@JvmName("qhibswddtxoxvclw")
public suspend fun dynamicScalingOutSuspended(`value`: Boolean?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.dynamicScalingOutSuspended = mapped
}
/**
* @param value Whether scheduled scaling is suspended. Default is `false`.
*/
@JvmName("whxfbdmhejgibckx")
public suspend fun scheduledScalingSuspended(`value`: Boolean?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.scheduledScalingSuspended = mapped
}
internal fun build(): TargetSuspendedStateArgs = TargetSuspendedStateArgs(
dynamicScalingInSuspended = dynamicScalingInSuspended,
dynamicScalingOutSuspended = dynamicScalingOutSuspended,
scheduledScalingSuspended = scheduledScalingSuspended,
)
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy