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

com.pulumi.azurenative.recoveryservices.kotlin.inputs.AzureFabricCreationInputArgs.kt Maven / Gradle / Ivy

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

package com.pulumi.azurenative.recoveryservices.kotlin.inputs

import com.pulumi.azurenative.recoveryservices.inputs.AzureFabricCreationInputArgs.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

/**
 * Fabric provider specific settings.
 * @property instanceType Gets the class type.
 * Expected value is 'Azure'.
 * @property location The Location.
 */
public data class AzureFabricCreationInputArgs(
    public val instanceType: Output,
    public val location: Output? = null,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.azurenative.recoveryservices.inputs.AzureFabricCreationInputArgs = com.pulumi.azurenative.recoveryservices.inputs.AzureFabricCreationInputArgs.builder()
        .instanceType(instanceType.applyValue({ args0 -> args0 }))
        .location(location?.applyValue({ args0 -> args0 })).build()
}

/**
 * Builder for [AzureFabricCreationInputArgs].
 */
@PulumiTagMarker
public class AzureFabricCreationInputArgsBuilder internal constructor() {
    private var instanceType: Output? = null

    private var location: Output? = null

    /**
     * @param value Gets the class type.
     * Expected value is 'Azure'.
     */
    @JvmName("osfpvlhshajdpvrv")
    public suspend fun instanceType(`value`: Output) {
        this.instanceType = value
    }

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

    /**
     * @param value Gets the class type.
     * Expected value is 'Azure'.
     */
    @JvmName("wxwnwcmhyhsmkqlw")
    public suspend fun instanceType(`value`: String) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.instanceType = mapped
    }

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

    internal fun build(): AzureFabricCreationInputArgs = AzureFabricCreationInputArgs(
        instanceType = instanceType ?: throw PulumiNullFieldException("instanceType"),
        location = location,
    )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy