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

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

package com.pulumi.gcp.dataproc.kotlin.inputs

import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.gcp.dataproc.inputs.WorkflowTemplatePlacementManagedClusterConfigInitializationActionArgs.builder
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.String
import kotlin.Suppress
import kotlin.jvm.JvmName

/**
 *
 * @property executableFile Required. Cloud Storage URI of executable file.
 * @property executionTimeout Amount of time executable has to complete. Default is 10 minutes (see JSON representation of (https://developers.google.com/protocol-buffers/docs/proto3#json)). Cluster creation fails with an explanatory error message (the name of the executable that caused the error and the exceeded timeout period) if the executable is not completed at end of the timeout period.
 */
public data class WorkflowTemplatePlacementManagedClusterConfigInitializationActionArgs(
    public val executableFile: Output? = null,
    public val executionTimeout: Output? = null,
) :
    ConvertibleToJava {
    override fun toJava(): com.pulumi.gcp.dataproc.inputs.WorkflowTemplatePlacementManagedClusterConfigInitializationActionArgs =
        com.pulumi.gcp.dataproc.inputs.WorkflowTemplatePlacementManagedClusterConfigInitializationActionArgs.builder()
            .executableFile(executableFile?.applyValue({ args0 -> args0 }))
            .executionTimeout(executionTimeout?.applyValue({ args0 -> args0 })).build()
}

/**
 * Builder for [WorkflowTemplatePlacementManagedClusterConfigInitializationActionArgs].
 */
@PulumiTagMarker
public class WorkflowTemplatePlacementManagedClusterConfigInitializationActionArgsBuilder internal constructor() {
    private var executableFile: Output? = null

    private var executionTimeout: Output? = null

    /**
     * @param value Required. Cloud Storage URI of executable file.
     */
    @JvmName("onqgfdaqvhyidnjm")
    public suspend fun executableFile(`value`: Output) {
        this.executableFile = value
    }

    /**
     * @param value Amount of time executable has to complete. Default is 10 minutes (see JSON representation of (https://developers.google.com/protocol-buffers/docs/proto3#json)). Cluster creation fails with an explanatory error message (the name of the executable that caused the error and the exceeded timeout period) if the executable is not completed at end of the timeout period.
     */
    @JvmName("gxmqytriyekojnle")
    public suspend fun executionTimeout(`value`: Output) {
        this.executionTimeout = value
    }

    /**
     * @param value Required. Cloud Storage URI of executable file.
     */
    @JvmName("hrxinhexlwllbjek")
    public suspend fun executableFile(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.executableFile = mapped
    }

    /**
     * @param value Amount of time executable has to complete. Default is 10 minutes (see JSON representation of (https://developers.google.com/protocol-buffers/docs/proto3#json)). Cluster creation fails with an explanatory error message (the name of the executable that caused the error and the exceeded timeout period) if the executable is not completed at end of the timeout period.
     */
    @JvmName("llstijnhegyivgfv")
    public suspend fun executionTimeout(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.executionTimeout = mapped
    }

    internal fun build(): WorkflowTemplatePlacementManagedClusterConfigInitializationActionArgs =
        WorkflowTemplatePlacementManagedClusterConfigInitializationActionArgs(
            executableFile = executableFile,
            executionTimeout = executionTimeout,
        )
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy