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

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

package com.pulumi.azure.datafactory.kotlin.inputs

import com.pulumi.azure.datafactory.inputs.DatasetBinarySftpServerLocationArgs.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.Boolean
import kotlin.String
import kotlin.Suppress
import kotlin.jvm.JvmName

/**
 *
 * @property dynamicFilenameEnabled Is the `filename` using dynamic expression, function or system variables? Defaults to `false`.
 * @property dynamicPathEnabled Is the `path` using dynamic expression, function or system variables? Defaults to `false`.
 * @property filename The filename of the file on the SFTP server.
 * @property path The folder path to the file on the SFTP server.
 */
public data class DatasetBinarySftpServerLocationArgs(
    public val dynamicFilenameEnabled: Output? = null,
    public val dynamicPathEnabled: Output? = null,
    public val filename: Output,
    public val path: Output,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.azure.datafactory.inputs.DatasetBinarySftpServerLocationArgs =
        com.pulumi.azure.datafactory.inputs.DatasetBinarySftpServerLocationArgs.builder()
            .dynamicFilenameEnabled(dynamicFilenameEnabled?.applyValue({ args0 -> args0 }))
            .dynamicPathEnabled(dynamicPathEnabled?.applyValue({ args0 -> args0 }))
            .filename(filename.applyValue({ args0 -> args0 }))
            .path(path.applyValue({ args0 -> args0 })).build()
}

/**
 * Builder for [DatasetBinarySftpServerLocationArgs].
 */
@PulumiTagMarker
public class DatasetBinarySftpServerLocationArgsBuilder internal constructor() {
    private var dynamicFilenameEnabled: Output? = null

    private var dynamicPathEnabled: Output? = null

    private var filename: Output? = null

    private var path: Output? = null

    /**
     * @param value Is the `filename` using dynamic expression, function or system variables? Defaults to `false`.
     */
    @JvmName("dsdalejfvyfsskcy")
    public suspend fun dynamicFilenameEnabled(`value`: Output) {
        this.dynamicFilenameEnabled = value
    }

    /**
     * @param value Is the `path` using dynamic expression, function or system variables? Defaults to `false`.
     */
    @JvmName("xxvlhowwhijfffij")
    public suspend fun dynamicPathEnabled(`value`: Output) {
        this.dynamicPathEnabled = value
    }

    /**
     * @param value The filename of the file on the SFTP server.
     */
    @JvmName("kdmhmlngnpuafwoy")
    public suspend fun filename(`value`: Output) {
        this.filename = value
    }

    /**
     * @param value The folder path to the file on the SFTP server.
     */
    @JvmName("ojoarxikajuqoomi")
    public suspend fun path(`value`: Output) {
        this.path = value
    }

    /**
     * @param value Is the `filename` using dynamic expression, function or system variables? Defaults to `false`.
     */
    @JvmName("uvmyyddlhbbxxdja")
    public suspend fun dynamicFilenameEnabled(`value`: Boolean?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.dynamicFilenameEnabled = mapped
    }

    /**
     * @param value Is the `path` using dynamic expression, function or system variables? Defaults to `false`.
     */
    @JvmName("rjbyffypuwhiegpk")
    public suspend fun dynamicPathEnabled(`value`: Boolean?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.dynamicPathEnabled = mapped
    }

    /**
     * @param value The filename of the file on the SFTP server.
     */
    @JvmName("dvjrrcnngqqkeurl")
    public suspend fun filename(`value`: String) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.filename = mapped
    }

    /**
     * @param value The folder path to the file on the SFTP server.
     */
    @JvmName("bdxktpdhdohrpaop")
    public suspend fun path(`value`: String) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.path = mapped
    }

    internal fun build(): DatasetBinarySftpServerLocationArgs = DatasetBinarySftpServerLocationArgs(
        dynamicFilenameEnabled = dynamicFilenameEnabled,
        dynamicPathEnabled = dynamicPathEnabled,
        filename = filename ?: throw PulumiNullFieldException("filename"),
        path = path ?: throw PulumiNullFieldException("path"),
    )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy