![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.digitalocean.kotlin.inputs.AppSpecJobGitArgs.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-digitalocean-kotlin Show documentation
Show all versions of pulumi-digitalocean-kotlin Show documentation
Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.digitalocean.kotlin.inputs
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.digitalocean.inputs.AppSpecJobGitArgs.builder
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.String
import kotlin.Suppress
import kotlin.jvm.JvmName
/**
*
* @property branch The name of the branch to use.
* @property repoCloneUrl The clone URL of the repo.
*/
public data class AppSpecJobGitArgs(
public val branch: Output? = null,
public val repoCloneUrl: Output? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.digitalocean.inputs.AppSpecJobGitArgs =
com.pulumi.digitalocean.inputs.AppSpecJobGitArgs.builder()
.branch(branch?.applyValue({ args0 -> args0 }))
.repoCloneUrl(repoCloneUrl?.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [AppSpecJobGitArgs].
*/
@PulumiTagMarker
public class AppSpecJobGitArgsBuilder internal constructor() {
private var branch: Output? = null
private var repoCloneUrl: Output? = null
/**
* @param value The name of the branch to use.
*/
@JvmName("hiwgfvojclfbqrmh")
public suspend fun branch(`value`: Output) {
this.branch = value
}
/**
* @param value The clone URL of the repo.
*/
@JvmName("yyrpscvnstwxjwak")
public suspend fun repoCloneUrl(`value`: Output) {
this.repoCloneUrl = value
}
/**
* @param value The name of the branch to use.
*/
@JvmName("ektyweoglfiktgfw")
public suspend fun branch(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.branch = mapped
}
/**
* @param value The clone URL of the repo.
*/
@JvmName("wjbvkeoffmdbwrdn")
public suspend fun repoCloneUrl(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.repoCloneUrl = mapped
}
internal fun build(): AppSpecJobGitArgs = AppSpecJobGitArgs(
branch = branch,
repoCloneUrl = repoCloneUrl,
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy