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

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

package com.pulumi.gcp.compute.kotlin.inputs

import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.gcp.compute.inputs.ReservationSpecificReservationInstancePropertiesLocalSsdArgs.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 diskSizeGb The size of the disk in base-2 GB.
 * - - -
 * @property interface The disk interface to use for attaching this disk.
 * Default value is `SCSI`.
 * Possible values are: `SCSI`, `NVME`.
 */
public data class ReservationSpecificReservationInstancePropertiesLocalSsdArgs(
    public val diskSizeGb: Output,
    public val `interface`: Output? = null,
) :
    ConvertibleToJava {
    override fun toJava(): com.pulumi.gcp.compute.inputs.ReservationSpecificReservationInstancePropertiesLocalSsdArgs =
        com.pulumi.gcp.compute.inputs.ReservationSpecificReservationInstancePropertiesLocalSsdArgs.builder()
            .diskSizeGb(diskSizeGb.applyValue({ args0 -> args0 }))
            .interface_(`interface`?.applyValue({ args0 -> args0 })).build()
}

/**
 * Builder for [ReservationSpecificReservationInstancePropertiesLocalSsdArgs].
 */
@PulumiTagMarker
public class ReservationSpecificReservationInstancePropertiesLocalSsdArgsBuilder internal constructor() {
    private var diskSizeGb: Output? = null

    private var `interface`: Output? = null

    /**
     * @param value The size of the disk in base-2 GB.
     * - - -
     */
    @JvmName("tvcrustvsofdaoad")
    public suspend fun diskSizeGb(`value`: Output) {
        this.diskSizeGb = value
    }

    /**
     * @param value The disk interface to use for attaching this disk.
     * Default value is `SCSI`.
     * Possible values are: `SCSI`, `NVME`.
     */
    @JvmName("ukutvipptuufvkrh")
    public suspend fun `interface`(`value`: Output) {
        this.`interface` = value
    }

    /**
     * @param value The size of the disk in base-2 GB.
     * - - -
     */
    @JvmName("hjmjtccpmfiwpvtk")
    public suspend fun diskSizeGb(`value`: Int) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.diskSizeGb = mapped
    }

    /**
     * @param value The disk interface to use for attaching this disk.
     * Default value is `SCSI`.
     * Possible values are: `SCSI`, `NVME`.
     */
    @JvmName("hccemyjikwqexuqt")
    public suspend fun `interface`(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.`interface` = mapped
    }

    internal fun build(): ReservationSpecificReservationInstancePropertiesLocalSsdArgs =
        ReservationSpecificReservationInstancePropertiesLocalSsdArgs(
            diskSizeGb = diskSizeGb ?: throw PulumiNullFieldException("diskSizeGb"),
            `interface` = `interface`,
        )
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy