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

com.pulumi.awsnative.pipes.kotlin.inputs.PipeEcsInferenceAcceleratorOverrideArgs.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: 1.24.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.awsnative.pipes.kotlin.inputs

import com.pulumi.awsnative.pipes.inputs.PipeEcsInferenceAcceleratorOverrideArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.String
import kotlin.Suppress
import kotlin.jvm.JvmName

/**
 *
 * @property deviceName The Elastic Inference accelerator device name to override for the task. This parameter must match a `deviceName` specified in the task definition.
 * @property deviceType The Elastic Inference accelerator type to use.
 */
public data class PipeEcsInferenceAcceleratorOverrideArgs(
    public val deviceName: Output? = null,
    public val deviceType: Output? = null,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.awsnative.pipes.inputs.PipeEcsInferenceAcceleratorOverrideArgs =
        com.pulumi.awsnative.pipes.inputs.PipeEcsInferenceAcceleratorOverrideArgs.builder()
            .deviceName(deviceName?.applyValue({ args0 -> args0 }))
            .deviceType(deviceType?.applyValue({ args0 -> args0 })).build()
}

/**
 * Builder for [PipeEcsInferenceAcceleratorOverrideArgs].
 */
@PulumiTagMarker
public class PipeEcsInferenceAcceleratorOverrideArgsBuilder internal constructor() {
    private var deviceName: Output? = null

    private var deviceType: Output? = null

    /**
     * @param value The Elastic Inference accelerator device name to override for the task. This parameter must match a `deviceName` specified in the task definition.
     */
    @JvmName("ifjobroyyhrdvjan")
    public suspend fun deviceName(`value`: Output) {
        this.deviceName = value
    }

    /**
     * @param value The Elastic Inference accelerator type to use.
     */
    @JvmName("uybynueqasoiwghq")
    public suspend fun deviceType(`value`: Output) {
        this.deviceType = value
    }

    /**
     * @param value The Elastic Inference accelerator device name to override for the task. This parameter must match a `deviceName` specified in the task definition.
     */
    @JvmName("jifuxlstubtudrrn")
    public suspend fun deviceName(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.deviceName = mapped
    }

    /**
     * @param value The Elastic Inference accelerator type to use.
     */
    @JvmName("miagtlxhkuhppnmb")
    public suspend fun deviceType(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.deviceType = mapped
    }

    internal fun build(): PipeEcsInferenceAcceleratorOverrideArgs =
        PipeEcsInferenceAcceleratorOverrideArgs(
            deviceName = deviceName,
            deviceType = deviceType,
        )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy