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

com.pulumi.awsnative.sagemaker.kotlin.inputs.UserProfileCodeRepositoryArgs.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.11.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

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

import com.pulumi.awsnative.sagemaker.inputs.UserProfileCodeRepositoryArgs.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 repositoryUrl A CodeRepository (valid URL) to be used within Jupyter's Git extension.
 */
public data class UserProfileCodeRepositoryArgs(
    public val repositoryUrl: Output,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.awsnative.sagemaker.inputs.UserProfileCodeRepositoryArgs =
        com.pulumi.awsnative.sagemaker.inputs.UserProfileCodeRepositoryArgs.builder()
            .repositoryUrl(repositoryUrl.applyValue({ args0 -> args0 })).build()
}

/**
 * Builder for [UserProfileCodeRepositoryArgs].
 */
@PulumiTagMarker
public class UserProfileCodeRepositoryArgsBuilder internal constructor() {
    private var repositoryUrl: Output? = null

    /**
     * @param value A CodeRepository (valid URL) to be used within Jupyter's Git extension.
     */
    @JvmName("xbickmsmpcoeqmdt")
    public suspend fun repositoryUrl(`value`: Output) {
        this.repositoryUrl = value
    }

    /**
     * @param value A CodeRepository (valid URL) to be used within Jupyter's Git extension.
     */
    @JvmName("rrqahqhqcrydbhaj")
    public suspend fun repositoryUrl(`value`: String) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.repositoryUrl = mapped
    }

    internal fun build(): UserProfileCodeRepositoryArgs = UserProfileCodeRepositoryArgs(
        repositoryUrl = repositoryUrl ?: throw PulumiNullFieldException("repositoryUrl"),
    )
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy