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

com.pulumi.azurenative.datamigration.kotlin.inputs.SsisMigrationInfoArgs.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.datamigration.kotlin.inputs

import com.pulumi.azurenative.datamigration.inputs.SsisMigrationInfoArgs.builder
import com.pulumi.azurenative.datamigration.kotlin.enums.SsisMigrationOverwriteOption
import com.pulumi.azurenative.datamigration.kotlin.enums.SsisStoreType
import com.pulumi.core.Either
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.String
import kotlin.Suppress
import kotlin.jvm.JvmName

/**
 * SSIS migration info with SSIS store type, overwrite policy.
 * @property environmentOverwriteOption The overwrite option for the SSIS environment migration
 * @property projectOverwriteOption The overwrite option for the SSIS project migration
 * @property ssisStoreType The SSIS store type of source, only SSIS catalog is supported now in DMS
 */
public data class SsisMigrationInfoArgs(
    public val environmentOverwriteOption: Output>? =
        null,
    public val projectOverwriteOption: Output>? = null,
    public val ssisStoreType: Output>? = null,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.azurenative.datamigration.inputs.SsisMigrationInfoArgs =
        com.pulumi.azurenative.datamigration.inputs.SsisMigrationInfoArgs.builder()
            .environmentOverwriteOption(
                environmentOverwriteOption?.applyValue({ args0 ->
                    args0.transform({ args0 -> args0 }, { args0 -> args0.let({ args0 -> args0.toJava() }) })
                }),
            )
            .projectOverwriteOption(
                projectOverwriteOption?.applyValue({ args0 ->
                    args0.transform({ args0 ->
                        args0
                    }, { args0 -> args0.let({ args0 -> args0.toJava() }) })
                }),
            )
            .ssisStoreType(
                ssisStoreType?.applyValue({ args0 ->
                    args0.transform({ args0 -> args0 }, { args0 ->
                        args0.let({ args0 -> args0.toJava() })
                    })
                }),
            ).build()
}

/**
 * Builder for [SsisMigrationInfoArgs].
 */
@PulumiTagMarker
public class SsisMigrationInfoArgsBuilder internal constructor() {
    private var environmentOverwriteOption: Output>? =
        null

    private var projectOverwriteOption: Output>? = null

    private var ssisStoreType: Output>? = null

    /**
     * @param value The overwrite option for the SSIS environment migration
     */
    @JvmName("ykbmkjelouovoprr")
    public suspend fun environmentOverwriteOption(`value`: Output>) {
        this.environmentOverwriteOption = value
    }

    /**
     * @param value The overwrite option for the SSIS project migration
     */
    @JvmName("fbijgmrclbmlddpj")
    public suspend fun projectOverwriteOption(`value`: Output>) {
        this.projectOverwriteOption = value
    }

    /**
     * @param value The SSIS store type of source, only SSIS catalog is supported now in DMS
     */
    @JvmName("ndlrhsfthqeelqyr")
    public suspend fun ssisStoreType(`value`: Output>) {
        this.ssisStoreType = value
    }

    /**
     * @param value The overwrite option for the SSIS environment migration
     */
    @JvmName("cwfkmwihpjbvqxsr")
    public suspend fun environmentOverwriteOption(`value`: Either?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.environmentOverwriteOption = mapped
    }

    /**
     * @param value The overwrite option for the SSIS environment migration
     */
    @JvmName("smcdnxccdopaprhg")
    public fun environmentOverwriteOption(`value`: String) {
        val toBeMapped = Either.ofLeft(value)
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.environmentOverwriteOption = mapped
    }

    /**
     * @param value The overwrite option for the SSIS environment migration
     */
    @JvmName("srtfmdwcrwrrqjdb")
    public fun environmentOverwriteOption(`value`: SsisMigrationOverwriteOption) {
        val toBeMapped = Either.ofRight(value)
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.environmentOverwriteOption = mapped
    }

    /**
     * @param value The overwrite option for the SSIS project migration
     */
    @JvmName("ypooeaqrsurespec")
    public suspend fun projectOverwriteOption(`value`: Either?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.projectOverwriteOption = mapped
    }

    /**
     * @param value The overwrite option for the SSIS project migration
     */
    @JvmName("ixhqshvaekxmhrff")
    public fun projectOverwriteOption(`value`: String) {
        val toBeMapped = Either.ofLeft(value)
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.projectOverwriteOption = mapped
    }

    /**
     * @param value The overwrite option for the SSIS project migration
     */
    @JvmName("pamedscrlwkwvpna")
    public fun projectOverwriteOption(`value`: SsisMigrationOverwriteOption) {
        val toBeMapped = Either.ofRight(value)
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.projectOverwriteOption = mapped
    }

    /**
     * @param value The SSIS store type of source, only SSIS catalog is supported now in DMS
     */
    @JvmName("hejaifyqiqsxvjqo")
    public suspend fun ssisStoreType(`value`: Either?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.ssisStoreType = mapped
    }

    /**
     * @param value The SSIS store type of source, only SSIS catalog is supported now in DMS
     */
    @JvmName("qcxgdbhsumxpkmqd")
    public fun ssisStoreType(`value`: String) {
        val toBeMapped = Either.ofLeft(value)
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.ssisStoreType = mapped
    }

    /**
     * @param value The SSIS store type of source, only SSIS catalog is supported now in DMS
     */
    @JvmName("vuvfiuscdicesknf")
    public fun ssisStoreType(`value`: SsisStoreType) {
        val toBeMapped = Either.ofRight(value)
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.ssisStoreType = mapped
    }

    internal fun build(): SsisMigrationInfoArgs = SsisMigrationInfoArgs(
        environmentOverwriteOption = environmentOverwriteOption,
        projectOverwriteOption = projectOverwriteOption,
        ssisStoreType = ssisStoreType,
    )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy