
com.pulumi.azurenative.servicefabricmesh.kotlin.inputs.SecretResourcePropertiesArgs.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.azurenative.servicefabricmesh.kotlin.inputs
import com.pulumi.azurenative.servicefabricmesh.inputs.SecretResourcePropertiesArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiNullFieldException
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.String
import kotlin.Suppress
import kotlin.jvm.JvmName
/**
* Describes the properties of a secret resource.
* @property contentType The type of the content stored in the secret value. The value of this property is opaque to Service Fabric. Once set, the value of this property cannot be changed.
* @property description User readable description of the secret.
* @property kind Describes the kind of secret.
* Expected value is 'SecretResourceProperties'.
*/
public data class SecretResourcePropertiesArgs(
public val contentType: Output? = null,
public val description: Output? = null,
public val kind: Output,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.azurenative.servicefabricmesh.inputs.SecretResourcePropertiesArgs =
com.pulumi.azurenative.servicefabricmesh.inputs.SecretResourcePropertiesArgs.builder()
.contentType(contentType?.applyValue({ args0 -> args0 }))
.description(description?.applyValue({ args0 -> args0 }))
.kind(kind.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [SecretResourcePropertiesArgs].
*/
@PulumiTagMarker
public class SecretResourcePropertiesArgsBuilder internal constructor() {
private var contentType: Output? = null
private var description: Output? = null
private var kind: Output? = null
/**
* @param value The type of the content stored in the secret value. The value of this property is opaque to Service Fabric. Once set, the value of this property cannot be changed.
*/
@JvmName("fpyiprcpotmwuter")
public suspend fun contentType(`value`: Output) {
this.contentType = value
}
/**
* @param value User readable description of the secret.
*/
@JvmName("jkcyvmioodlxfycs")
public suspend fun description(`value`: Output) {
this.description = value
}
/**
* @param value Describes the kind of secret.
* Expected value is 'SecretResourceProperties'.
*/
@JvmName("yjvireuhotlehmkt")
public suspend fun kind(`value`: Output) {
this.kind = value
}
/**
* @param value The type of the content stored in the secret value. The value of this property is opaque to Service Fabric. Once set, the value of this property cannot be changed.
*/
@JvmName("xblmnaqnlevugfmh")
public suspend fun contentType(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.contentType = mapped
}
/**
* @param value User readable description of the secret.
*/
@JvmName("fpmhgdllnnaqakjt")
public suspend fun description(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.description = mapped
}
/**
* @param value Describes the kind of secret.
* Expected value is 'SecretResourceProperties'.
*/
@JvmName("cvvybekhdrkvuyrm")
public suspend fun kind(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.kind = mapped
}
internal fun build(): SecretResourcePropertiesArgs = SecretResourcePropertiesArgs(
contentType = contentType,
description = description,
kind = kind ?: throw PulumiNullFieldException("kind"),
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy