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

com.pulumi.aws.codeartifact.kotlin.inputs.RepositoryExternalConnectionsArgs.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.codeartifact.kotlin.inputs

import com.pulumi.aws.codeartifact.inputs.RepositoryExternalConnectionsArgs.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

/**
 *
 * @property externalConnectionName The name of the external connection associated with a repository.
 * @property packageFormat
 * @property status
 */
public data class RepositoryExternalConnectionsArgs(
    public val externalConnectionName: Output,
    public val packageFormat: Output? = null,
    public val status: Output? = null,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.aws.codeartifact.inputs.RepositoryExternalConnectionsArgs =
        com.pulumi.aws.codeartifact.inputs.RepositoryExternalConnectionsArgs.builder()
            .externalConnectionName(externalConnectionName.applyValue({ args0 -> args0 }))
            .packageFormat(packageFormat?.applyValue({ args0 -> args0 }))
            .status(status?.applyValue({ args0 -> args0 })).build()
}

/**
 * Builder for [RepositoryExternalConnectionsArgs].
 */
@PulumiTagMarker
public class RepositoryExternalConnectionsArgsBuilder internal constructor() {
    private var externalConnectionName: Output? = null

    private var packageFormat: Output? = null

    private var status: Output? = null

    /**
     * @param value The name of the external connection associated with a repository.
     */
    @JvmName("alnnwoipfnuyeayk")
    public suspend fun externalConnectionName(`value`: Output) {
        this.externalConnectionName = value
    }

    /**
     * @param value
     */
    @JvmName("jgownttvfmbtepac")
    public suspend fun packageFormat(`value`: Output) {
        this.packageFormat = value
    }

    /**
     * @param value
     */
    @JvmName("buidgedowjxilkie")
    public suspend fun status(`value`: Output) {
        this.status = value
    }

    /**
     * @param value The name of the external connection associated with a repository.
     */
    @JvmName("ywvfxnbqvofyaowy")
    public suspend fun externalConnectionName(`value`: String) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.externalConnectionName = mapped
    }

    /**
     * @param value
     */
    @JvmName("bncwvrmbhoysilpc")
    public suspend fun packageFormat(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.packageFormat = mapped
    }

    /**
     * @param value
     */
    @JvmName("tdebuwofxgewmclr")
    public suspend fun status(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.status = mapped
    }

    internal fun build(): RepositoryExternalConnectionsArgs = RepositoryExternalConnectionsArgs(
        externalConnectionName = externalConnectionName ?: throw
            PulumiNullFieldException("externalConnectionName"),
        packageFormat = packageFormat,
        status = status,
    )
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy