![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.azurenative.powerbi.kotlin.inputs.ConnectionStateArgs.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-azure-native-kotlin Show documentation
Show all versions of pulumi-azure-native-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.azurenative.powerbi.kotlin.inputs
import com.pulumi.azurenative.powerbi.inputs.ConnectionStateArgs.builder
import com.pulumi.azurenative.powerbi.kotlin.enums.PersistedConnectionStatus
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.jvm.JvmName
/**
* ConnectionState information.
* @property actionsRequired Actions required (if any).
* @property description Description of the connection state.
* @property status Status of the connection.
*/
public data class ConnectionStateArgs(
public val actionsRequired: Output? = null,
public val description: Output? = null,
public val status: Output>? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.azurenative.powerbi.inputs.ConnectionStateArgs =
com.pulumi.azurenative.powerbi.inputs.ConnectionStateArgs.builder()
.actionsRequired(actionsRequired?.applyValue({ args0 -> args0 }))
.description(description?.applyValue({ args0 -> args0 }))
.status(
status?.applyValue({ args0 ->
args0.transform({ args0 -> args0 }, { args0 ->
args0.let({ args0 -> args0.toJava() })
})
}),
).build()
}
/**
* Builder for [ConnectionStateArgs].
*/
@PulumiTagMarker
public class ConnectionStateArgsBuilder internal constructor() {
private var actionsRequired: Output? = null
private var description: Output? = null
private var status: Output>? = null
/**
* @param value Actions required (if any).
*/
@JvmName("vccpirkanlreuuru")
public suspend fun actionsRequired(`value`: Output) {
this.actionsRequired = value
}
/**
* @param value Description of the connection state.
*/
@JvmName("cwtagecnfndiptmf")
public suspend fun description(`value`: Output) {
this.description = value
}
/**
* @param value Status of the connection.
*/
@JvmName("hyajdailrukfciiq")
public suspend fun status(`value`: Output>) {
this.status = value
}
/**
* @param value Actions required (if any).
*/
@JvmName("tjgjwryrfgydddey")
public suspend fun actionsRequired(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.actionsRequired = mapped
}
/**
* @param value Description of the connection state.
*/
@JvmName("uwyyfgrcreuqakuh")
public suspend fun description(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.description = mapped
}
/**
* @param value Status of the connection.
*/
@JvmName("oyciueeefhpsgenl")
public suspend fun status(`value`: Either?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.status = mapped
}
/**
* @param value Status of the connection.
*/
@JvmName("mssndmvvpwlasdqn")
public fun status(`value`: String) {
val toBeMapped = Either.ofLeft(value)
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.status = mapped
}
/**
* @param value Status of the connection.
*/
@JvmName("weolqopahnwxedwb")
public fun status(`value`: PersistedConnectionStatus) {
val toBeMapped = Either.ofRight(value)
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.status = mapped
}
internal fun build(): ConnectionStateArgs = ConnectionStateArgs(
actionsRequired = actionsRequired,
description = description,
status = status,
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy