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

com.pulumi.gcp.dataplex.kotlin.inputs.TaskNotebookInfrastructureSpecBatchArgs.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.dataplex.kotlin.inputs

import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.gcp.dataplex.inputs.TaskNotebookInfrastructureSpecBatchArgs.builder
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.Int
import kotlin.Suppress
import kotlin.jvm.JvmName

/**
 *
 * @property executorsCount Total number of job executors. Executor Count should be between 2 and 100. [Default=2]
 * @property maxExecutorsCount Max configurable executors. If maxExecutorsCount > executorsCount, then auto-scaling is enabled. Max Executor Count should be between 2 and 1000. [Default=1000]
 */
public data class TaskNotebookInfrastructureSpecBatchArgs(
    public val executorsCount: Output? = null,
    public val maxExecutorsCount: Output? = null,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.gcp.dataplex.inputs.TaskNotebookInfrastructureSpecBatchArgs =
        com.pulumi.gcp.dataplex.inputs.TaskNotebookInfrastructureSpecBatchArgs.builder()
            .executorsCount(executorsCount?.applyValue({ args0 -> args0 }))
            .maxExecutorsCount(maxExecutorsCount?.applyValue({ args0 -> args0 })).build()
}

/**
 * Builder for [TaskNotebookInfrastructureSpecBatchArgs].
 */
@PulumiTagMarker
public class TaskNotebookInfrastructureSpecBatchArgsBuilder internal constructor() {
    private var executorsCount: Output? = null

    private var maxExecutorsCount: Output? = null

    /**
     * @param value Total number of job executors. Executor Count should be between 2 and 100. [Default=2]
     */
    @JvmName("tldqikwdbvtvboth")
    public suspend fun executorsCount(`value`: Output) {
        this.executorsCount = value
    }

    /**
     * @param value Max configurable executors. If maxExecutorsCount > executorsCount, then auto-scaling is enabled. Max Executor Count should be between 2 and 1000. [Default=1000]
     */
    @JvmName("wfspgdntoacohbou")
    public suspend fun maxExecutorsCount(`value`: Output) {
        this.maxExecutorsCount = value
    }

    /**
     * @param value Total number of job executors. Executor Count should be between 2 and 100. [Default=2]
     */
    @JvmName("gtrmhmavuyityoyj")
    public suspend fun executorsCount(`value`: Int?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.executorsCount = mapped
    }

    /**
     * @param value Max configurable executors. If maxExecutorsCount > executorsCount, then auto-scaling is enabled. Max Executor Count should be between 2 and 1000. [Default=1000]
     */
    @JvmName("nsqqftmcdbdrgwhh")
    public suspend fun maxExecutorsCount(`value`: Int?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.maxExecutorsCount = mapped
    }

    internal fun build(): TaskNotebookInfrastructureSpecBatchArgs =
        TaskNotebookInfrastructureSpecBatchArgs(
            executorsCount = executorsCount,
            maxExecutorsCount = maxExecutorsCount,
        )
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy