All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.pulumi.awsnative.sagemaker.kotlin.inputs.SpaceOwnershipSettingsArgs.kt Maven / Gradle / Ivy

Go to download

Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.

There is a newer version: 1.24.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.awsnative.sagemaker.kotlin.inputs

import com.pulumi.awsnative.sagemaker.inputs.SpaceOwnershipSettingsArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
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 ownerUserProfileName The user profile who is the owner of the space.
 */
public data class SpaceOwnershipSettingsArgs(
    public val ownerUserProfileName: Output,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.awsnative.sagemaker.inputs.SpaceOwnershipSettingsArgs =
        com.pulumi.awsnative.sagemaker.inputs.SpaceOwnershipSettingsArgs.builder()
            .ownerUserProfileName(ownerUserProfileName.applyValue({ args0 -> args0 })).build()
}

/**
 * Builder for [SpaceOwnershipSettingsArgs].
 */
@PulumiTagMarker
public class SpaceOwnershipSettingsArgsBuilder internal constructor() {
    private var ownerUserProfileName: Output? = null

    /**
     * @param value The user profile who is the owner of the space.
     */
    @JvmName("kxtjmxpmlukjcdii")
    public suspend fun ownerUserProfileName(`value`: Output) {
        this.ownerUserProfileName = value
    }

    /**
     * @param value The user profile who is the owner of the space.
     */
    @JvmName("xawjyrsivcbyobre")
    public suspend fun ownerUserProfileName(`value`: String) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.ownerUserProfileName = mapped
    }

    internal fun build(): SpaceOwnershipSettingsArgs = SpaceOwnershipSettingsArgs(
        ownerUserProfileName = ownerUserProfileName ?: throw
            PulumiNullFieldException("ownerUserProfileName"),
    )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy