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

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

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

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

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

/**
 * VMwareV2 fabric provider specific settings.
 * @property instanceType Gets the class type.
 * Expected value is 'VMwareV2'.
 * @property migrationSolutionId The ARM Id of the migration solution.
 * @property physicalSiteId The ARM Id of the physical site.
 * @property vmwareSiteId The ARM Id of the VMware site.
 */
public data class VMwareV2FabricCreationInputArgs(
    public val instanceType: Output,
    public val migrationSolutionId: Output,
    public val physicalSiteId: Output? = null,
    public val vmwareSiteId: Output? = null,
) :
    ConvertibleToJava {
    override fun toJava(): com.pulumi.azurenative.recoveryservices.inputs.VMwareV2FabricCreationInputArgs =
        com.pulumi.azurenative.recoveryservices.inputs.VMwareV2FabricCreationInputArgs.builder()
            .instanceType(instanceType.applyValue({ args0 -> args0 }))
            .migrationSolutionId(migrationSolutionId.applyValue({ args0 -> args0 }))
            .physicalSiteId(physicalSiteId?.applyValue({ args0 -> args0 }))
            .vmwareSiteId(vmwareSiteId?.applyValue({ args0 -> args0 })).build()
}

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

    private var migrationSolutionId: Output? = null

    private var physicalSiteId: Output? = null

    private var vmwareSiteId: Output? = null

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

    /**
     * @param value The ARM Id of the migration solution.
     */
    @JvmName("volqciwkqtyvscog")
    public suspend fun migrationSolutionId(`value`: Output) {
        this.migrationSolutionId = value
    }

    /**
     * @param value The ARM Id of the physical site.
     */
    @JvmName("lysfkohgbunacmhj")
    public suspend fun physicalSiteId(`value`: Output) {
        this.physicalSiteId = value
    }

    /**
     * @param value The ARM Id of the VMware site.
     */
    @JvmName("hxrnsvamlsqgyapo")
    public suspend fun vmwareSiteId(`value`: Output) {
        this.vmwareSiteId = value
    }

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

    /**
     * @param value The ARM Id of the migration solution.
     */
    @JvmName("nteepunbssrgxcse")
    public suspend fun migrationSolutionId(`value`: String) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.migrationSolutionId = mapped
    }

    /**
     * @param value The ARM Id of the physical site.
     */
    @JvmName("bpysqkvwookvmukw")
    public suspend fun physicalSiteId(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.physicalSiteId = mapped
    }

    /**
     * @param value The ARM Id of the VMware site.
     */
    @JvmName("yigndgyrmtusowad")
    public suspend fun vmwareSiteId(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.vmwareSiteId = mapped
    }

    internal fun build(): VMwareV2FabricCreationInputArgs = VMwareV2FabricCreationInputArgs(
        instanceType = instanceType ?: throw PulumiNullFieldException("instanceType"),
        migrationSolutionId = migrationSolutionId ?: throw PulumiNullFieldException("migrationSolutionId"),
        physicalSiteId = physicalSiteId,
        vmwareSiteId = vmwareSiteId,
    )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy