
com.pulumi.awsnative.sagemaker.kotlin.inputs.GetAppPlainArgs.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.GetAppPlainArgs.builder
import com.pulumi.awsnative.sagemaker.kotlin.enums.AppType
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 appName The name of the app.
* @property appType The type of app.
* @property domainId The domain ID.
* @property userProfileName The user profile name.
*/
public data class GetAppPlainArgs(
public val appName: String,
public val appType: AppType,
public val domainId: String,
public val userProfileName: String,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.awsnative.sagemaker.inputs.GetAppPlainArgs =
com.pulumi.awsnative.sagemaker.inputs.GetAppPlainArgs.builder()
.appName(appName.let({ args0 -> args0 }))
.appType(appType.let({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
.domainId(domainId.let({ args0 -> args0 }))
.userProfileName(userProfileName.let({ args0 -> args0 })).build()
}
/**
* Builder for [GetAppPlainArgs].
*/
@PulumiTagMarker
public class GetAppPlainArgsBuilder internal constructor() {
private var appName: String? = null
private var appType: AppType? = null
private var domainId: String? = null
private var userProfileName: String? = null
/**
* @param value The name of the app.
*/
@JvmName("ubhggcwgoduepkke")
public suspend fun appName(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> args0 })
this.appName = mapped
}
/**
* @param value The type of app.
*/
@JvmName("utuwobakswstaxsc")
public suspend fun appType(`value`: AppType) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> args0 })
this.appType = mapped
}
/**
* @param value The domain ID.
*/
@JvmName("yaekplabqwaqkurp")
public suspend fun domainId(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> args0 })
this.domainId = mapped
}
/**
* @param value The user profile name.
*/
@JvmName("lysfkoeqeofxhfoc")
public suspend fun userProfileName(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> args0 })
this.userProfileName = mapped
}
internal fun build(): GetAppPlainArgs = GetAppPlainArgs(
appName = appName ?: throw PulumiNullFieldException("appName"),
appType = appType ?: throw PulumiNullFieldException("appType"),
domainId = domainId ?: throw PulumiNullFieldException("domainId"),
userProfileName = userProfileName ?: throw PulumiNullFieldException("userProfileName"),
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy