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

com.pulumi.gcp.cloudbuild.kotlin.inputs.BitbucketServerConfigConnectedRepositoryArgs.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: 8.10.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.gcp.cloudbuild.kotlin.inputs

import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.gcp.cloudbuild.inputs.BitbucketServerConfigConnectedRepositoryArgs.builder
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 projectKey Identifier for the project storing the repository.
 * @property repoSlug Identifier for the repository.
 */
public data class BitbucketServerConfigConnectedRepositoryArgs(
    public val projectKey: Output,
    public val repoSlug: Output,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.gcp.cloudbuild.inputs.BitbucketServerConfigConnectedRepositoryArgs =
        com.pulumi.gcp.cloudbuild.inputs.BitbucketServerConfigConnectedRepositoryArgs.builder()
            .projectKey(projectKey.applyValue({ args0 -> args0 }))
            .repoSlug(repoSlug.applyValue({ args0 -> args0 })).build()
}

/**
 * Builder for [BitbucketServerConfigConnectedRepositoryArgs].
 */
@PulumiTagMarker
public class BitbucketServerConfigConnectedRepositoryArgsBuilder internal constructor() {
    private var projectKey: Output? = null

    private var repoSlug: Output? = null

    /**
     * @param value Identifier for the project storing the repository.
     */
    @JvmName("emqepowvlbjwdmgj")
    public suspend fun projectKey(`value`: Output) {
        this.projectKey = value
    }

    /**
     * @param value Identifier for the repository.
     */
    @JvmName("qaqawuawcxgsipya")
    public suspend fun repoSlug(`value`: Output) {
        this.repoSlug = value
    }

    /**
     * @param value Identifier for the project storing the repository.
     */
    @JvmName("hndtftfncstegcsb")
    public suspend fun projectKey(`value`: String) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.projectKey = mapped
    }

    /**
     * @param value Identifier for the repository.
     */
    @JvmName("ayhxdcwqihkcvbqg")
    public suspend fun repoSlug(`value`: String) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.repoSlug = mapped
    }

    internal fun build(): BitbucketServerConfigConnectedRepositoryArgs =
        BitbucketServerConfigConnectedRepositoryArgs(
            projectKey = projectKey ?: throw PulumiNullFieldException("projectKey"),
            repoSlug = repoSlug ?: throw PulumiNullFieldException("repoSlug"),
        )
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy