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

com.pulumi.azurenative.databoxedge.kotlin.inputs.FileSourceInfoArgs.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: 2.82.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.azurenative.databoxedge.kotlin.inputs

import com.pulumi.azurenative.databoxedge.inputs.FileSourceInfoArgs.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.String
import kotlin.Suppress
import kotlin.jvm.JvmName

/**
 * File source details.
 * @property shareId File share ID.
 */
public data class FileSourceInfoArgs(
    public val shareId: Output,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.azurenative.databoxedge.inputs.FileSourceInfoArgs =
        com.pulumi.azurenative.databoxedge.inputs.FileSourceInfoArgs.builder()
            .shareId(shareId.applyValue({ args0 -> args0 })).build()
}

/**
 * Builder for [FileSourceInfoArgs].
 */
@PulumiTagMarker
public class FileSourceInfoArgsBuilder internal constructor() {
    private var shareId: Output? = null

    /**
     * @param value File share ID.
     */
    @JvmName("ybxgmuyyvxjmrhqw")
    public suspend fun shareId(`value`: Output) {
        this.shareId = value
    }

    /**
     * @param value File share ID.
     */
    @JvmName("qudbotixdqaokgjg")
    public suspend fun shareId(`value`: String) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.shareId = mapped
    }

    internal fun build(): FileSourceInfoArgs = FileSourceInfoArgs(
        shareId = shareId ?: throw PulumiNullFieldException("shareId"),
    )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy