com.pulumi.awsnative.quicksight.kotlin.inputs.DataSetS3SourceArgs.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-aws-native-kotlin Show documentation
Show all versions of pulumi-aws-native-kotlin Show documentation
Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.awsnative.quicksight.kotlin.inputs
import com.pulumi.awsnative.quicksight.inputs.DataSetS3SourceArgs.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 com.pulumi.kotlin.applySuspend
import kotlin.String
import kotlin.Suppress
import kotlin.Unit
import kotlin.collections.List
import kotlin.jvm.JvmName
/**
* A physical table type for an S3 data source.
* @property dataSourceArn The Amazon Resource Name (ARN) for the data source.
* @property inputColumns A physical table type for an S3 data source.
*
* For files that aren't JSON, only STRING
data types are supported in input columns.
*
* @property uploadSettings Information about the format for the S3 source file or files.
*/
public data class DataSetS3SourceArgs(
public val dataSourceArn: Output,
public val inputColumns: Output>,
public val uploadSettings: Output? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.awsnative.quicksight.inputs.DataSetS3SourceArgs =
com.pulumi.awsnative.quicksight.inputs.DataSetS3SourceArgs.builder()
.dataSourceArn(dataSourceArn.applyValue({ args0 -> args0 }))
.inputColumns(
inputColumns.applyValue({ args0 ->
args0.map({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
})
}),
)
.uploadSettings(
uploadSettings?.applyValue({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
}),
).build()
}
/**
* Builder for [DataSetS3SourceArgs].
*/
@PulumiTagMarker
public class DataSetS3SourceArgsBuilder internal constructor() {
private var dataSourceArn: Output? = null
private var inputColumns: Output>? = null
private var uploadSettings: Output? = null
/**
* @param value The Amazon Resource Name (ARN) for the data source.
*/
@JvmName("jvybjvkvwbjnkqqd")
public suspend fun dataSourceArn(`value`: Output) {
this.dataSourceArn = value
}
/**
* @param value A physical table type for an S3 data source.
*
* For files that aren't JSON, only STRING
data types are supported in input columns.
*
*/
@JvmName("bfdpupitnsngafbi")
public suspend fun inputColumns(`value`: Output>) {
this.inputColumns = value
}
@JvmName("nkqgddvsqojmjqpg")
public suspend fun inputColumns(vararg values: Output) {
this.inputColumns = Output.all(values.asList())
}
/**
* @param values A physical table type for an S3 data source.
*
* For files that aren't JSON, only STRING
data types are supported in input columns.
*
*/
@JvmName("fydpyoqnvaspmjsh")
public suspend fun inputColumns(values: List