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

com.pulumi.azurenative.datafactory.kotlin.inputs.DistcpSettingsArgs.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: 2.82.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.azurenative.datafactory.kotlin.inputs

import com.pulumi.azurenative.datafactory.inputs.DistcpSettingsArgs.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.Any
import kotlin.Suppress
import kotlin.jvm.JvmName

/**
 * Distcp settings.
 * @property distcpOptions Specifies the Distcp options. Type: string (or Expression with resultType string).
 * @property resourceManagerEndpoint Specifies the Yarn ResourceManager endpoint. Type: string (or Expression with resultType string).
 * @property tempScriptPath Specifies an existing folder path which will be used to store temp Distcp command script. The script file is generated by ADF and will be removed after Copy job finished. Type: string (or Expression with resultType string).
 */
public data class DistcpSettingsArgs(
    public val distcpOptions: Output? = null,
    public val resourceManagerEndpoint: Output,
    public val tempScriptPath: Output,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.azurenative.datafactory.inputs.DistcpSettingsArgs =
        com.pulumi.azurenative.datafactory.inputs.DistcpSettingsArgs.builder()
            .distcpOptions(distcpOptions?.applyValue({ args0 -> args0 }))
            .resourceManagerEndpoint(resourceManagerEndpoint.applyValue({ args0 -> args0 }))
            .tempScriptPath(tempScriptPath.applyValue({ args0 -> args0 })).build()
}

/**
 * Builder for [DistcpSettingsArgs].
 */
@PulumiTagMarker
public class DistcpSettingsArgsBuilder internal constructor() {
    private var distcpOptions: Output? = null

    private var resourceManagerEndpoint: Output? = null

    private var tempScriptPath: Output? = null

    /**
     * @param value Specifies the Distcp options. Type: string (or Expression with resultType string).
     */
    @JvmName("arenvttfvgyjxqsy")
    public suspend fun distcpOptions(`value`: Output) {
        this.distcpOptions = value
    }

    /**
     * @param value Specifies the Yarn ResourceManager endpoint. Type: string (or Expression with resultType string).
     */
    @JvmName("bsfdyijwkbonuvdb")
    public suspend fun resourceManagerEndpoint(`value`: Output) {
        this.resourceManagerEndpoint = value
    }

    /**
     * @param value Specifies an existing folder path which will be used to store temp Distcp command script. The script file is generated by ADF and will be removed after Copy job finished. Type: string (or Expression with resultType string).
     */
    @JvmName("bjpxpgwdgsmtfrqg")
    public suspend fun tempScriptPath(`value`: Output) {
        this.tempScriptPath = value
    }

    /**
     * @param value Specifies the Distcp options. Type: string (or Expression with resultType string).
     */
    @JvmName("rvwxijmgcbrsyftu")
    public suspend fun distcpOptions(`value`: Any?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.distcpOptions = mapped
    }

    /**
     * @param value Specifies the Yarn ResourceManager endpoint. Type: string (or Expression with resultType string).
     */
    @JvmName("qnbovbtmqjbxkvtr")
    public suspend fun resourceManagerEndpoint(`value`: Any) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.resourceManagerEndpoint = mapped
    }

    /**
     * @param value Specifies an existing folder path which will be used to store temp Distcp command script. The script file is generated by ADF and will be removed after Copy job finished. Type: string (or Expression with resultType string).
     */
    @JvmName("kjjxjmgnfaryfbsk")
    public suspend fun tempScriptPath(`value`: Any) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.tempScriptPath = mapped
    }

    internal fun build(): DistcpSettingsArgs = DistcpSettingsArgs(
        distcpOptions = distcpOptions,
        resourceManagerEndpoint = resourceManagerEndpoint ?: throw
            PulumiNullFieldException("resourceManagerEndpoint"),
        tempScriptPath = tempScriptPath ?: throw PulumiNullFieldException("tempScriptPath"),
    )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy