
com.pulumi.gcp.dataproc.kotlin.inputs.WorkflowTemplatePlacementManagedClusterConfigInitializationActionArgs.kt Maven / Gradle / Ivy
@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 [JSON Mapping - Language Guide (proto 3)](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("svupnuhppucypghg")
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 [JSON Mapping - Language Guide (proto 3)](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("ctvqnvkxtirlthno")
public suspend fun executionTimeout(`value`: Output) {
this.executionTimeout = value
}
/**
* @param value Required. Cloud Storage URI of executable file.
*/
@JvmName("pxymmtdssbqnkvnj")
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 [JSON Mapping - Language Guide (proto 3)](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("hxxuwmkywnplxttg")
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 - 2025 Weber Informatics LLC | Privacy Policy