com.pulumi.awsnative.deadline.kotlin.QueueFleetAssociationArgs.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.deadline.kotlin
import com.pulumi.awsnative.deadline.QueueFleetAssociationArgs.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
/**
* Definition of AWS::Deadline::QueueFleetAssociation Resource Type
* @property farmId The identifier of the farm that contains the queue and the fleet.
* @property fleetId The fleet ID.
* @property queueId The queue ID.
*/
public data class QueueFleetAssociationArgs(
public val farmId: Output? = null,
public val fleetId: Output? = null,
public val queueId: Output? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.awsnative.deadline.QueueFleetAssociationArgs =
com.pulumi.awsnative.deadline.QueueFleetAssociationArgs.builder()
.farmId(farmId?.applyValue({ args0 -> args0 }))
.fleetId(fleetId?.applyValue({ args0 -> args0 }))
.queueId(queueId?.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [QueueFleetAssociationArgs].
*/
@PulumiTagMarker
public class QueueFleetAssociationArgsBuilder internal constructor() {
private var farmId: Output? = null
private var fleetId: Output? = null
private var queueId: Output? = null
/**
* @param value The identifier of the farm that contains the queue and the fleet.
*/
@JvmName("nujxcqcyxymreagf")
public suspend fun farmId(`value`: Output) {
this.farmId = value
}
/**
* @param value The fleet ID.
*/
@JvmName("fcyucjqueyprxsdf")
public suspend fun fleetId(`value`: Output) {
this.fleetId = value
}
/**
* @param value The queue ID.
*/
@JvmName("esbatwtcvqjppiev")
public suspend fun queueId(`value`: Output) {
this.queueId = value
}
/**
* @param value The identifier of the farm that contains the queue and the fleet.
*/
@JvmName("eoinayksnncuqcak")
public suspend fun farmId(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.farmId = mapped
}
/**
* @param value The fleet ID.
*/
@JvmName("ykxgvhagktxtwogd")
public suspend fun fleetId(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.fleetId = mapped
}
/**
* @param value The queue ID.
*/
@JvmName("fjkaudwmmfpwikvp")
public suspend fun queueId(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.queueId = mapped
}
internal fun build(): QueueFleetAssociationArgs = QueueFleetAssociationArgs(
farmId = farmId,
fleetId = fleetId,
queueId = queueId,
)
}