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

com.pulumi.gcp.appengine.kotlin.inputs.FlexibleAppVersionResourcesVolumeArgs.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: 8.13.1.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.gcp.appengine.kotlin.inputs

import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.gcp.appengine.inputs.FlexibleAppVersionResourcesVolumeArgs.builder
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiNullFieldException
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.Int
import kotlin.String
import kotlin.Suppress
import kotlin.jvm.JvmName

/**
 *
 * @property name Unique name for the volume.
 * @property sizeGb Volume size in gigabytes.
 * @property volumeType Underlying volume type, e.g. 'tmpfs'.
 */
public data class FlexibleAppVersionResourcesVolumeArgs(
    public val name: Output,
    public val sizeGb: Output,
    public val volumeType: Output,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.gcp.appengine.inputs.FlexibleAppVersionResourcesVolumeArgs =
        com.pulumi.gcp.appengine.inputs.FlexibleAppVersionResourcesVolumeArgs.builder()
            .name(name.applyValue({ args0 -> args0 }))
            .sizeGb(sizeGb.applyValue({ args0 -> args0 }))
            .volumeType(volumeType.applyValue({ args0 -> args0 })).build()
}

/**
 * Builder for [FlexibleAppVersionResourcesVolumeArgs].
 */
@PulumiTagMarker
public class FlexibleAppVersionResourcesVolumeArgsBuilder internal constructor() {
    private var name: Output? = null

    private var sizeGb: Output? = null

    private var volumeType: Output? = null

    /**
     * @param value Unique name for the volume.
     */
    @JvmName("fdulkbrcbcnuncvy")
    public suspend fun name(`value`: Output) {
        this.name = value
    }

    /**
     * @param value Volume size in gigabytes.
     */
    @JvmName("hvgflyokmslynysc")
    public suspend fun sizeGb(`value`: Output) {
        this.sizeGb = value
    }

    /**
     * @param value Underlying volume type, e.g. 'tmpfs'.
     */
    @JvmName("lmssfytbetckxyoi")
    public suspend fun volumeType(`value`: Output) {
        this.volumeType = value
    }

    /**
     * @param value Unique name for the volume.
     */
    @JvmName("cidkupljlydvbcub")
    public suspend fun name(`value`: String) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.name = mapped
    }

    /**
     * @param value Volume size in gigabytes.
     */
    @JvmName("dyrqveryxdypihik")
    public suspend fun sizeGb(`value`: Int) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.sizeGb = mapped
    }

    /**
     * @param value Underlying volume type, e.g. 'tmpfs'.
     */
    @JvmName("koxhhvsallxagjwl")
    public suspend fun volumeType(`value`: String) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.volumeType = mapped
    }

    internal fun build(): FlexibleAppVersionResourcesVolumeArgs =
        FlexibleAppVersionResourcesVolumeArgs(
            name = name ?: throw PulumiNullFieldException("name"),
            sizeGb = sizeGb ?: throw PulumiNullFieldException("sizeGb"),
            volumeType = volumeType ?: throw PulumiNullFieldException("volumeType"),
        )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy