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

com.pulumi.azure.containerservice.kotlin.inputs.RegistryTaskPlatformArgs.kt Maven / Gradle / Ivy

@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.azure.containerservice.kotlin.inputs

import com.pulumi.azure.containerservice.inputs.RegistryTaskPlatformArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
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 architecture The OS architecture. Possible values are `amd64`, `x86`, `386`, `arm` and `arm64`.
 * @property os The operating system type required for the task. Possible values are `Windows` and `Linux`.
 * @property variant The variant of the CPU. Possible values are `v6`, `v7`, `v8`.
 */
public data class RegistryTaskPlatformArgs(
    public val architecture: Output? = null,
    public val os: Output,
    public val variant: Output? = null,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.azure.containerservice.inputs.RegistryTaskPlatformArgs =
        com.pulumi.azure.containerservice.inputs.RegistryTaskPlatformArgs.builder()
            .architecture(architecture?.applyValue({ args0 -> args0 }))
            .os(os.applyValue({ args0 -> args0 }))
            .variant(variant?.applyValue({ args0 -> args0 })).build()
}

/**
 * Builder for [RegistryTaskPlatformArgs].
 */
@PulumiTagMarker
public class RegistryTaskPlatformArgsBuilder internal constructor() {
    private var architecture: Output? = null

    private var os: Output? = null

    private var variant: Output? = null

    /**
     * @param value The OS architecture. Possible values are `amd64`, `x86`, `386`, `arm` and `arm64`.
     */
    @JvmName("oacurjfgnllwqeyc")
    public suspend fun architecture(`value`: Output) {
        this.architecture = value
    }

    /**
     * @param value The operating system type required for the task. Possible values are `Windows` and `Linux`.
     */
    @JvmName("beqvhmiakkkqlkid")
    public suspend fun os(`value`: Output) {
        this.os = value
    }

    /**
     * @param value The variant of the CPU. Possible values are `v6`, `v7`, `v8`.
     */
    @JvmName("llbaqtdpmawpotwp")
    public suspend fun variant(`value`: Output) {
        this.variant = value
    }

    /**
     * @param value The OS architecture. Possible values are `amd64`, `x86`, `386`, `arm` and `arm64`.
     */
    @JvmName("lxmeimcuueioybfm")
    public suspend fun architecture(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.architecture = mapped
    }

    /**
     * @param value The operating system type required for the task. Possible values are `Windows` and `Linux`.
     */
    @JvmName("ehveohbofvqrcoeb")
    public suspend fun os(`value`: String) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.os = mapped
    }

    /**
     * @param value The variant of the CPU. Possible values are `v6`, `v7`, `v8`.
     */
    @JvmName("stcjqdynntkujmyf")
    public suspend fun variant(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.variant = mapped
    }

    internal fun build(): RegistryTaskPlatformArgs = RegistryTaskPlatformArgs(
        architecture = architecture,
        os = os ?: throw PulumiNullFieldException("os"),
        variant = variant,
    )
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy