com.pulumi.gcp.osconfig.kotlin.inputs.OsPolicyAssignmentOsPolicyResourceGroupResourceRepositoryGooArgs.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.OsPolicyAssignmentOsPolicyResourceGroupResourceRepositoryGooArgs.builder
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiNullFieldException
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.String
import kotlin.Suppress
import kotlin.jvm.JvmName
/**
*
* @property name The name of the repository.
* @property url The url of the repository.
*/
public data class OsPolicyAssignmentOsPolicyResourceGroupResourceRepositoryGooArgs(
public val name: Output,
public val url: Output,
) :
ConvertibleToJava {
override fun toJava(): com.pulumi.gcp.osconfig.inputs.OsPolicyAssignmentOsPolicyResourceGroupResourceRepositoryGooArgs =
com.pulumi.gcp.osconfig.inputs.OsPolicyAssignmentOsPolicyResourceGroupResourceRepositoryGooArgs.builder()
.name(name.applyValue({ args0 -> args0 }))
.url(url.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [OsPolicyAssignmentOsPolicyResourceGroupResourceRepositoryGooArgs].
*/
@PulumiTagMarker
public class OsPolicyAssignmentOsPolicyResourceGroupResourceRepositoryGooArgsBuilder internal constructor() {
private var name: Output? = null
private var url: Output? = null
/**
* @param value The name of the repository.
*/
@JvmName("tbrbawisepqlcypg")
public suspend fun name(`value`: Output) {
this.name = value
}
/**
* @param value The url of the repository.
*/
@JvmName("rejprdaxsjkvbsgs")
public suspend fun url(`value`: Output) {
this.url = value
}
/**
* @param value The name of the repository.
*/
@JvmName("jqmnebqpgphpvicm")
public suspend fun name(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.name = mapped
}
/**
* @param value The url of the repository.
*/
@JvmName("ocglmsvnjnkjmgab")
public suspend fun url(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.url = mapped
}
internal fun build(): OsPolicyAssignmentOsPolicyResourceGroupResourceRepositoryGooArgs =
OsPolicyAssignmentOsPolicyResourceGroupResourceRepositoryGooArgs(
name = name ?: throw PulumiNullFieldException("name"),
url = url ?: throw PulumiNullFieldException("url"),
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy