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

com.pulumi.awsnative.sagemaker.kotlin.inputs.UserProfileDefaultSpaceStorageSettingsArgs.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: 1.11.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.awsnative.sagemaker.kotlin.inputs

import com.pulumi.awsnative.sagemaker.inputs.UserProfileDefaultSpaceStorageSettingsArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import com.pulumi.kotlin.applySuspend
import kotlin.Suppress
import kotlin.Unit
import kotlin.jvm.JvmName

/**
 * Default storage settings for a space.
 * @property defaultEbsStorageSettings The default EBS storage settings for a space.
 */
public data class UserProfileDefaultSpaceStorageSettingsArgs(
    public val defaultEbsStorageSettings: Output? = null,
) :
    ConvertibleToJava {
    override fun toJava(): com.pulumi.awsnative.sagemaker.inputs.UserProfileDefaultSpaceStorageSettingsArgs =
        com.pulumi.awsnative.sagemaker.inputs.UserProfileDefaultSpaceStorageSettingsArgs.builder()
            .defaultEbsStorageSettings(
                defaultEbsStorageSettings?.applyValue({ args0 ->
                    args0.let({ args0 ->
                        args0.toJava()
                    })
                }),
            ).build()
}

/**
 * Builder for [UserProfileDefaultSpaceStorageSettingsArgs].
 */
@PulumiTagMarker
public class UserProfileDefaultSpaceStorageSettingsArgsBuilder internal constructor() {
    private var defaultEbsStorageSettings: Output? = null

    /**
     * @param value The default EBS storage settings for a space.
     */
    @JvmName("gkaddyfupyrbxqko")
    public suspend fun defaultEbsStorageSettings(`value`: Output) {
        this.defaultEbsStorageSettings = value
    }

    /**
     * @param value The default EBS storage settings for a space.
     */
    @JvmName("adphwvjrpkimytgj")
    public suspend fun defaultEbsStorageSettings(`value`: UserProfileDefaultEbsStorageSettingsArgs?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.defaultEbsStorageSettings = mapped
    }

    /**
     * @param argument The default EBS storage settings for a space.
     */
    @JvmName("yalhnptahravvhnv")
    public suspend fun defaultEbsStorageSettings(argument: suspend UserProfileDefaultEbsStorageSettingsArgsBuilder.() -> Unit) {
        val toBeMapped = UserProfileDefaultEbsStorageSettingsArgsBuilder().applySuspend {
            argument()
        }.build()
        val mapped = of(toBeMapped)
        this.defaultEbsStorageSettings = mapped
    }

    internal fun build(): UserProfileDefaultSpaceStorageSettingsArgs =
        UserProfileDefaultSpaceStorageSettingsArgs(
            defaultEbsStorageSettings = defaultEbsStorageSettings,
        )
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy