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

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

package com.pulumi.gcp.datafusion.kotlin.inputs

import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.gcp.datafusion.inputs.InstanceAcceleratorArgs.builder
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiNullFieldException
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.String
import kotlin.Suppress
import kotlin.jvm.JvmName

/**
 *
 * @property acceleratorType The type of an accelator for a CDF instance.
 * Possible values are: `CDC`, `HEALTHCARE`, `CCAI_INSIGHTS`.
 * @property state The type of an accelator for a CDF instance.
 * Possible values are: `ENABLED`, `DISABLED`.
 */
public data class InstanceAcceleratorArgs(
    public val acceleratorType: Output,
    public val state: Output,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.gcp.datafusion.inputs.InstanceAcceleratorArgs =
        com.pulumi.gcp.datafusion.inputs.InstanceAcceleratorArgs.builder()
            .acceleratorType(acceleratorType.applyValue({ args0 -> args0 }))
            .state(state.applyValue({ args0 -> args0 })).build()
}

/**
 * Builder for [InstanceAcceleratorArgs].
 */
@PulumiTagMarker
public class InstanceAcceleratorArgsBuilder internal constructor() {
    private var acceleratorType: Output? = null

    private var state: Output? = null

    /**
     * @param value The type of an accelator for a CDF instance.
     * Possible values are: `CDC`, `HEALTHCARE`, `CCAI_INSIGHTS`.
     */
    @JvmName("wiemccbqjpckutrn")
    public suspend fun acceleratorType(`value`: Output) {
        this.acceleratorType = value
    }

    /**
     * @param value The type of an accelator for a CDF instance.
     * Possible values are: `ENABLED`, `DISABLED`.
     */
    @JvmName("ctsgmtpmsruuonif")
    public suspend fun state(`value`: Output) {
        this.state = value
    }

    /**
     * @param value The type of an accelator for a CDF instance.
     * Possible values are: `CDC`, `HEALTHCARE`, `CCAI_INSIGHTS`.
     */
    @JvmName("bnwvxbdpvlobwifn")
    public suspend fun acceleratorType(`value`: String) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.acceleratorType = mapped
    }

    /**
     * @param value The type of an accelator for a CDF instance.
     * Possible values are: `ENABLED`, `DISABLED`.
     */
    @JvmName("pggtafdmpetgrjle")
    public suspend fun state(`value`: String) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.state = mapped
    }

    internal fun build(): InstanceAcceleratorArgs = InstanceAcceleratorArgs(
        acceleratorType = acceleratorType ?: throw PulumiNullFieldException("acceleratorType"),
        state = state ?: throw PulumiNullFieldException("state"),
    )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy