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

com.pulumi.awsnative.emrcontainers.kotlin.inputs.VirtualClusterContainerProviderArgs.kt Maven / Gradle / Ivy

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

package com.pulumi.awsnative.emrcontainers.kotlin.inputs

import com.pulumi.awsnative.emrcontainers.inputs.VirtualClusterContainerProviderArgs.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 com.pulumi.kotlin.applySuspend
import kotlin.String
import kotlin.Suppress
import kotlin.Unit
import kotlin.jvm.JvmName

/**
 *
 * @property id The ID of the container cluster
 * @property info The information about the container cluster.
 * @property type The type of the container provider
 */
public data class VirtualClusterContainerProviderArgs(
    public val id: Output,
    public val info: Output,
    public val type: Output,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.awsnative.emrcontainers.inputs.VirtualClusterContainerProviderArgs =
        com.pulumi.awsnative.emrcontainers.inputs.VirtualClusterContainerProviderArgs.builder()
            .id(id.applyValue({ args0 -> args0 }))
            .info(info.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
            .type(type.applyValue({ args0 -> args0 })).build()
}

/**
 * Builder for [VirtualClusterContainerProviderArgs].
 */
@PulumiTagMarker
public class VirtualClusterContainerProviderArgsBuilder internal constructor() {
    private var id: Output? = null

    private var info: Output? = null

    private var type: Output? = null

    /**
     * @param value The ID of the container cluster
     */
    @JvmName("vabakgwcjqrcfigo")
    public suspend fun id(`value`: Output) {
        this.id = value
    }

    /**
     * @param value The information about the container cluster.
     */
    @JvmName("yhogyotagwdgsctk")
    public suspend fun info(`value`: Output) {
        this.info = value
    }

    /**
     * @param value The type of the container provider
     */
    @JvmName("mlkebsrqsedlrlxd")
    public suspend fun type(`value`: Output) {
        this.type = value
    }

    /**
     * @param value The ID of the container cluster
     */
    @JvmName("ohkwxlbiduvevxrq")
    public suspend fun id(`value`: String) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.id = mapped
    }

    /**
     * @param value The information about the container cluster.
     */
    @JvmName("jhvfrxtmictkvkqe")
    public suspend fun info(`value`: VirtualClusterContainerInfoArgs) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.info = mapped
    }

    /**
     * @param argument The information about the container cluster.
     */
    @JvmName("jsnexcmjtyiaocbx")
    public suspend fun info(argument: suspend VirtualClusterContainerInfoArgsBuilder.() -> Unit) {
        val toBeMapped = VirtualClusterContainerInfoArgsBuilder().applySuspend { argument() }.build()
        val mapped = of(toBeMapped)
        this.info = mapped
    }

    /**
     * @param value The type of the container provider
     */
    @JvmName("obsfurfxjktstpjo")
    public suspend fun type(`value`: String) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.type = mapped
    }

    internal fun build(): VirtualClusterContainerProviderArgs = VirtualClusterContainerProviderArgs(
        id = id ?: throw PulumiNullFieldException("id"),
        info = info ?: throw PulumiNullFieldException("info"),
        type = type ?: throw PulumiNullFieldException("type"),
    )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy