
com.pulumi.awsnative.sagemaker.kotlin.inputs.UserProfileDefaultEbsStorageSettingsArgs.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.awsnative.sagemaker.kotlin.inputs
import com.pulumi.awsnative.sagemaker.inputs.UserProfileDefaultEbsStorageSettingsArgs.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.Suppress
import kotlin.jvm.JvmName
/**
* Properties related to the Amazon Elastic Block Store volume.
* @property defaultEbsVolumeSizeInGb Default size of the Amazon EBS volume in Gb
* @property maximumEbsVolumeSizeInGb Maximum size of the Amazon EBS volume in Gb. Must be greater than or equal to the DefaultEbsVolumeSizeInGb.
*/
public data class UserProfileDefaultEbsStorageSettingsArgs(
public val defaultEbsVolumeSizeInGb: Output,
public val maximumEbsVolumeSizeInGb: Output,
) :
ConvertibleToJava {
override fun toJava(): com.pulumi.awsnative.sagemaker.inputs.UserProfileDefaultEbsStorageSettingsArgs =
com.pulumi.awsnative.sagemaker.inputs.UserProfileDefaultEbsStorageSettingsArgs.builder()
.defaultEbsVolumeSizeInGb(defaultEbsVolumeSizeInGb.applyValue({ args0 -> args0 }))
.maximumEbsVolumeSizeInGb(maximumEbsVolumeSizeInGb.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [UserProfileDefaultEbsStorageSettingsArgs].
*/
@PulumiTagMarker
public class UserProfileDefaultEbsStorageSettingsArgsBuilder internal constructor() {
private var defaultEbsVolumeSizeInGb: Output? = null
private var maximumEbsVolumeSizeInGb: Output? = null
/**
* @param value Default size of the Amazon EBS volume in Gb
*/
@JvmName("wutcwirhvtygftfo")
public suspend fun defaultEbsVolumeSizeInGb(`value`: Output) {
this.defaultEbsVolumeSizeInGb = value
}
/**
* @param value Maximum size of the Amazon EBS volume in Gb. Must be greater than or equal to the DefaultEbsVolumeSizeInGb.
*/
@JvmName("ulbmadodxhlgnaoo")
public suspend fun maximumEbsVolumeSizeInGb(`value`: Output) {
this.maximumEbsVolumeSizeInGb = value
}
/**
* @param value Default size of the Amazon EBS volume in Gb
*/
@JvmName("atxdlkskheeeceks")
public suspend fun defaultEbsVolumeSizeInGb(`value`: Int) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.defaultEbsVolumeSizeInGb = mapped
}
/**
* @param value Maximum size of the Amazon EBS volume in Gb. Must be greater than or equal to the DefaultEbsVolumeSizeInGb.
*/
@JvmName("xuddnlxhtwdcendw")
public suspend fun maximumEbsVolumeSizeInGb(`value`: Int) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.maximumEbsVolumeSizeInGb = mapped
}
internal fun build(): UserProfileDefaultEbsStorageSettingsArgs =
UserProfileDefaultEbsStorageSettingsArgs(
defaultEbsVolumeSizeInGb = defaultEbsVolumeSizeInGb ?: throw
PulumiNullFieldException("defaultEbsVolumeSizeInGb"),
maximumEbsVolumeSizeInGb = maximumEbsVolumeSizeInGb ?: throw
PulumiNullFieldException("maximumEbsVolumeSizeInGb"),
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy