
com.pulumi.azurenative.iotoperationsmq.kotlin.inputs.DataLakeFabricStorageArgs.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.azurenative.iotoperationsmq.kotlin.inputs
import com.pulumi.azurenative.iotoperationsmq.inputs.DataLakeFabricStorageArgs.builder
import com.pulumi.azurenative.iotoperationsmq.kotlin.enums.FabricPathType
import com.pulumi.core.Either
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 com.pulumi.kotlin.applySuspend
import kotlin.String
import kotlin.Suppress
import kotlin.Unit
import kotlin.jvm.JvmName
/**
* DataLake Fabric Storage details.
* @property authentication DataLake fabric storage authentication details.
* @property endpoint DataLake fabric storage endpoint to use.
* @property fabricPath Fabric path type to use.
* @property guids Fabric one lake Guids.
* @property names Fabric one lake Names.
*/
public data class DataLakeFabricStorageArgs(
public val authentication: Output,
public val endpoint: Output,
public val fabricPath: Output>,
public val guids: Output? = null,
public val names: Output? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.azurenative.iotoperationsmq.inputs.DataLakeFabricStorageArgs =
com.pulumi.azurenative.iotoperationsmq.inputs.DataLakeFabricStorageArgs.builder()
.authentication(authentication.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
.endpoint(endpoint.applyValue({ args0 -> args0 }))
.fabricPath(
fabricPath.applyValue({ args0 ->
args0.transform({ args0 -> args0 }, { args0 ->
args0.let({ args0 -> args0.toJava() })
})
}),
)
.guids(guids?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
.names(names?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) })).build()
}
/**
* Builder for [DataLakeFabricStorageArgs].
*/
@PulumiTagMarker
public class DataLakeFabricStorageArgsBuilder internal constructor() {
private var authentication: Output? = null
private var endpoint: Output? = null
private var fabricPath: Output>? = null
private var guids: Output? = null
private var names: Output? = null
/**
* @param value DataLake fabric storage authentication details.
*/
@JvmName("dpaodsvvroeobwqn")
public suspend fun authentication(`value`: Output) {
this.authentication = value
}
/**
* @param value DataLake fabric storage endpoint to use.
*/
@JvmName("frhdjbxjywspbrws")
public suspend fun endpoint(`value`: Output) {
this.endpoint = value
}
/**
* @param value Fabric path type to use.
*/
@JvmName("eeasohbsvhwddsdk")
public suspend fun fabricPath(`value`: Output>) {
this.fabricPath = value
}
/**
* @param value Fabric one lake Guids.
*/
@JvmName("carmxtuliawaqkni")
public suspend fun guids(`value`: Output) {
this.guids = value
}
/**
* @param value Fabric one lake Names.
*/
@JvmName("jchppbyelthesosw")
public suspend fun names(`value`: Output) {
this.names = value
}
/**
* @param value DataLake fabric storage authentication details.
*/
@JvmName("gaduxwwfegdaxdnv")
public suspend fun authentication(`value`: DataLakeFabricStorageAuthenticationArgs) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.authentication = mapped
}
/**
* @param argument DataLake fabric storage authentication details.
*/
@JvmName("npfkbcognktgopbc")
public suspend fun authentication(argument: suspend DataLakeFabricStorageAuthenticationArgsBuilder.() -> Unit) {
val toBeMapped = DataLakeFabricStorageAuthenticationArgsBuilder().applySuspend {
argument()
}.build()
val mapped = of(toBeMapped)
this.authentication = mapped
}
/**
* @param value DataLake fabric storage endpoint to use.
*/
@JvmName("xmphnxwjmnjiymis")
public suspend fun endpoint(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.endpoint = mapped
}
/**
* @param value Fabric path type to use.
*/
@JvmName("hlsrimhuyiitdgjs")
public suspend fun fabricPath(`value`: Either) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.fabricPath = mapped
}
/**
* @param value Fabric path type to use.
*/
@JvmName("ongkumqyrkpmhfpw")
public fun fabricPath(`value`: String) {
val toBeMapped = Either.ofLeft(value)
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.fabricPath = mapped
}
/**
* @param value Fabric path type to use.
*/
@JvmName("xfhicynrgidqrbtx")
public fun fabricPath(`value`: FabricPathType) {
val toBeMapped = Either.ofRight(value)
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.fabricPath = mapped
}
/**
* @param value Fabric one lake Guids.
*/
@JvmName("gkrfwkyfgejyakap")
public suspend fun guids(`value`: FabricGuidsArgs?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.guids = mapped
}
/**
* @param argument Fabric one lake Guids.
*/
@JvmName("pmllykafosmwtuip")
public suspend fun guids(argument: suspend FabricGuidsArgsBuilder.() -> Unit) {
val toBeMapped = FabricGuidsArgsBuilder().applySuspend { argument() }.build()
val mapped = of(toBeMapped)
this.guids = mapped
}
/**
* @param value Fabric one lake Names.
*/
@JvmName("yvjakiepjrwwiepa")
public suspend fun names(`value`: FabricNamesArgs?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.names = mapped
}
/**
* @param argument Fabric one lake Names.
*/
@JvmName("ikvrukxyqrtsefkb")
public suspend fun names(argument: suspend FabricNamesArgsBuilder.() -> Unit) {
val toBeMapped = FabricNamesArgsBuilder().applySuspend { argument() }.build()
val mapped = of(toBeMapped)
this.names = mapped
}
internal fun build(): DataLakeFabricStorageArgs = DataLakeFabricStorageArgs(
authentication = authentication ?: throw PulumiNullFieldException("authentication"),
endpoint = endpoint ?: throw PulumiNullFieldException("endpoint"),
fabricPath = fabricPath ?: throw PulumiNullFieldException("fabricPath"),
guids = guids,
names = names,
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy