com.pulumi.gcp.osconfig.kotlin.inputs.GuestPoliciesRecipeArtifactRemoteArgs.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.osconfig.kotlin.inputs
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.gcp.osconfig.inputs.GuestPoliciesRecipeArtifactRemoteArgs.builder
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.String
import kotlin.Suppress
import kotlin.jvm.JvmName
/**
*
* @property checkSum Must be provided if allowInsecure is false. SHA256 checksum in hex format, to compare to the checksum of the artifact.
* If the checksum is not empty and it doesn't match the artifact then the recipe installation fails before running any
* of the steps.
* @property uri URI from which to fetch the object. It should contain both the protocol and path following the format {protocol}://{location}.
*/
public data class GuestPoliciesRecipeArtifactRemoteArgs(
public val checkSum: Output? = null,
public val uri: Output? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.gcp.osconfig.inputs.GuestPoliciesRecipeArtifactRemoteArgs =
com.pulumi.gcp.osconfig.inputs.GuestPoliciesRecipeArtifactRemoteArgs.builder()
.checkSum(checkSum?.applyValue({ args0 -> args0 }))
.uri(uri?.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [GuestPoliciesRecipeArtifactRemoteArgs].
*/
@PulumiTagMarker
public class GuestPoliciesRecipeArtifactRemoteArgsBuilder internal constructor() {
private var checkSum: Output? = null
private var uri: Output? = null
/**
* @param value Must be provided if allowInsecure is false. SHA256 checksum in hex format, to compare to the checksum of the artifact.
* If the checksum is not empty and it doesn't match the artifact then the recipe installation fails before running any
* of the steps.
*/
@JvmName("hbthepsegkstjypt")
public suspend fun checkSum(`value`: Output) {
this.checkSum = value
}
/**
* @param value URI from which to fetch the object. It should contain both the protocol and path following the format {protocol}://{location}.
*/
@JvmName("smsmtwkmpyrcqjdi")
public suspend fun uri(`value`: Output) {
this.uri = value
}
/**
* @param value Must be provided if allowInsecure is false. SHA256 checksum in hex format, to compare to the checksum of the artifact.
* If the checksum is not empty and it doesn't match the artifact then the recipe installation fails before running any
* of the steps.
*/
@JvmName("wqvvrcdelpbexquv")
public suspend fun checkSum(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.checkSum = mapped
}
/**
* @param value URI from which to fetch the object. It should contain both the protocol and path following the format {protocol}://{location}.
*/
@JvmName("vwqnunqoqtsojqrj")
public suspend fun uri(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.uri = mapped
}
internal fun build(): GuestPoliciesRecipeArtifactRemoteArgs =
GuestPoliciesRecipeArtifactRemoteArgs(
checkSum = checkSum,
uri = uri,
)
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy