com.pulumi.gcp.osconfig.kotlin.inputs.GuestPoliciesRecipeArtifactGcsArgs.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.GuestPoliciesRecipeArtifactGcsArgs.builder
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.Int
import kotlin.String
import kotlin.Suppress
import kotlin.jvm.JvmName
/**
*
* @property bucket Bucket of the Google Cloud Storage object. Given an example URL: https://storage.googleapis.com/my-bucket/foo/bar#1234567
* this value would be my-bucket.
* @property generation Must be provided if allowInsecure is false. Generation number of the Google Cloud Storage object.
* https://storage.googleapis.com/my-bucket/foo/bar#1234567 this value would be 1234567.
* @property object Name of the Google Cloud Storage object. Given an example URL: https://storage.googleapis.com/my-bucket/foo/bar#1234567
* this value would be foo/bar.
*/
public data class GuestPoliciesRecipeArtifactGcsArgs(
public val bucket: Output? = null,
public val generation: Output? = null,
public val `object`: Output? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.gcp.osconfig.inputs.GuestPoliciesRecipeArtifactGcsArgs =
com.pulumi.gcp.osconfig.inputs.GuestPoliciesRecipeArtifactGcsArgs.builder()
.bucket(bucket?.applyValue({ args0 -> args0 }))
.generation(generation?.applyValue({ args0 -> args0 }))
.`object`(`object`?.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [GuestPoliciesRecipeArtifactGcsArgs].
*/
@PulumiTagMarker
public class GuestPoliciesRecipeArtifactGcsArgsBuilder internal constructor() {
private var bucket: Output? = null
private var generation: Output? = null
private var `object`: Output? = null
/**
* @param value Bucket of the Google Cloud Storage object. Given an example URL: https://storage.googleapis.com/my-bucket/foo/bar#1234567
* this value would be my-bucket.
*/
@JvmName("rxmtiibrccphrexf")
public suspend fun bucket(`value`: Output) {
this.bucket = value
}
/**
* @param value Must be provided if allowInsecure is false. Generation number of the Google Cloud Storage object.
* https://storage.googleapis.com/my-bucket/foo/bar#1234567 this value would be 1234567.
*/
@JvmName("ruaulpejvdjyvkeu")
public suspend fun generation(`value`: Output) {
this.generation = value
}
/**
* @param value Name of the Google Cloud Storage object. Given an example URL: https://storage.googleapis.com/my-bucket/foo/bar#1234567
* this value would be foo/bar.
*/
@JvmName("cbwbudiauohdgaso")
public suspend fun `object`(`value`: Output) {
this.`object` = value
}
/**
* @param value Bucket of the Google Cloud Storage object. Given an example URL: https://storage.googleapis.com/my-bucket/foo/bar#1234567
* this value would be my-bucket.
*/
@JvmName("truogqjavluinpiy")
public suspend fun bucket(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.bucket = mapped
}
/**
* @param value Must be provided if allowInsecure is false. Generation number of the Google Cloud Storage object.
* https://storage.googleapis.com/my-bucket/foo/bar#1234567 this value would be 1234567.
*/
@JvmName("yrfinvtomqqnymfy")
public suspend fun generation(`value`: Int?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.generation = mapped
}
/**
* @param value Name of the Google Cloud Storage object. Given an example URL: https://storage.googleapis.com/my-bucket/foo/bar#1234567
* this value would be foo/bar.
*/
@JvmName("inrvtwbrmvcnjnry")
public suspend fun `object`(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.`object` = mapped
}
internal fun build(): GuestPoliciesRecipeArtifactGcsArgs = GuestPoliciesRecipeArtifactGcsArgs(
bucket = bucket,
generation = generation,
`object` = `object`,
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy