com.pulumi.awsnative.personalize.kotlin.inputs.DatasetImportJobDataSourcePropertiesArgs.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.personalize.kotlin.inputs
import com.pulumi.awsnative.personalize.inputs.DatasetImportJobDataSourcePropertiesArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.String
import kotlin.Suppress
import kotlin.jvm.JvmName
/**
* The Amazon S3 bucket that contains the training data to import.
* @property dataLocation The path to the Amazon S3 bucket where the data that you want to upload to your dataset is stored.
*/
public data class DatasetImportJobDataSourcePropertiesArgs(
public val dataLocation: Output? = null,
) :
ConvertibleToJava {
override fun toJava(): com.pulumi.awsnative.personalize.inputs.DatasetImportJobDataSourcePropertiesArgs =
com.pulumi.awsnative.personalize.inputs.DatasetImportJobDataSourcePropertiesArgs.builder()
.dataLocation(dataLocation?.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [DatasetImportJobDataSourcePropertiesArgs].
*/
@PulumiTagMarker
public class DatasetImportJobDataSourcePropertiesArgsBuilder internal constructor() {
private var dataLocation: Output? = null
/**
* @param value The path to the Amazon S3 bucket where the data that you want to upload to your dataset is stored.
*/
@JvmName("qdwdrsyfkggjoslm")
public suspend fun dataLocation(`value`: Output) {
this.dataLocation = value
}
/**
* @param value The path to the Amazon S3 bucket where the data that you want to upload to your dataset is stored.
*/
@JvmName("gwosudutikhnjvqb")
public suspend fun dataLocation(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.dataLocation = mapped
}
internal fun build(): DatasetImportJobDataSourcePropertiesArgs =
DatasetImportJobDataSourcePropertiesArgs(
dataLocation = dataLocation,
)
}