com.pulumi.awsnative.sagemaker.kotlin.inputs.GetSpacePlainArgs.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.sagemaker.kotlin.inputs
import com.pulumi.awsnative.sagemaker.inputs.GetSpacePlainArgs.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 domainId The ID of the associated Domain.
* @property spaceName A name for the Space.
*/
public data class GetSpacePlainArgs(
public val domainId: String,
public val spaceName: String,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.awsnative.sagemaker.inputs.GetSpacePlainArgs =
com.pulumi.awsnative.sagemaker.inputs.GetSpacePlainArgs.builder()
.domainId(domainId.let({ args0 -> args0 }))
.spaceName(spaceName.let({ args0 -> args0 })).build()
}
/**
* Builder for [GetSpacePlainArgs].
*/
@PulumiTagMarker
public class GetSpacePlainArgsBuilder internal constructor() {
private var domainId: String? = null
private var spaceName: String? = null
/**
* @param value The ID of the associated Domain.
*/
@JvmName("lkoynkntpteppqpb")
public suspend fun domainId(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> args0 })
this.domainId = mapped
}
/**
* @param value A name for the Space.
*/
@JvmName("cnuivvsehxfkvamo")
public suspend fun spaceName(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> args0 })
this.spaceName = mapped
}
internal fun build(): GetSpacePlainArgs = GetSpacePlainArgs(
domainId = domainId ?: throw PulumiNullFieldException("domainId"),
spaceName = spaceName ?: throw PulumiNullFieldException("spaceName"),
)
}