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

com.pulumi.aws.codebuild.kotlin.inputs.ProjectSourceBuildStatusConfigArgs.kt Maven / Gradle / Ivy

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

package com.pulumi.aws.codebuild.kotlin.inputs

import com.pulumi.aws.codebuild.inputs.ProjectSourceBuildStatusConfigArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.String
import kotlin.Suppress
import kotlin.jvm.JvmName

/**
 *
 * @property context Specifies the context of the build status CodeBuild sends to the source provider. The usage of this parameter depends on the source provider.
 * @property targetUrl Specifies the target url of the build status CodeBuild sends to the source provider. The usage of this parameter depends on the source provider.
 */
public data class ProjectSourceBuildStatusConfigArgs(
    public val context: Output? = null,
    public val targetUrl: Output? = null,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.aws.codebuild.inputs.ProjectSourceBuildStatusConfigArgs =
        com.pulumi.aws.codebuild.inputs.ProjectSourceBuildStatusConfigArgs.builder()
            .context(context?.applyValue({ args0 -> args0 }))
            .targetUrl(targetUrl?.applyValue({ args0 -> args0 })).build()
}

/**
 * Builder for [ProjectSourceBuildStatusConfigArgs].
 */
@PulumiTagMarker
public class ProjectSourceBuildStatusConfigArgsBuilder internal constructor() {
    private var context: Output? = null

    private var targetUrl: Output? = null

    /**
     * @param value Specifies the context of the build status CodeBuild sends to the source provider. The usage of this parameter depends on the source provider.
     */
    @JvmName("vljjauljwgbrlpde")
    public suspend fun context(`value`: Output) {
        this.context = value
    }

    /**
     * @param value Specifies the target url of the build status CodeBuild sends to the source provider. The usage of this parameter depends on the source provider.
     */
    @JvmName("pqxuhgldxssgdphn")
    public suspend fun targetUrl(`value`: Output) {
        this.targetUrl = value
    }

    /**
     * @param value Specifies the context of the build status CodeBuild sends to the source provider. The usage of this parameter depends on the source provider.
     */
    @JvmName("iqqkqbkefkyugipk")
    public suspend fun context(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.context = mapped
    }

    /**
     * @param value Specifies the target url of the build status CodeBuild sends to the source provider. The usage of this parameter depends on the source provider.
     */
    @JvmName("jddfamxemaevsork")
    public suspend fun targetUrl(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.targetUrl = mapped
    }

    internal fun build(): ProjectSourceBuildStatusConfigArgs = ProjectSourceBuildStatusConfigArgs(
        context = context,
        targetUrl = targetUrl,
    )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy