com.pulumi.gcp.osconfig.kotlin.inputs.OsPolicyAssignmentOsPolicyResourceGroupResourceRepositoryYumArgs.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.OsPolicyAssignmentOsPolicyResourceGroupResourceRepositoryYumArgs.builder
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiNullFieldException
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List
import kotlin.jvm.JvmName
/**
*
* @property baseUrl The location of the repository directory.
* @property displayName The display name of the repository.
* @property gpgKeys URIs of GPG keys.
* @property id A one word, unique name for this repository. This is the
* `repo id` in the yum config file and also the `display_name` if
* `display_name` is omitted. This id is also used as the unique identifier
* when checking for resource conflicts.
*/
public data class OsPolicyAssignmentOsPolicyResourceGroupResourceRepositoryYumArgs(
public val baseUrl: Output,
public val displayName: Output? = null,
public val gpgKeys: Output>? = null,
public val id: Output,
) :
ConvertibleToJava {
override fun toJava(): com.pulumi.gcp.osconfig.inputs.OsPolicyAssignmentOsPolicyResourceGroupResourceRepositoryYumArgs =
com.pulumi.gcp.osconfig.inputs.OsPolicyAssignmentOsPolicyResourceGroupResourceRepositoryYumArgs.builder()
.baseUrl(baseUrl.applyValue({ args0 -> args0 }))
.displayName(displayName?.applyValue({ args0 -> args0 }))
.gpgKeys(gpgKeys?.applyValue({ args0 -> args0.map({ args0 -> args0 }) }))
.id(id.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [OsPolicyAssignmentOsPolicyResourceGroupResourceRepositoryYumArgs].
*/
@PulumiTagMarker
public class OsPolicyAssignmentOsPolicyResourceGroupResourceRepositoryYumArgsBuilder internal constructor() {
private var baseUrl: Output? = null
private var displayName: Output? = null
private var gpgKeys: Output>? = null
private var id: Output? = null
/**
* @param value The location of the repository directory.
*/
@JvmName("hjmfassscmapxvqs")
public suspend fun baseUrl(`value`: Output) {
this.baseUrl = value
}
/**
* @param value The display name of the repository.
*/
@JvmName("brfkusiwlsldthpk")
public suspend fun displayName(`value`: Output) {
this.displayName = value
}
/**
* @param value URIs of GPG keys.
*/
@JvmName("esarqeshgaqhixum")
public suspend fun gpgKeys(`value`: Output>) {
this.gpgKeys = value
}
@JvmName("awsufutybgddlxhb")
public suspend fun gpgKeys(vararg values: Output) {
this.gpgKeys = Output.all(values.asList())
}
/**
* @param values URIs of GPG keys.
*/
@JvmName("cewymvvewvhofriv")
public suspend fun gpgKeys(values: List