com.pulumi.gcp.containeranalysis.kotlin.inputs.OccurenceAttestationArgs.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.OccurenceAttestationArgs.builder
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiNullFieldException
import com.pulumi.kotlin.PulumiTagMarker
import com.pulumi.kotlin.applySuspend
import kotlin.String
import kotlin.Suppress
import kotlin.Unit
import kotlin.collections.List
import kotlin.jvm.JvmName
/**
*
* @property serializedPayload The serialized payload that is verified by one or
* more signatures. A base64-encoded string.
* @property signatures One or more signatures over serializedPayload.
* Verifier implementations should consider this attestation
* message verified if at least one signature verifies
* serializedPayload. See Signature in common.proto for more
* details on signature structure and verification.
* Structure is documented below.
*/
public data class OccurenceAttestationArgs(
public val serializedPayload: Output,
public val signatures: Output>,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.gcp.containeranalysis.inputs.OccurenceAttestationArgs =
com.pulumi.gcp.containeranalysis.inputs.OccurenceAttestationArgs.builder()
.serializedPayload(serializedPayload.applyValue({ args0 -> args0 }))
.signatures(
signatures.applyValue({ args0 ->
args0.map({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
})
}),
).build()
}
/**
* Builder for [OccurenceAttestationArgs].
*/
@PulumiTagMarker
public class OccurenceAttestationArgsBuilder internal constructor() {
private var serializedPayload: Output? = null
private var signatures: Output>? = null
/**
* @param value The serialized payload that is verified by one or
* more signatures. A base64-encoded string.
*/
@JvmName("qhgpfnquugscngfv")
public suspend fun serializedPayload(`value`: Output) {
this.serializedPayload = value
}
/**
* @param value One or more signatures over serializedPayload.
* Verifier implementations should consider this attestation
* message verified if at least one signature verifies
* serializedPayload. See Signature in common.proto for more
* details on signature structure and verification.
* Structure is documented below.
*/
@JvmName("ybkdobwwfldxmsal")
public suspend fun signatures(`value`: Output>) {
this.signatures = value
}
@JvmName("stlplfsrwsuerkbd")
public suspend fun signatures(vararg values: Output) {
this.signatures = Output.all(values.asList())
}
/**
* @param values One or more signatures over serializedPayload.
* Verifier implementations should consider this attestation
* message verified if at least one signature verifies
* serializedPayload. See Signature in common.proto for more
* details on signature structure and verification.
* Structure is documented below.
*/
@JvmName("avxlbscgbekiiogq")
public suspend fun signatures(values: List
© 2015 - 2024 Weber Informatics LLC | Privacy Policy