com.pulumi.awsnative.sagemaker.kotlin.inputs.ModelCardUserContextArgs.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.awsnative.sagemaker.kotlin.inputs
import com.pulumi.awsnative.sagemaker.inputs.ModelCardUserContextArgs.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
/**
* Information about the user who created or modified an experiment, trial, trial component, lineage group, project, or model card.
* @property domainId The domain associated with the user.
* @property userProfileArn The Amazon Resource Name (ARN) of the user's profile.
* @property userProfileName The name of the user's profile.
*/
public data class ModelCardUserContextArgs(
public val domainId: Output? = null,
public val userProfileArn: Output? = null,
public val userProfileName: Output? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.awsnative.sagemaker.inputs.ModelCardUserContextArgs =
com.pulumi.awsnative.sagemaker.inputs.ModelCardUserContextArgs.builder()
.domainId(domainId?.applyValue({ args0 -> args0 }))
.userProfileArn(userProfileArn?.applyValue({ args0 -> args0 }))
.userProfileName(userProfileName?.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [ModelCardUserContextArgs].
*/
@PulumiTagMarker
public class ModelCardUserContextArgsBuilder internal constructor() {
private var domainId: Output? = null
private var userProfileArn: Output? = null
private var userProfileName: Output? = null
/**
* @param value The domain associated with the user.
*/
@JvmName("xyktdadhocuhfart")
public suspend fun domainId(`value`: Output) {
this.domainId = value
}
/**
* @param value The Amazon Resource Name (ARN) of the user's profile.
*/
@JvmName("dvgypuyxkoresbfn")
public suspend fun userProfileArn(`value`: Output) {
this.userProfileArn = value
}
/**
* @param value The name of the user's profile.
*/
@JvmName("pjnmcojuaoyraldi")
public suspend fun userProfileName(`value`: Output) {
this.userProfileName = value
}
/**
* @param value The domain associated with the user.
*/
@JvmName("qvgfmkrakbaisknd")
public suspend fun domainId(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.domainId = mapped
}
/**
* @param value The Amazon Resource Name (ARN) of the user's profile.
*/
@JvmName("nylyvhejtuswdecd")
public suspend fun userProfileArn(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.userProfileArn = mapped
}
/**
* @param value The name of the user's profile.
*/
@JvmName("fdxgcofocdwtjxpk")
public suspend fun userProfileName(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.userProfileName = mapped
}
internal fun build(): ModelCardUserContextArgs = ModelCardUserContextArgs(
domainId = domainId,
userProfileArn = userProfileArn,
userProfileName = userProfileName,
)
}