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

com.pulumi.azurenative.datafactory.kotlin.inputs.AmazonS3CompatibleLocationArgs.kt Maven / Gradle / Ivy

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

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

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

/**
 * The location of Amazon S3 Compatible dataset.
 * @property bucketName Specify the bucketName of Amazon S3 Compatible. Type: string (or Expression with resultType string)
 * @property fileName Specify the file name of dataset. Type: string (or Expression with resultType string).
 * @property folderPath Specify the folder path of dataset. Type: string (or Expression with resultType string)
 * @property type Type of dataset storage location.
 * Expected value is 'AmazonS3CompatibleLocation'.
 * @property version Specify the version of Amazon S3 Compatible. Type: string (or Expression with resultType string).
 */
public data class AmazonS3CompatibleLocationArgs(
    public val bucketName: Output? = null,
    public val fileName: Output? = null,
    public val folderPath: Output? = null,
    public val type: Output,
    public val version: Output? = null,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.azurenative.datafactory.inputs.AmazonS3CompatibleLocationArgs =
        com.pulumi.azurenative.datafactory.inputs.AmazonS3CompatibleLocationArgs.builder()
            .bucketName(bucketName?.applyValue({ args0 -> args0 }))
            .fileName(fileName?.applyValue({ args0 -> args0 }))
            .folderPath(folderPath?.applyValue({ args0 -> args0 }))
            .type(type.applyValue({ args0 -> args0 }))
            .version(version?.applyValue({ args0 -> args0 })).build()
}

/**
 * Builder for [AmazonS3CompatibleLocationArgs].
 */
@PulumiTagMarker
public class AmazonS3CompatibleLocationArgsBuilder internal constructor() {
    private var bucketName: Output? = null

    private var fileName: Output? = null

    private var folderPath: Output? = null

    private var type: Output? = null

    private var version: Output? = null

    /**
     * @param value Specify the bucketName of Amazon S3 Compatible. Type: string (or Expression with resultType string)
     */
    @JvmName("amdqmbgyxjefkkkf")
    public suspend fun bucketName(`value`: Output) {
        this.bucketName = value
    }

    /**
     * @param value Specify the file name of dataset. Type: string (or Expression with resultType string).
     */
    @JvmName("awfqadolurdadwif")
    public suspend fun fileName(`value`: Output) {
        this.fileName = value
    }

    /**
     * @param value Specify the folder path of dataset. Type: string (or Expression with resultType string)
     */
    @JvmName("muwaihonwyqqaidv")
    public suspend fun folderPath(`value`: Output) {
        this.folderPath = value
    }

    /**
     * @param value Type of dataset storage location.
     * Expected value is 'AmazonS3CompatibleLocation'.
     */
    @JvmName("xnanofvwhibtgvrt")
    public suspend fun type(`value`: Output) {
        this.type = value
    }

    /**
     * @param value Specify the version of Amazon S3 Compatible. Type: string (or Expression with resultType string).
     */
    @JvmName("fepyheeubxpdqbsd")
    public suspend fun version(`value`: Output) {
        this.version = value
    }

    /**
     * @param value Specify the bucketName of Amazon S3 Compatible. Type: string (or Expression with resultType string)
     */
    @JvmName("sgsguhysjfsmsjdt")
    public suspend fun bucketName(`value`: Any?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.bucketName = mapped
    }

    /**
     * @param value Specify the file name of dataset. Type: string (or Expression with resultType string).
     */
    @JvmName("dubmehqpadlwrkys")
    public suspend fun fileName(`value`: Any?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.fileName = mapped
    }

    /**
     * @param value Specify the folder path of dataset. Type: string (or Expression with resultType string)
     */
    @JvmName("letqiunhwsxsaoyq")
    public suspend fun folderPath(`value`: Any?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.folderPath = mapped
    }

    /**
     * @param value Type of dataset storage location.
     * Expected value is 'AmazonS3CompatibleLocation'.
     */
    @JvmName("ifljmrpbulhvwowd")
    public suspend fun type(`value`: String) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.type = mapped
    }

    /**
     * @param value Specify the version of Amazon S3 Compatible. Type: string (or Expression with resultType string).
     */
    @JvmName("stienrmmmrmfjonl")
    public suspend fun version(`value`: Any?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.version = mapped
    }

    internal fun build(): AmazonS3CompatibleLocationArgs = AmazonS3CompatibleLocationArgs(
        bucketName = bucketName,
        fileName = fileName,
        folderPath = folderPath,
        type = type ?: throw PulumiNullFieldException("type"),
        version = version,
    )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy