com.pulumi.awsnative.iottwinmaker.kotlin.inputs.GetWorkspacePlainArgs.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.iottwinmaker.kotlin.inputs
import com.pulumi.awsnative.iottwinmaker.inputs.GetWorkspacePlainArgs.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 workspaceId The ID of the workspace.
*/
public data class GetWorkspacePlainArgs(
public val workspaceId: String,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.awsnative.iottwinmaker.inputs.GetWorkspacePlainArgs =
com.pulumi.awsnative.iottwinmaker.inputs.GetWorkspacePlainArgs.builder()
.workspaceId(workspaceId.let({ args0 -> args0 })).build()
}
/**
* Builder for [GetWorkspacePlainArgs].
*/
@PulumiTagMarker
public class GetWorkspacePlainArgsBuilder internal constructor() {
private var workspaceId: String? = null
/**
* @param value The ID of the workspace.
*/
@JvmName("kvhckyhsimisdcgq")
public suspend fun workspaceId(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> args0 })
this.workspaceId = mapped
}
internal fun build(): GetWorkspacePlainArgs = GetWorkspacePlainArgs(
workspaceId = workspaceId ?: throw PulumiNullFieldException("workspaceId"),
)
}