com.pulumi.gcp.edgecontainer.kotlin.inputs.ClusterControlPlaneEncryptionKmsStatusArgs.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-gcp-kotlin Show documentation
Show all versions of pulumi-gcp-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.gcp.edgecontainer.kotlin.inputs
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.gcp.edgecontainer.inputs.ClusterControlPlaneEncryptionKmsStatusArgs.builder
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.Int
import kotlin.String
import kotlin.Suppress
import kotlin.jvm.JvmName
/**
*
* @property code The status code, which should be an enum value of google.rpc.Code.
* @property message A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.
*/
public data class ClusterControlPlaneEncryptionKmsStatusArgs(
public val code: Output? = null,
public val message: Output? = null,
) :
ConvertibleToJava {
override fun toJava(): com.pulumi.gcp.edgecontainer.inputs.ClusterControlPlaneEncryptionKmsStatusArgs =
com.pulumi.gcp.edgecontainer.inputs.ClusterControlPlaneEncryptionKmsStatusArgs.builder()
.code(code?.applyValue({ args0 -> args0 }))
.message(message?.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [ClusterControlPlaneEncryptionKmsStatusArgs].
*/
@PulumiTagMarker
public class ClusterControlPlaneEncryptionKmsStatusArgsBuilder internal constructor() {
private var code: Output? = null
private var message: Output? = null
/**
* @param value The status code, which should be an enum value of google.rpc.Code.
*/
@JvmName("mskdaviiansramgi")
public suspend fun code(`value`: Output) {
this.code = value
}
/**
* @param value A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.
*/
@JvmName("rqceulrdicrpfagw")
public suspend fun message(`value`: Output) {
this.message = value
}
/**
* @param value The status code, which should be an enum value of google.rpc.Code.
*/
@JvmName("emkadwcusayqpbgu")
public suspend fun code(`value`: Int?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.code = mapped
}
/**
* @param value A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.
*/
@JvmName("fthpldgltqshofse")
public suspend fun message(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.message = mapped
}
internal fun build(): ClusterControlPlaneEncryptionKmsStatusArgs =
ClusterControlPlaneEncryptionKmsStatusArgs(
code = code,
message = message,
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy