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

com.pulumi.aws.pipes.kotlin.inputs.PipeTargetParametersSagemakerPipelineParametersArgs.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: 6.57.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.aws.pipes.kotlin.inputs

import com.pulumi.aws.pipes.inputs.PipeTargetParametersSagemakerPipelineParametersArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import com.pulumi.kotlin.applySuspend
import kotlin.Suppress
import kotlin.Unit
import kotlin.collections.List
import kotlin.jvm.JvmName

/**
 *
 * @property pipelineParameters List of Parameter names and values for SageMaker Model Building Pipeline execution. Detailed below.
 */
public data class PipeTargetParametersSagemakerPipelineParametersArgs(
    public val pipelineParameters: Output>? = null,
) :
    ConvertibleToJava {
    override fun toJava(): com.pulumi.aws.pipes.inputs.PipeTargetParametersSagemakerPipelineParametersArgs =
        com.pulumi.aws.pipes.inputs.PipeTargetParametersSagemakerPipelineParametersArgs.builder()
            .pipelineParameters(
                pipelineParameters?.applyValue({ args0 ->
                    args0.map({ args0 ->
                        args0.let({ args0 -> args0.toJava() })
                    })
                }),
            ).build()
}

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

    /**
     * @param value List of Parameter names and values for SageMaker Model Building Pipeline execution. Detailed below.
     */
    @JvmName("gybpujnvksnadnns")
    public suspend fun pipelineParameters(`value`: Output>) {
        this.pipelineParameters = value
    }

    @JvmName("gxrqwunmwbivoqaa")
    public suspend fun pipelineParameters(vararg values: Output) {
        this.pipelineParameters = Output.all(values.asList())
    }

    /**
     * @param values List of Parameter names and values for SageMaker Model Building Pipeline execution. Detailed below.
     */
    @JvmName("odsytsxopspdibbp")
    public suspend fun pipelineParameters(values: List>) {
        this.pipelineParameters = Output.all(values)
    }

    /**
     * @param value List of Parameter names and values for SageMaker Model Building Pipeline execution. Detailed below.
     */
    @JvmName("cpugfhxfslsovowx")
    public suspend fun pipelineParameters(`value`: List?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.pipelineParameters = mapped
    }

    /**
     * @param argument List of Parameter names and values for SageMaker Model Building Pipeline execution. Detailed below.
     */
    @JvmName("caqemdfumhxbmbxo")
    public suspend fun pipelineParameters(argument: List Unit>) {
        val toBeMapped = argument.toList().map {
            PipeTargetParametersSagemakerPipelineParametersPipelineParameterArgsBuilder().applySuspend {
                it()
            }.build()
        }
        val mapped = of(toBeMapped)
        this.pipelineParameters = mapped
    }

    /**
     * @param argument List of Parameter names and values for SageMaker Model Building Pipeline execution. Detailed below.
     */
    @JvmName("ndsxpodroioyjhxs")
    public suspend fun pipelineParameters(vararg argument: suspend PipeTargetParametersSagemakerPipelineParametersPipelineParameterArgsBuilder.() -> Unit) {
        val toBeMapped = argument.toList().map {
            PipeTargetParametersSagemakerPipelineParametersPipelineParameterArgsBuilder().applySuspend {
                it()
            }.build()
        }
        val mapped = of(toBeMapped)
        this.pipelineParameters = mapped
    }

    /**
     * @param argument List of Parameter names and values for SageMaker Model Building Pipeline execution. Detailed below.
     */
    @JvmName("tmdpvkbpnhoknmpw")
    public suspend fun pipelineParameters(argument: suspend PipeTargetParametersSagemakerPipelineParametersPipelineParameterArgsBuilder.() -> Unit) {
        val toBeMapped =
            listOf(
                PipeTargetParametersSagemakerPipelineParametersPipelineParameterArgsBuilder().applySuspend
                    { argument() }.build(),
            )
        val mapped = of(toBeMapped)
        this.pipelineParameters = mapped
    }

    /**
     * @param values List of Parameter names and values for SageMaker Model Building Pipeline execution. Detailed below.
     */
    @JvmName("vfthjpagtwamawcl")
    public suspend fun pipelineParameters(vararg values: PipeTargetParametersSagemakerPipelineParametersPipelineParameterArgs) {
        val toBeMapped = values.toList()
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.pipelineParameters = mapped
    }

    internal fun build(): PipeTargetParametersSagemakerPipelineParametersArgs =
        PipeTargetParametersSagemakerPipelineParametersArgs(
            pipelineParameters = pipelineParameters,
        )
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy