
com.pulumi.azurenative.machinelearningservices.kotlin.inputs.DatasetCreateRequestPathArgs.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.azurenative.machinelearningservices.kotlin.inputs
import com.pulumi.azurenative.machinelearningservices.inputs.DatasetCreateRequestPathArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import com.pulumi.kotlin.applySuspend
import kotlin.String
import kotlin.Suppress
import kotlin.Unit
import kotlin.jvm.JvmName
/**
*
* @property dataPath
* @property httpUrl The Http URL.
*/
public data class DatasetCreateRequestPathArgs(
public val dataPath: Output? = null,
public val httpUrl: Output? = null,
) :
ConvertibleToJava {
override fun toJava(): com.pulumi.azurenative.machinelearningservices.inputs.DatasetCreateRequestPathArgs =
com.pulumi.azurenative.machinelearningservices.inputs.DatasetCreateRequestPathArgs.builder()
.dataPath(dataPath?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
.httpUrl(httpUrl?.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [DatasetCreateRequestPathArgs].
*/
@PulumiTagMarker
public class DatasetCreateRequestPathArgsBuilder internal constructor() {
private var dataPath: Output? = null
private var httpUrl: Output? = null
/**
* @param value
*/
@JvmName("ejuojdkyjpldmrgu")
public suspend fun dataPath(`value`: Output) {
this.dataPath = value
}
/**
* @param value The Http URL.
*/
@JvmName("yyrheqotrrligwmi")
public suspend fun httpUrl(`value`: Output) {
this.httpUrl = value
}
/**
* @param value
*/
@JvmName("jydlsokooyannghx")
public suspend fun dataPath(`value`: DatasetCreateRequestDataPathArgs?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.dataPath = mapped
}
/**
* @param argument
*/
@JvmName("edrwppyjocmfftba")
public suspend fun dataPath(argument: suspend DatasetCreateRequestDataPathArgsBuilder.() -> Unit) {
val toBeMapped = DatasetCreateRequestDataPathArgsBuilder().applySuspend { argument() }.build()
val mapped = of(toBeMapped)
this.dataPath = mapped
}
/**
* @param value The Http URL.
*/
@JvmName("qoluetkitkpgpixu")
public suspend fun httpUrl(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.httpUrl = mapped
}
internal fun build(): DatasetCreateRequestPathArgs = DatasetCreateRequestPathArgs(
dataPath = dataPath,
httpUrl = httpUrl,
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy