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

com.pulumi.awsnative.codepipeline.kotlin.inputs.PipelineBlockerDeclarationArgs.kt Maven / Gradle / Ivy

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

package com.pulumi.awsnative.codepipeline.kotlin.inputs

import com.pulumi.awsnative.codepipeline.inputs.PipelineBlockerDeclarationArgs.builder
import com.pulumi.awsnative.codepipeline.kotlin.enums.PipelineBlockerDeclarationType
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

/**
 * Reserved for future use.
 * @property name Reserved for future use.
 * @property type Reserved for future use.
 */
public data class PipelineBlockerDeclarationArgs(
    public val name: Output,
    public val type: Output,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.awsnative.codepipeline.inputs.PipelineBlockerDeclarationArgs =
        com.pulumi.awsnative.codepipeline.inputs.PipelineBlockerDeclarationArgs.builder()
            .name(name.applyValue({ args0 -> args0 }))
            .type(type.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) })).build()
}

/**
 * Builder for [PipelineBlockerDeclarationArgs].
 */
@PulumiTagMarker
public class PipelineBlockerDeclarationArgsBuilder internal constructor() {
    private var name: Output? = null

    private var type: Output? = null

    /**
     * @param value Reserved for future use.
     */
    @JvmName("ekbcvfywyprgjdqg")
    public suspend fun name(`value`: Output) {
        this.name = value
    }

    /**
     * @param value Reserved for future use.
     */
    @JvmName("hmftjclltlfrqlab")
    public suspend fun type(`value`: Output) {
        this.type = value
    }

    /**
     * @param value Reserved for future use.
     */
    @JvmName("vyhwkesdlhhvxfgn")
    public suspend fun name(`value`: String) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.name = mapped
    }

    /**
     * @param value Reserved for future use.
     */
    @JvmName("kquxhbpahbrsndbo")
    public suspend fun type(`value`: PipelineBlockerDeclarationType) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.type = mapped
    }

    internal fun build(): PipelineBlockerDeclarationArgs = PipelineBlockerDeclarationArgs(
        name = name ?: throw PulumiNullFieldException("name"),
        type = type ?: throw PulumiNullFieldException("type"),
    )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy