com.pulumi.gitlab.kotlin.GroupIssueBoardArgs.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-gitlab-kotlin Show documentation
Show all versions of pulumi-gitlab-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.gitlab.kotlin
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.gitlab.GroupIssueBoardArgs.builder
import com.pulumi.gitlab.kotlin.inputs.GroupIssueBoardListArgs
import com.pulumi.gitlab.kotlin.inputs.GroupIssueBoardListArgsBuilder
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import com.pulumi.kotlin.applySuspend
import kotlin.Int
import kotlin.String
import kotlin.Suppress
import kotlin.Unit
import kotlin.collections.List
import kotlin.jvm.JvmName
/**
* The `gitlab.GroupIssueBoard` resource allows to manage the lifecycle of a issue board in a group.
* > Multiple issue boards on one group requires a GitLab Premium or above License.
* **Upstream API**: [GitLab REST API docs](https://docs.gitlab.com/ee/api/group_boards.html)
* @property group The ID or URL-encoded path of the group owned by the authenticated user.
* @property labels The list of label names which the board should be scoped to.
* @property lists The list of issue board lists.
* @property milestoneId The milestone the board should be scoped to.
* @property name The name of the board.
*/
public data class GroupIssueBoardArgs(
public val group: Output? = null,
public val labels: Output>? = null,
public val lists: Output>? = null,
public val milestoneId: Output? = null,
public val name: Output? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.gitlab.GroupIssueBoardArgs =
com.pulumi.gitlab.GroupIssueBoardArgs.builder()
.group(group?.applyValue({ args0 -> args0 }))
.labels(labels?.applyValue({ args0 -> args0.map({ args0 -> args0 }) }))
.lists(lists?.applyValue({ args0 -> args0.map({ args0 -> args0.let({ args0 -> args0.toJava() }) }) }))
.milestoneId(milestoneId?.applyValue({ args0 -> args0 }))
.name(name?.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [GroupIssueBoardArgs].
*/
@PulumiTagMarker
public class GroupIssueBoardArgsBuilder internal constructor() {
private var group: Output? = null
private var labels: Output>? = null
private var lists: Output>? = null
private var milestoneId: Output? = null
private var name: Output? = null
/**
* @param value The ID or URL-encoded path of the group owned by the authenticated user.
*/
@JvmName("jippxdihyfckgqrj")
public suspend fun group(`value`: Output) {
this.group = value
}
/**
* @param value The list of label names which the board should be scoped to.
*/
@JvmName("wyexmihrrpvcpqgl")
public suspend fun labels(`value`: Output>) {
this.labels = value
}
@JvmName("jhspkkoetcigfmlg")
public suspend fun labels(vararg values: Output) {
this.labels = Output.all(values.asList())
}
/**
* @param values The list of label names which the board should be scoped to.
*/
@JvmName("mllmacivtvackxoy")
public suspend fun labels(values: List
© 2015 - 2024 Weber Informatics LLC | Privacy Policy