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

com.pulumi.awsnative.emrcontainers.kotlin.inputs.VirtualClusterContainerInfoArgs.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.emrcontainers.kotlin.inputs

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

/**
 *
 * @property eksInfo The information about the Amazon EKS cluster.
 */
public data class VirtualClusterContainerInfoArgs(
    public val eksInfo: Output,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.awsnative.emrcontainers.inputs.VirtualClusterContainerInfoArgs =
        com.pulumi.awsnative.emrcontainers.inputs.VirtualClusterContainerInfoArgs.builder()
            .eksInfo(eksInfo.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) })).build()
}

/**
 * Builder for [VirtualClusterContainerInfoArgs].
 */
@PulumiTagMarker
public class VirtualClusterContainerInfoArgsBuilder internal constructor() {
    private var eksInfo: Output? = null

    /**
     * @param value The information about the Amazon EKS cluster.
     */
    @JvmName("yeaupmwhqlnvxgyv")
    public suspend fun eksInfo(`value`: Output) {
        this.eksInfo = value
    }

    /**
     * @param value The information about the Amazon EKS cluster.
     */
    @JvmName("ubscsdsbxunrutya")
    public suspend fun eksInfo(`value`: VirtualClusterEksInfoArgs) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.eksInfo = mapped
    }

    /**
     * @param argument The information about the Amazon EKS cluster.
     */
    @JvmName("yseovychhjsushci")
    public suspend fun eksInfo(argument: suspend VirtualClusterEksInfoArgsBuilder.() -> Unit) {
        val toBeMapped = VirtualClusterEksInfoArgsBuilder().applySuspend { argument() }.build()
        val mapped = of(toBeMapped)
        this.eksInfo = mapped
    }

    internal fun build(): VirtualClusterContainerInfoArgs = VirtualClusterContainerInfoArgs(
        eksInfo = eksInfo ?: throw PulumiNullFieldException("eksInfo"),
    )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy