com.pulumi.gcp.containeranalysis.kotlin.inputs.NoteAttestationAuthorityArgs.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.containeranalysis.kotlin.inputs
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.gcp.containeranalysis.inputs.NoteAttestationAuthorityArgs.builder
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiNullFieldException
import com.pulumi.kotlin.PulumiTagMarker
import com.pulumi.kotlin.applySuspend
import kotlin.Suppress
import kotlin.Unit
import kotlin.jvm.JvmName
/**
*
* @property hint This submessage provides human-readable hints about the purpose of
* the AttestationAuthority. Because the name of a Note acts as its
* resource reference, it is important to disambiguate the canonical
* name of the Note (which might be a UUID for security purposes)
* from "readable" names more suitable for debug output. Note that
* these hints should NOT be used to look up AttestationAuthorities
* in security sensitive contexts, such as when looking up
* Attestations to verify.
* Structure is documented below.
*/
public data class NoteAttestationAuthorityArgs(
public val hint: Output,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.gcp.containeranalysis.inputs.NoteAttestationAuthorityArgs =
com.pulumi.gcp.containeranalysis.inputs.NoteAttestationAuthorityArgs.builder()
.hint(hint.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) })).build()
}
/**
* Builder for [NoteAttestationAuthorityArgs].
*/
@PulumiTagMarker
public class NoteAttestationAuthorityArgsBuilder internal constructor() {
private var hint: Output? = null
/**
* @param value This submessage provides human-readable hints about the purpose of
* the AttestationAuthority. Because the name of a Note acts as its
* resource reference, it is important to disambiguate the canonical
* name of the Note (which might be a UUID for security purposes)
* from "readable" names more suitable for debug output. Note that
* these hints should NOT be used to look up AttestationAuthorities
* in security sensitive contexts, such as when looking up
* Attestations to verify.
* Structure is documented below.
*/
@JvmName("solwfwlhdhhpnpai")
public suspend fun hint(`value`: Output) {
this.hint = value
}
/**
* @param value This submessage provides human-readable hints about the purpose of
* the AttestationAuthority. Because the name of a Note acts as its
* resource reference, it is important to disambiguate the canonical
* name of the Note (which might be a UUID for security purposes)
* from "readable" names more suitable for debug output. Note that
* these hints should NOT be used to look up AttestationAuthorities
* in security sensitive contexts, such as when looking up
* Attestations to verify.
* Structure is documented below.
*/
@JvmName("trkymokhojdclkmq")
public suspend fun hint(`value`: NoteAttestationAuthorityHintArgs) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.hint = mapped
}
/**
* @param argument This submessage provides human-readable hints about the purpose of
* the AttestationAuthority. Because the name of a Note acts as its
* resource reference, it is important to disambiguate the canonical
* name of the Note (which might be a UUID for security purposes)
* from "readable" names more suitable for debug output. Note that
* these hints should NOT be used to look up AttestationAuthorities
* in security sensitive contexts, such as when looking up
* Attestations to verify.
* Structure is documented below.
*/
@JvmName("cfqiwauapdkscrie")
public suspend fun hint(argument: suspend NoteAttestationAuthorityHintArgsBuilder.() -> Unit) {
val toBeMapped = NoteAttestationAuthorityHintArgsBuilder().applySuspend { argument() }.build()
val mapped = of(toBeMapped)
this.hint = mapped
}
internal fun build(): NoteAttestationAuthorityArgs = NoteAttestationAuthorityArgs(
hint = hint ?: throw PulumiNullFieldException("hint"),
)
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy