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

com.pulumi.aws.fsx.kotlin.inputs.WindowsFileSystemDiskIopsConfigurationArgs.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.fsx.kotlin.inputs

import com.pulumi.aws.fsx.inputs.WindowsFileSystemDiskIopsConfigurationArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.Int
import kotlin.String
import kotlin.Suppress
import kotlin.jvm.JvmName

/**
 *
 * @property iops The total number of SSD IOPS provisioned for the file system.
 * @property mode Specifies whether the number of IOPS for the file system is using the system. Valid values are `AUTOMATIC` and `USER_PROVISIONED`. Default value is `AUTOMATIC`.
 */
public data class WindowsFileSystemDiskIopsConfigurationArgs(
    public val iops: Output? = null,
    public val mode: Output? = null,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.aws.fsx.inputs.WindowsFileSystemDiskIopsConfigurationArgs =
        com.pulumi.aws.fsx.inputs.WindowsFileSystemDiskIopsConfigurationArgs.builder()
            .iops(iops?.applyValue({ args0 -> args0 }))
            .mode(mode?.applyValue({ args0 -> args0 })).build()
}

/**
 * Builder for [WindowsFileSystemDiskIopsConfigurationArgs].
 */
@PulumiTagMarker
public class WindowsFileSystemDiskIopsConfigurationArgsBuilder internal constructor() {
    private var iops: Output? = null

    private var mode: Output? = null

    /**
     * @param value The total number of SSD IOPS provisioned for the file system.
     */
    @JvmName("qcbljrascevsfjdk")
    public suspend fun iops(`value`: Output) {
        this.iops = value
    }

    /**
     * @param value Specifies whether the number of IOPS for the file system is using the system. Valid values are `AUTOMATIC` and `USER_PROVISIONED`. Default value is `AUTOMATIC`.
     */
    @JvmName("vxsatkhkcoasnixs")
    public suspend fun mode(`value`: Output) {
        this.mode = value
    }

    /**
     * @param value The total number of SSD IOPS provisioned for the file system.
     */
    @JvmName("xwkleacoftoscqxx")
    public suspend fun iops(`value`: Int?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.iops = mapped
    }

    /**
     * @param value Specifies whether the number of IOPS for the file system is using the system. Valid values are `AUTOMATIC` and `USER_PROVISIONED`. Default value is `AUTOMATIC`.
     */
    @JvmName("ykgyxhtyegvompwk")
    public suspend fun mode(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.mode = mapped
    }

    internal fun build(): WindowsFileSystemDiskIopsConfigurationArgs =
        WindowsFileSystemDiskIopsConfigurationArgs(
            iops = iops,
            mode = mode,
        )
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy