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

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

package com.pulumi.awsnative.databrew.kotlin.outputs

import com.pulumi.awsnative.databrew.kotlin.enums.JobEncryptionMode
import com.pulumi.awsnative.databrew.kotlin.enums.JobLogSubscription
import kotlin.Int
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List

/**
 *
 * @property dataCatalogOutputs One or more artifacts that represent the AWS Glue Data Catalog output from running the job.
 * @property databaseOutputs Represents a list of JDBC database output objects which defines the output destination for a DataBrew recipe job to write into.
 * @property datasetName Dataset name
 * @property encryptionKeyArn Encryption Key Arn
 * @property encryptionMode Encryption mode
 * @property jobSample Job Sample
 * @property logSubscription Log subscription
 * @property maxCapacity Max capacity
 * @property maxRetries Max retries
 * @property outputLocation Output location
 * @property outputs One or more artifacts that represent output from running the job.
 * @property profileConfiguration Profile Job configuration
 * @property projectName Project name
 * @property recipe A series of data transformation steps that the job runs.
 * @property roleArn Role arn
 * @property timeout Timeout
 * @property validationConfigurations Data quality rules configuration
 */
public data class GetJobResult(
    public val dataCatalogOutputs: List? = null,
    public val databaseOutputs: List? = null,
    public val datasetName: String? = null,
    public val encryptionKeyArn: String? = null,
    public val encryptionMode: JobEncryptionMode? = null,
    public val jobSample: JobSample? = null,
    public val logSubscription: JobLogSubscription? = null,
    public val maxCapacity: Int? = null,
    public val maxRetries: Int? = null,
    public val outputLocation: JobOutputLocation? = null,
    public val outputs: List? = null,
    public val profileConfiguration: JobProfileConfiguration? = null,
    public val projectName: String? = null,
    public val recipe: JobRecipe? = null,
    public val roleArn: String? = null,
    public val timeout: Int? = null,
    public val validationConfigurations: List? = null,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.awsnative.databrew.outputs.GetJobResult): GetJobResult = GetJobResult(
            dataCatalogOutputs = javaType.dataCatalogOutputs().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.awsnative.databrew.kotlin.outputs.JobDataCatalogOutput.Companion.toKotlin(args0)
                })
            }),
            databaseOutputs = javaType.databaseOutputs().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.awsnative.databrew.kotlin.outputs.JobDatabaseOutput.Companion.toKotlin(args0)
                })
            }),
            datasetName = javaType.datasetName().map({ args0 -> args0 }).orElse(null),
            encryptionKeyArn = javaType.encryptionKeyArn().map({ args0 -> args0 }).orElse(null),
            encryptionMode = javaType.encryptionMode().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.awsnative.databrew.kotlin.enums.JobEncryptionMode.Companion.toKotlin(args0)
                })
            }).orElse(null),
            jobSample = javaType.jobSample().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.awsnative.databrew.kotlin.outputs.JobSample.Companion.toKotlin(args0)
                })
            }).orElse(null),
            logSubscription = javaType.logSubscription().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.awsnative.databrew.kotlin.enums.JobLogSubscription.Companion.toKotlin(args0)
                })
            }).orElse(null),
            maxCapacity = javaType.maxCapacity().map({ args0 -> args0 }).orElse(null),
            maxRetries = javaType.maxRetries().map({ args0 -> args0 }).orElse(null),
            outputLocation = javaType.outputLocation().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.awsnative.databrew.kotlin.outputs.JobOutputLocation.Companion.toKotlin(args0)
                })
            }).orElse(null),
            outputs = javaType.outputs().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.awsnative.databrew.kotlin.outputs.JobOutput.Companion.toKotlin(args0)
                })
            }),
            profileConfiguration = javaType.profileConfiguration().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.awsnative.databrew.kotlin.outputs.JobProfileConfiguration.Companion.toKotlin(args0)
                })
            }).orElse(null),
            projectName = javaType.projectName().map({ args0 -> args0 }).orElse(null),
            recipe = javaType.recipe().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.awsnative.databrew.kotlin.outputs.JobRecipe.Companion.toKotlin(args0)
                })
            }).orElse(null),
            roleArn = javaType.roleArn().map({ args0 -> args0 }).orElse(null),
            timeout = javaType.timeout().map({ args0 -> args0 }).orElse(null),
            validationConfigurations = javaType.validationConfigurations().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.awsnative.databrew.kotlin.outputs.JobValidationConfiguration.Companion.toKotlin(args0)
                })
            }),
        )
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy