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

com.pulumi.azurenative.datafactory.kotlin.inputs.AmazonS3LocationArgs.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.AmazonS3LocationArgs.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 dataset.
 * @property bucketName Specify the bucketName of amazon S3. 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 'AmazonS3Location'.
 * @property version Specify the version of amazon S3. Type: string (or Expression with resultType string).
 */
public data class AmazonS3LocationArgs(
    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.AmazonS3LocationArgs =
        com.pulumi.azurenative.datafactory.inputs.AmazonS3LocationArgs.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 [AmazonS3LocationArgs].
 */
@PulumiTagMarker
public class AmazonS3LocationArgsBuilder 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. Type: string (or Expression with resultType string)
     */
    @JvmName("iytsikuxpuuyvava")
    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("iqefkrlihoadolda")
    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("ogecfhmgcylgutcg")
    public suspend fun folderPath(`value`: Output) {
        this.folderPath = value
    }

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

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

    /**
     * @param value Specify the bucketName of amazon S3. Type: string (or Expression with resultType string)
     */
    @JvmName("jrmkcelyuhlqhpld")
    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("ylneoovaliaqapeb")
    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("pkkujcqmfoujypyq")
    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 'AmazonS3Location'.
     */
    @JvmName("wiruvmylaaqlkwnj")
    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. Type: string (or Expression with resultType string).
     */
    @JvmName("svpeysgimsoshqak")
    public suspend fun version(`value`: Any?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.version = mapped
    }

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




© 2015 - 2025 Weber Informatics LLC | Privacy Policy