![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.awsnative.autoscaling.kotlin.inputs.GetLifecycleHookPlainArgs.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.awsnative.autoscaling.kotlin.inputs
import com.pulumi.awsnative.autoscaling.inputs.GetLifecycleHookPlainArgs.builder
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiNullFieldException
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.String
import kotlin.Suppress
import kotlin.jvm.JvmName
/**
*
* @property autoScalingGroupName The name of the Auto Scaling group for the lifecycle hook.
* @property lifecycleHookName The name of the lifecycle hook.
*/
public data class GetLifecycleHookPlainArgs(
public val autoScalingGroupName: String,
public val lifecycleHookName: String,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.awsnative.autoscaling.inputs.GetLifecycleHookPlainArgs =
com.pulumi.awsnative.autoscaling.inputs.GetLifecycleHookPlainArgs.builder()
.autoScalingGroupName(autoScalingGroupName.let({ args0 -> args0 }))
.lifecycleHookName(lifecycleHookName.let({ args0 -> args0 })).build()
}
/**
* Builder for [GetLifecycleHookPlainArgs].
*/
@PulumiTagMarker
public class GetLifecycleHookPlainArgsBuilder internal constructor() {
private var autoScalingGroupName: String? = null
private var lifecycleHookName: String? = null
/**
* @param value The name of the Auto Scaling group for the lifecycle hook.
*/
@JvmName("pfpkhnpqhstklabo")
public suspend fun autoScalingGroupName(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> args0 })
this.autoScalingGroupName = mapped
}
/**
* @param value The name of the lifecycle hook.
*/
@JvmName("fyhdnwewntlluqnj")
public suspend fun lifecycleHookName(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> args0 })
this.lifecycleHookName = mapped
}
internal fun build(): GetLifecycleHookPlainArgs = GetLifecycleHookPlainArgs(
autoScalingGroupName = autoScalingGroupName ?: throw
PulumiNullFieldException("autoScalingGroupName"),
lifecycleHookName = lifecycleHookName ?: throw PulumiNullFieldException("lifecycleHookName"),
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy