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

com.pulumi.awsnative.deadline.kotlin.inputs.StorageProfileFileSystemLocationArgs.kt Maven / Gradle / Ivy

@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.awsnative.deadline.kotlin.inputs

import com.pulumi.awsnative.deadline.inputs.StorageProfileFileSystemLocationArgs.builder
import com.pulumi.awsnative.deadline.kotlin.enums.StorageProfileFileSystemLocationType
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.String
import kotlin.Suppress
import kotlin.jvm.JvmName

/**
 *
 * @property name The location name.
 * @property path The file path.
 * @property type The type of file.
 */
public data class StorageProfileFileSystemLocationArgs(
    public val name: Output,
    public val path: Output,
    public val type: Output,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.awsnative.deadline.inputs.StorageProfileFileSystemLocationArgs =
        com.pulumi.awsnative.deadline.inputs.StorageProfileFileSystemLocationArgs.builder()
            .name(name.applyValue({ args0 -> args0 }))
            .path(path.applyValue({ args0 -> args0 }))
            .type(type.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) })).build()
}

/**
 * Builder for [StorageProfileFileSystemLocationArgs].
 */
@PulumiTagMarker
public class StorageProfileFileSystemLocationArgsBuilder internal constructor() {
    private var name: Output? = null

    private var path: Output? = null

    private var type: Output? = null

    /**
     * @param value The location name.
     */
    @JvmName("mpfpfykqdgiqeekr")
    public suspend fun name(`value`: Output) {
        this.name = value
    }

    /**
     * @param value The file path.
     */
    @JvmName("frcbgetttfojotai")
    public suspend fun path(`value`: Output) {
        this.path = value
    }

    /**
     * @param value The type of file.
     */
    @JvmName("swpsvciioiofsfqc")
    public suspend fun type(`value`: Output) {
        this.type = value
    }

    /**
     * @param value The location name.
     */
    @JvmName("bvoisksgsxfjtcyh")
    public suspend fun name(`value`: String) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.name = mapped
    }

    /**
     * @param value The file path.
     */
    @JvmName("qdxglrhftbhpqopn")
    public suspend fun path(`value`: String) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.path = mapped
    }

    /**
     * @param value The type of file.
     */
    @JvmName("fveekgnnkiwmbxlk")
    public suspend fun type(`value`: StorageProfileFileSystemLocationType) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.type = mapped
    }

    internal fun build(): StorageProfileFileSystemLocationArgs = StorageProfileFileSystemLocationArgs(
        name = name ?: throw PulumiNullFieldException("name"),
        path = path ?: throw PulumiNullFieldException("path"),
        type = type ?: throw PulumiNullFieldException("type"),
    )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy