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

com.pulumi.azurenative.iotoperations.kotlin.inputs.DataFlowEndpointFabricOneLakeArgs.kt Maven / Gradle / Ivy

@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.azurenative.iotoperations.kotlin.inputs

import com.pulumi.azurenative.iotoperations.inputs.DataFlowEndpointFabricOneLakeArgs.builder
import com.pulumi.azurenative.iotoperations.kotlin.enums.DataFlowEndpointFabricPathType
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

/**
 * Microsoft Fabric endpoint properties
 * @property batching Batching configuration.
 * @property host Host of the Microsoft Fabric in the form of https://.fabric.microsoft.com.
 * @property names Names of the workspace and lakehouse.
 * @property oneLakePathType Type of location of the data in the workspace. Can be either tables or files.
 */
public data class DataFlowEndpointFabricOneLakeArgs(
    public val batching: Output? = null,
    public val host: Output,
    public val names: Output,
    public val oneLakePathType: Output>,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.azurenative.iotoperations.inputs.DataFlowEndpointFabricOneLakeArgs =
        com.pulumi.azurenative.iotoperations.inputs.DataFlowEndpointFabricOneLakeArgs.builder()
            .batching(batching?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
            .host(host.applyValue({ args0 -> args0 }))
            .names(names.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
            .oneLakePathType(
                oneLakePathType.applyValue({ args0 ->
                    args0.transform({ args0 -> args0 }, { args0 ->
                        args0.let({ args0 -> args0.toJava() })
                    })
                }),
            ).build()
}

/**
 * Builder for [DataFlowEndpointFabricOneLakeArgs].
 */
@PulumiTagMarker
public class DataFlowEndpointFabricOneLakeArgsBuilder internal constructor() {
    private var batching: Output? = null

    private var host: Output? = null

    private var names: Output? = null

    private var oneLakePathType: Output>? = null

    /**
     * @param value Batching configuration.
     */
    @JvmName("awlhqbouoyxeplxv")
    public suspend fun batching(`value`: Output) {
        this.batching = value
    }

    /**
     * @param value Host of the Microsoft Fabric in the form of https://.fabric.microsoft.com.
     */
    @JvmName("jereaamsgljvoqlc")
    public suspend fun host(`value`: Output) {
        this.host = value
    }

    /**
     * @param value Names of the workspace and lakehouse.
     */
    @JvmName("hljglmsobmoproyx")
    public suspend fun names(`value`: Output) {
        this.names = value
    }

    /**
     * @param value Type of location of the data in the workspace. Can be either tables or files.
     */
    @JvmName("dbblucxlclrgqmab")
    public suspend fun oneLakePathType(`value`: Output>) {
        this.oneLakePathType = value
    }

    /**
     * @param value Batching configuration.
     */
    @JvmName("pumfrukgyetqtdmd")
    public suspend fun batching(`value`: BatchingConfigurationArgs?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.batching = mapped
    }

    /**
     * @param argument Batching configuration.
     */
    @JvmName("ahvkmagluwhavigl")
    public suspend fun batching(argument: suspend BatchingConfigurationArgsBuilder.() -> Unit) {
        val toBeMapped = BatchingConfigurationArgsBuilder().applySuspend { argument() }.build()
        val mapped = of(toBeMapped)
        this.batching = mapped
    }

    /**
     * @param value Host of the Microsoft Fabric in the form of https://.fabric.microsoft.com.
     */
    @JvmName("ftxwxsnldolyjklw")
    public suspend fun host(`value`: String) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.host = mapped
    }

    /**
     * @param value Names of the workspace and lakehouse.
     */
    @JvmName("uogpjuplknwtcmtg")
    public suspend fun names(`value`: DataFlowEndpointFabricOneLakeNamesArgs) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.names = mapped
    }

    /**
     * @param argument Names of the workspace and lakehouse.
     */
    @JvmName("abwgywmfpeduvexx")
    public suspend fun names(argument: suspend DataFlowEndpointFabricOneLakeNamesArgsBuilder.() -> Unit) {
        val toBeMapped = DataFlowEndpointFabricOneLakeNamesArgsBuilder().applySuspend {
            argument()
        }.build()
        val mapped = of(toBeMapped)
        this.names = mapped
    }

    /**
     * @param value Type of location of the data in the workspace. Can be either tables or files.
     */
    @JvmName("xxohqvajkanacijl")
    public suspend fun oneLakePathType(`value`: Either) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.oneLakePathType = mapped
    }

    /**
     * @param value Type of location of the data in the workspace. Can be either tables or files.
     */
    @JvmName("yrlhisacbupjgarm")
    public fun oneLakePathType(`value`: String) {
        val toBeMapped = Either.ofLeft(value)
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.oneLakePathType = mapped
    }

    /**
     * @param value Type of location of the data in the workspace. Can be either tables or files.
     */
    @JvmName("yiksqnjgdhcouqsl")
    public fun oneLakePathType(`value`: DataFlowEndpointFabricPathType) {
        val toBeMapped = Either.ofRight(value)
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.oneLakePathType = mapped
    }

    internal fun build(): DataFlowEndpointFabricOneLakeArgs = DataFlowEndpointFabricOneLakeArgs(
        batching = batching,
        host = host ?: throw PulumiNullFieldException("host"),
        names = names ?: throw PulumiNullFieldException("names"),
        oneLakePathType = oneLakePathType ?: throw PulumiNullFieldException("oneLakePathType"),
    )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy