![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.awsnative.ecs.kotlin.inputs.GetPrimaryTaskSetPlainArgs.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.awsnative.ecs.kotlin.inputs
import com.pulumi.awsnative.ecs.inputs.GetPrimaryTaskSetPlainArgs.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 cluster The short name or full Amazon Resource Name (ARN) of the cluster that hosts the service to create the task set in.
* @property service The short name or full Amazon Resource Name (ARN) of the service to create the task set in.
*/
public data class GetPrimaryTaskSetPlainArgs(
public val cluster: String,
public val service: String,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.awsnative.ecs.inputs.GetPrimaryTaskSetPlainArgs =
com.pulumi.awsnative.ecs.inputs.GetPrimaryTaskSetPlainArgs.builder()
.cluster(cluster.let({ args0 -> args0 }))
.service(service.let({ args0 -> args0 })).build()
}
/**
* Builder for [GetPrimaryTaskSetPlainArgs].
*/
@PulumiTagMarker
public class GetPrimaryTaskSetPlainArgsBuilder internal constructor() {
private var cluster: String? = null
private var service: String? = null
/**
* @param value The short name or full Amazon Resource Name (ARN) of the cluster that hosts the service to create the task set in.
*/
@JvmName("xwmiqgobngnfcvtm")
public suspend fun cluster(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> args0 })
this.cluster = mapped
}
/**
* @param value The short name or full Amazon Resource Name (ARN) of the service to create the task set in.
*/
@JvmName("hcnbkvuevsyocbgn")
public suspend fun service(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> args0 })
this.service = mapped
}
internal fun build(): GetPrimaryTaskSetPlainArgs = GetPrimaryTaskSetPlainArgs(
cluster = cluster ?: throw PulumiNullFieldException("cluster"),
service = service ?: throw PulumiNullFieldException("service"),
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy