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

com.pulumi.aws.cloudwatch.kotlin.inputs.EventTargetSagemakerPipelineTargetArgs.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.cloudwatch.kotlin.inputs

import com.pulumi.aws.cloudwatch.inputs.EventTargetSagemakerPipelineTargetArgs.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 pipelineParameterLists List of Parameter names and values for SageMaker Model Building Pipeline execution.
 */
public data class EventTargetSagemakerPipelineTargetArgs(
    public val pipelineParameterLists: Output>? = null,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.aws.cloudwatch.inputs.EventTargetSagemakerPipelineTargetArgs =
        com.pulumi.aws.cloudwatch.inputs.EventTargetSagemakerPipelineTargetArgs.builder()
            .pipelineParameterLists(
                pipelineParameterLists?.applyValue({ args0 ->
                    args0.map({ args0 ->
                        args0.let({ args0 -> args0.toJava() })
                    })
                }),
            ).build()
}

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

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

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

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

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

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

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

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

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

    internal fun build(): EventTargetSagemakerPipelineTargetArgs =
        EventTargetSagemakerPipelineTargetArgs(
            pipelineParameterLists = pipelineParameterLists,
        )
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy