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

com.pulumi.googlenative.appengine.v1beta.kotlin.inputs.VolumeArgs.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.

The newest version!
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.googlenative.appengine.v1beta.kotlin.inputs

import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.googlenative.appengine.v1beta.inputs.VolumeArgs.builder
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.Double
import kotlin.String
import kotlin.Suppress
import kotlin.jvm.JvmName

/**
 * Volumes mounted within the app container. Only applicable in the App Engine flexible environment.
 * @property name Unique name for the volume.
 * @property sizeGb Volume size in gigabytes.
 * @property volumeType Underlying volume type, e.g. 'tmpfs'.
 */
public data class VolumeArgs(
    public val name: Output? = null,
    public val sizeGb: Output? = null,
    public val volumeType: Output? = null,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.googlenative.appengine.v1beta.inputs.VolumeArgs =
        com.pulumi.googlenative.appengine.v1beta.inputs.VolumeArgs.builder()
            .name(name?.applyValue({ args0 -> args0 }))
            .sizeGb(sizeGb?.applyValue({ args0 -> args0 }))
            .volumeType(volumeType?.applyValue({ args0 -> args0 })).build()
}

/**
 * Builder for [VolumeArgs].
 */
@PulumiTagMarker
public class VolumeArgsBuilder 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("smfvanjnslqjxifg")
    public suspend fun name(`value`: Output) {
        this.name = value
    }

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

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

    /**
     * @param value Unique name for the volume.
     */
    @JvmName("jqmmkpaljdxxroow")
    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("bywiresedykdapqq")
    public suspend fun sizeGb(`value`: Double?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.sizeGb = mapped
    }

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

    internal fun build(): VolumeArgs = VolumeArgs(
        name = name,
        sizeGb = sizeGb,
        volumeType = volumeType,
    )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy