com.pulumi.awsnative.sagemaker.kotlin.inputs.UserProfileCodeRepositoryArgs.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.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"),
)
}