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

com.pulumi.gcp.dataproc.kotlin.outputs.GdcSparkApplicationSparkApplicationConfig.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: 8.13.1.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.gcp.dataproc.kotlin.outputs

import kotlin.String
import kotlin.Suppress
import kotlin.collections.List

/**
 *
 * @property archiveUris HCFS URIs of archives to be extracted into the working directory of each executor. Supported file types: `.jar`, `.tar`, `.tar.gz`, `.tgz`, and `.zip`.
 * @property args The arguments to pass to the driver. Do not include arguments that can be set as application properties, such as `--conf`, since a collision can occur that causes an incorrect application submission.
 * @property fileUris HCFS URIs of files to be placed in the working directory of each executor.
 * @property jarFileUris HCFS URIs of jar files to add to the classpath of the Spark driver and tasks.
 * @property mainClass The name of the driver main class. The jar file that contains the class must be in the classpath or specified in `jar_file_uris`.
 * @property mainJarFileUri The HCFS URI of the jar file that contains the main class.
 */
public data class GdcSparkApplicationSparkApplicationConfig(
    public val archiveUris: List? = null,
    public val args: List? = null,
    public val fileUris: List? = null,
    public val jarFileUris: List? = null,
    public val mainClass: String? = null,
    public val mainJarFileUri: String? = null,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.gcp.dataproc.outputs.GdcSparkApplicationSparkApplicationConfig): GdcSparkApplicationSparkApplicationConfig = GdcSparkApplicationSparkApplicationConfig(
            archiveUris = javaType.archiveUris().map({ args0 -> args0 }),
            args = javaType.args().map({ args0 -> args0 }),
            fileUris = javaType.fileUris().map({ args0 -> args0 }),
            jarFileUris = javaType.jarFileUris().map({ args0 -> args0 }),
            mainClass = javaType.mainClass().map({ args0 -> args0 }).orElse(null),
            mainJarFileUri = javaType.mainJarFileUri().map({ args0 -> args0 }).orElse(null),
        )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy