com.pulumi.azurenative.testbase.kotlin.inputs.TabStateArgs.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.azurenative.testbase.kotlin.inputs
import com.pulumi.azurenative.testbase.inputs.TabStateArgs.builder
import com.pulumi.azurenative.testbase.kotlin.enums.PackageStudioTabs
import com.pulumi.core.Either
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.collections.List
import kotlin.jvm.JvmName
/**
* Specifies current state of tabs.
* @property currentTab Current tab.
* @property visitedTabs visited tabs.
*/
public data class TabStateArgs(
public val currentTab: Output>? = null,
public val visitedTabs: Output>>? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.azurenative.testbase.inputs.TabStateArgs =
com.pulumi.azurenative.testbase.inputs.TabStateArgs.builder()
.currentTab(
currentTab?.applyValue({ args0 ->
args0.transform({ args0 -> args0 }, { args0 ->
args0.let({ args0 -> args0.toJava() })
})
}),
)
.visitedTabs(
visitedTabs?.applyValue({ args0 ->
args0.map({ args0 ->
args0.transform({ args0 ->
args0
}, { args0 -> args0.let({ args0 -> args0.toJava() }) })
})
}),
).build()
}
/**
* Builder for [TabStateArgs].
*/
@PulumiTagMarker
public class TabStateArgsBuilder internal constructor() {
private var currentTab: Output>? = null
private var visitedTabs: Output>>? = null
/**
* @param value Current tab.
*/
@JvmName("yvcsiygqvbnskqam")
public suspend fun currentTab(`value`: Output>) {
this.currentTab = value
}
/**
* @param value visited tabs.
*/
@JvmName("vvbecelggrkvlqfd")
public suspend fun visitedTabs(`value`: Output>>) {
this.visitedTabs = value
}
@JvmName("nyddetwseirggrvx")
public suspend fun visitedTabs(vararg values: Output>) {
this.visitedTabs = Output.all(values.asList())
}
/**
* @param values visited tabs.
*/
@JvmName("lgrynenuvmnegtka")
public suspend fun visitedTabs(values: List