com.pulumi.aws.fsx.kotlin.inputs.OpenZfsVolumeUserAndGroupQuotaArgs.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-aws-kotlin Show documentation
Show all versions of pulumi-aws-kotlin Show documentation
Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.aws.fsx.kotlin.inputs
import com.pulumi.aws.fsx.inputs.OpenZfsVolumeUserAndGroupQuotaArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
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 id The ID of the user or group. Valid values between `0` and `2147483647`
* @property storageCapacityQuotaGib The amount of storage that the user or group can use in gibibytes (GiB). Valid values between `0` and `2147483647`
* * `Type` - (Required) - A value that specifies whether the quota applies to a user or group. Valid values are `USER` or `GROUP`.
* @property type
*/
public data class OpenZfsVolumeUserAndGroupQuotaArgs(
public val id: Output,
public val storageCapacityQuotaGib: Output,
public val type: Output,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.aws.fsx.inputs.OpenZfsVolumeUserAndGroupQuotaArgs =
com.pulumi.aws.fsx.inputs.OpenZfsVolumeUserAndGroupQuotaArgs.builder()
.id(id.applyValue({ args0 -> args0 }))
.storageCapacityQuotaGib(storageCapacityQuotaGib.applyValue({ args0 -> args0 }))
.type(type.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [OpenZfsVolumeUserAndGroupQuotaArgs].
*/
@PulumiTagMarker
public class OpenZfsVolumeUserAndGroupQuotaArgsBuilder internal constructor() {
private var id: Output? = null
private var storageCapacityQuotaGib: Output? = null
private var type: Output? = null
/**
* @param value The ID of the user or group. Valid values between `0` and `2147483647`
*/
@JvmName("ffkvkmjlfinfhaue")
public suspend fun id(`value`: Output) {
this.id = value
}
/**
* @param value The amount of storage that the user or group can use in gibibytes (GiB). Valid values between `0` and `2147483647`
* * `Type` - (Required) - A value that specifies whether the quota applies to a user or group. Valid values are `USER` or `GROUP`.
*/
@JvmName("yhffsebcyggnecfc")
public suspend fun storageCapacityQuotaGib(`value`: Output) {
this.storageCapacityQuotaGib = value
}
/**
* @param value
*/
@JvmName("claytyhqbjvblbnj")
public suspend fun type(`value`: Output) {
this.type = value
}
/**
* @param value The ID of the user or group. Valid values between `0` and `2147483647`
*/
@JvmName("jqnojjromodhxbnk")
public suspend fun id(`value`: Int) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.id = mapped
}
/**
* @param value The amount of storage that the user or group can use in gibibytes (GiB). Valid values between `0` and `2147483647`
* * `Type` - (Required) - A value that specifies whether the quota applies to a user or group. Valid values are `USER` or `GROUP`.
*/
@JvmName("xpbqjahsxcaupsds")
public suspend fun storageCapacityQuotaGib(`value`: Int) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.storageCapacityQuotaGib = mapped
}
/**
* @param value
*/
@JvmName("hfjqbyavlacbrjri")
public suspend fun type(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.type = mapped
}
internal fun build(): OpenZfsVolumeUserAndGroupQuotaArgs = OpenZfsVolumeUserAndGroupQuotaArgs(
id = id ?: throw PulumiNullFieldException("id"),
storageCapacityQuotaGib = storageCapacityQuotaGib ?: throw
PulumiNullFieldException("storageCapacityQuotaGib"),
type = type ?: throw PulumiNullFieldException("type"),
)
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy