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

com.pulumi.aws.eks.kotlin.inputs.ClusterStorageConfigArgs.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: 6.57.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.aws.eks.kotlin.inputs

import com.pulumi.aws.eks.inputs.ClusterStorageConfigArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import com.pulumi.kotlin.applySuspend
import kotlin.Suppress
import kotlin.Unit
import kotlin.jvm.JvmName

/**
 *
 * @property blockStorage
 */
public data class ClusterStorageConfigArgs(
    public val blockStorage: Output? = null,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.aws.eks.inputs.ClusterStorageConfigArgs =
        com.pulumi.aws.eks.inputs.ClusterStorageConfigArgs.builder()
            .blockStorage(blockStorage?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) })).build()
}

/**
 * Builder for [ClusterStorageConfigArgs].
 */
@PulumiTagMarker
public class ClusterStorageConfigArgsBuilder internal constructor() {
    private var blockStorage: Output? = null

    /**
     * @param value
     */
    @JvmName("onnwioheutfemyym")
    public suspend fun blockStorage(`value`: Output) {
        this.blockStorage = value
    }

    /**
     * @param value
     */
    @JvmName("vjfslpbmcgjptese")
    public suspend fun blockStorage(`value`: ClusterStorageConfigBlockStorageArgs?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.blockStorage = mapped
    }

    /**
     * @param argument
     */
    @JvmName("hmevhfkrujagdmub")
    public suspend fun blockStorage(argument: suspend ClusterStorageConfigBlockStorageArgsBuilder.() -> Unit) {
        val toBeMapped = ClusterStorageConfigBlockStorageArgsBuilder().applySuspend {
            argument()
        }.build()
        val mapped = of(toBeMapped)
        this.blockStorage = mapped
    }

    internal fun build(): ClusterStorageConfigArgs = ClusterStorageConfigArgs(
        blockStorage = blockStorage,
    )
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy