
com.pulumi.googlenative.containeranalysis.v1alpha1.kotlin.inputs.DocumentNoteArgs.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-google-native-kotlin Show documentation
Show all versions of pulumi-google-native-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.
The newest version!
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.googlenative.containeranalysis.v1alpha1.kotlin.inputs
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.googlenative.containeranalysis.v1alpha1.inputs.DocumentNoteArgs.builder
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.String
import kotlin.Suppress
import kotlin.jvm.JvmName
/**
* DocumentNote represents an SPDX Document Creation Infromation section: https://spdx.github.io/spdx-spec/2-document-creation-information/
* @property dataLicence Compliance with the SPDX specification includes populating the SPDX fields therein with data related to such fields ("SPDX-Metadata")
* @property spdxVersion Provide a reference number that can be used to understand how to parse and interpret the rest of the file
*/
public data class DocumentNoteArgs(
public val dataLicence: Output? = null,
public val spdxVersion: Output? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.googlenative.containeranalysis.v1alpha1.inputs.DocumentNoteArgs = com.pulumi.googlenative.containeranalysis.v1alpha1.inputs.DocumentNoteArgs.builder()
.dataLicence(dataLicence?.applyValue({ args0 -> args0 }))
.spdxVersion(spdxVersion?.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [DocumentNoteArgs].
*/
@PulumiTagMarker
public class DocumentNoteArgsBuilder internal constructor() {
private var dataLicence: Output? = null
private var spdxVersion: Output? = null
/**
* @param value Compliance with the SPDX specification includes populating the SPDX fields therein with data related to such fields ("SPDX-Metadata")
*/
@JvmName("norxdbccbosqfxqq")
public suspend fun dataLicence(`value`: Output) {
this.dataLicence = value
}
/**
* @param value Provide a reference number that can be used to understand how to parse and interpret the rest of the file
*/
@JvmName("nhmkubsiirecjwiy")
public suspend fun spdxVersion(`value`: Output) {
this.spdxVersion = value
}
/**
* @param value Compliance with the SPDX specification includes populating the SPDX fields therein with data related to such fields ("SPDX-Metadata")
*/
@JvmName("opnmvuddoqscaitm")
public suspend fun dataLicence(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.dataLicence = mapped
}
/**
* @param value Provide a reference number that can be used to understand how to parse and interpret the rest of the file
*/
@JvmName("tyrukfsuemylbgxs")
public suspend fun spdxVersion(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.spdxVersion = mapped
}
internal fun build(): DocumentNoteArgs = DocumentNoteArgs(
dataLicence = dataLicence,
spdxVersion = spdxVersion,
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy