com.pulumi.awsnative.ec2.kotlin.inputs.SpotFleetClassicLoadBalancersConfigArgs.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-aws-native-kotlin Show documentation
Show all versions of pulumi-aws-native-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.awsnative.ec2.kotlin.inputs
import com.pulumi.awsnative.ec2.inputs.SpotFleetClassicLoadBalancersConfigArgs.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.Suppress
import kotlin.Unit
import kotlin.collections.List
import kotlin.jvm.JvmName
/**
*
* @property classicLoadBalancers One or more Classic Load Balancers.
*/
public data class SpotFleetClassicLoadBalancersConfigArgs(
public val classicLoadBalancers: Output>,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.awsnative.ec2.inputs.SpotFleetClassicLoadBalancersConfigArgs =
com.pulumi.awsnative.ec2.inputs.SpotFleetClassicLoadBalancersConfigArgs.builder()
.classicLoadBalancers(
classicLoadBalancers.applyValue({ args0 ->
args0.map({ args0 ->
args0.let({ args0 -> args0.toJava() })
})
}),
).build()
}
/**
* Builder for [SpotFleetClassicLoadBalancersConfigArgs].
*/
@PulumiTagMarker
public class SpotFleetClassicLoadBalancersConfigArgsBuilder internal constructor() {
private var classicLoadBalancers: Output>? = null
/**
* @param value One or more Classic Load Balancers.
*/
@JvmName("jaiqklffmfgapimm")
public suspend fun classicLoadBalancers(`value`: Output>) {
this.classicLoadBalancers = value
}
@JvmName("lewaedliqtnrpxnt")
public suspend fun classicLoadBalancers(vararg values: Output) {
this.classicLoadBalancers = Output.all(values.asList())
}
/**
* @param values One or more Classic Load Balancers.
*/
@JvmName("caapigvernngvwjk")
public suspend fun classicLoadBalancers(values: List