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

com.pulumi.aws.quicksight.kotlin.inputs.DataSourceParametersS3ManifestFileLocationArgs.kt Maven / Gradle / Ivy

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

package com.pulumi.aws.quicksight.kotlin.inputs

import com.pulumi.aws.quicksight.inputs.DataSourceParametersS3ManifestFileLocationArgs.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.String
import kotlin.Suppress
import kotlin.jvm.JvmName

/**
 *
 * @property bucket The name of the bucket that contains the manifest file.
 * @property key The key of the manifest file within the bucket.
 */
public data class DataSourceParametersS3ManifestFileLocationArgs(
    public val bucket: Output,
    public val key: Output,
) :
    ConvertibleToJava {
    override fun toJava(): com.pulumi.aws.quicksight.inputs.DataSourceParametersS3ManifestFileLocationArgs =
        com.pulumi.aws.quicksight.inputs.DataSourceParametersS3ManifestFileLocationArgs.builder()
            .bucket(bucket.applyValue({ args0 -> args0 }))
            .key(key.applyValue({ args0 -> args0 })).build()
}

/**
 * Builder for [DataSourceParametersS3ManifestFileLocationArgs].
 */
@PulumiTagMarker
public class DataSourceParametersS3ManifestFileLocationArgsBuilder internal constructor() {
    private var bucket: Output? = null

    private var key: Output? = null

    /**
     * @param value The name of the bucket that contains the manifest file.
     */
    @JvmName("kadtuaikbwyjusuq")
    public suspend fun bucket(`value`: Output) {
        this.bucket = value
    }

    /**
     * @param value The key of the manifest file within the bucket.
     */
    @JvmName("dqwfescfmvotvoor")
    public suspend fun key(`value`: Output) {
        this.key = value
    }

    /**
     * @param value The name of the bucket that contains the manifest file.
     */
    @JvmName("brptwnakytqataqo")
    public suspend fun bucket(`value`: String) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.bucket = mapped
    }

    /**
     * @param value The key of the manifest file within the bucket.
     */
    @JvmName("qnuwgvlygxnuqaku")
    public suspend fun key(`value`: String) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.key = mapped
    }

    internal fun build(): DataSourceParametersS3ManifestFileLocationArgs =
        DataSourceParametersS3ManifestFileLocationArgs(
            bucket = bucket ?: throw PulumiNullFieldException("bucket"),
            key = key ?: throw PulumiNullFieldException("key"),
        )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy