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

com.pulumi.awsnative.personalize.kotlin.outputs.DatasetImportJob.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: 1.24.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.awsnative.personalize.kotlin.outputs

import kotlin.String
import kotlin.Suppress

/**
 * Initial DatasetImportJob for the created dataset
 * @property dataSource The Amazon S3 bucket that contains the training data to import.
 * @property datasetArn The ARN of the dataset that receives the imported data
 * @property datasetImportJobArn The ARN of the dataset import job
 * @property jobName The name for the dataset import job.
 * @property roleArn The ARN of the IAM role that has permissions to read from the Amazon S3 data source.
 */
public data class DatasetImportJob(
    public val dataSource: DatasetImportJobDataSourceProperties? = null,
    public val datasetArn: String? = null,
    public val datasetImportJobArn: String? = null,
    public val jobName: String? = null,
    public val roleArn: String? = null,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.awsnative.personalize.outputs.DatasetImportJob): DatasetImportJob = DatasetImportJob(
            dataSource = javaType.dataSource().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.awsnative.personalize.kotlin.outputs.DatasetImportJobDataSourceProperties.Companion.toKotlin(args0)
                })
            }).orElse(null),
            datasetArn = javaType.datasetArn().map({ args0 -> args0 }).orElse(null),
            datasetImportJobArn = javaType.datasetImportJobArn().map({ args0 -> args0 }).orElse(null),
            jobName = javaType.jobName().map({ args0 -> args0 }).orElse(null),
            roleArn = javaType.roleArn().map({ args0 -> args0 }).orElse(null),
        )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy