com.pulumi.azurenative.hybridcompute.kotlin.inputs.ServiceStatusArgs.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.azurenative.hybridcompute.kotlin.inputs
import com.pulumi.azurenative.hybridcompute.inputs.ServiceStatusArgs.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
/**
* Describes the status and behavior of a service.
* @property startupType The behavior of the service when the Arc-enabled machine starts up.
* @property status The current status of the service.
*/
public data class ServiceStatusArgs(
public val startupType: Output? = null,
public val status: Output? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.azurenative.hybridcompute.inputs.ServiceStatusArgs =
com.pulumi.azurenative.hybridcompute.inputs.ServiceStatusArgs.builder()
.startupType(startupType?.applyValue({ args0 -> args0 }))
.status(status?.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [ServiceStatusArgs].
*/
@PulumiTagMarker
public class ServiceStatusArgsBuilder internal constructor() {
private var startupType: Output? = null
private var status: Output? = null
/**
* @param value The behavior of the service when the Arc-enabled machine starts up.
*/
@JvmName("vvucggcjdoddopjq")
public suspend fun startupType(`value`: Output) {
this.startupType = value
}
/**
* @param value The current status of the service.
*/
@JvmName("mmpkrutevtyhvpne")
public suspend fun status(`value`: Output) {
this.status = value
}
/**
* @param value The behavior of the service when the Arc-enabled machine starts up.
*/
@JvmName("vlacrcbewuofhcxl")
public suspend fun startupType(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.startupType = mapped
}
/**
* @param value The current status of the service.
*/
@JvmName("fcpwpvjmnsccnboh")
public suspend fun status(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.status = mapped
}
internal fun build(): ServiceStatusArgs = ServiceStatusArgs(
startupType = startupType,
status = status,
)
}