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

com.pulumi.aws.autoscaling.kotlin.inputs.GroupMixedInstancesPolicyLaunchTemplateLaunchTemplateSpecificationArgs.kt Maven / Gradle / Ivy

Go to download

Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.

There is a newer version: 6.57.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.aws.autoscaling.kotlin.inputs

import com.pulumi.aws.autoscaling.inputs.GroupMixedInstancesPolicyLaunchTemplateLaunchTemplateSpecificationArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.String
import kotlin.Suppress
import kotlin.jvm.JvmName

/**
 *
 * @property launchTemplateId ID of the launch template. Conflicts with `launch_template_name`.
 * @property launchTemplateName Name of the launch template. Conflicts with `launch_template_id`.
 * @property version
 */
public data class GroupMixedInstancesPolicyLaunchTemplateLaunchTemplateSpecificationArgs(
    public val launchTemplateId: Output? = null,
    public val launchTemplateName: Output? = null,
    public val version: Output? = null,
) :
    ConvertibleToJava {
    override fun toJava(): com.pulumi.aws.autoscaling.inputs.GroupMixedInstancesPolicyLaunchTemplateLaunchTemplateSpecificationArgs =
        com.pulumi.aws.autoscaling.inputs.GroupMixedInstancesPolicyLaunchTemplateLaunchTemplateSpecificationArgs.builder()
            .launchTemplateId(launchTemplateId?.applyValue({ args0 -> args0 }))
            .launchTemplateName(launchTemplateName?.applyValue({ args0 -> args0 }))
            .version(version?.applyValue({ args0 -> args0 })).build()
}

/**
 * Builder for [GroupMixedInstancesPolicyLaunchTemplateLaunchTemplateSpecificationArgs].
 */
@PulumiTagMarker
public class GroupMixedInstancesPolicyLaunchTemplateLaunchTemplateSpecificationArgsBuilder internal constructor() {
    private var launchTemplateId: Output? = null

    private var launchTemplateName: Output? = null

    private var version: Output? = null

    /**
     * @param value ID of the launch template. Conflicts with `launch_template_name`.
     */
    @JvmName("bjxhhvttwjdhnqaj")
    public suspend fun launchTemplateId(`value`: Output) {
        this.launchTemplateId = value
    }

    /**
     * @param value Name of the launch template. Conflicts with `launch_template_id`.
     */
    @JvmName("kfgixaqtfkklwrab")
    public suspend fun launchTemplateName(`value`: Output) {
        this.launchTemplateName = value
    }

    /**
     * @param value
     */
    @JvmName("pypjkjurwkqrxflf")
    public suspend fun version(`value`: Output) {
        this.version = value
    }

    /**
     * @param value ID of the launch template. Conflicts with `launch_template_name`.
     */
    @JvmName("oiwueecejplspmql")
    public suspend fun launchTemplateId(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.launchTemplateId = mapped
    }

    /**
     * @param value Name of the launch template. Conflicts with `launch_template_id`.
     */
    @JvmName("gqhuqorltnhqaetj")
    public suspend fun launchTemplateName(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.launchTemplateName = mapped
    }

    /**
     * @param value
     */
    @JvmName("wwquulfvhkneqatn")
    public suspend fun version(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.version = mapped
    }

    internal fun build(): GroupMixedInstancesPolicyLaunchTemplateLaunchTemplateSpecificationArgs =
        GroupMixedInstancesPolicyLaunchTemplateLaunchTemplateSpecificationArgs(
            launchTemplateId = launchTemplateId,
            launchTemplateName = launchTemplateName,
            version = version,
        )
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy