All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.pulumi.gcp.certificateauthority.kotlin.inputs.CertificateTemplatePredefinedValuesAdditionalExtensionObjectIdArgs.kt Maven / Gradle / Ivy

Go to download

Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.

There is a newer version: 8.10.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.gcp.certificateauthority.kotlin.inputs

import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.gcp.certificateauthority.inputs.CertificateTemplatePredefinedValuesAdditionalExtensionObjectIdArgs.builder
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiNullFieldException
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.Int
import kotlin.Suppress
import kotlin.collections.List
import kotlin.jvm.JvmName

/**
 *
 * @property objectIdPaths Required. The parts of an OID path. The most significant parts of the path come first.
 * - - -
 */
public data class CertificateTemplatePredefinedValuesAdditionalExtensionObjectIdArgs(
    public val objectIdPaths: Output>,
) :
    ConvertibleToJava {
    override fun toJava(): com.pulumi.gcp.certificateauthority.inputs.CertificateTemplatePredefinedValuesAdditionalExtensionObjectIdArgs =
        com.pulumi.gcp.certificateauthority.inputs.CertificateTemplatePredefinedValuesAdditionalExtensionObjectIdArgs.builder()
            .objectIdPaths(objectIdPaths.applyValue({ args0 -> args0.map({ args0 -> args0 }) })).build()
}

/**
 * Builder for [CertificateTemplatePredefinedValuesAdditionalExtensionObjectIdArgs].
 */
@PulumiTagMarker
public class CertificateTemplatePredefinedValuesAdditionalExtensionObjectIdArgsBuilder internal constructor() {
    private var objectIdPaths: Output>? = null

    /**
     * @param value Required. The parts of an OID path. The most significant parts of the path come first.
     * - - -
     */
    @JvmName("bpsfjygyguwtkmib")
    public suspend fun objectIdPaths(`value`: Output>) {
        this.objectIdPaths = value
    }

    @JvmName("soiregrcelcymekg")
    public suspend fun objectIdPaths(vararg values: Output) {
        this.objectIdPaths = Output.all(values.asList())
    }

    /**
     * @param values Required. The parts of an OID path. The most significant parts of the path come first.
     * - - -
     */
    @JvmName("enukdnqwurddwxle")
    public suspend fun objectIdPaths(values: List>) {
        this.objectIdPaths = Output.all(values)
    }

    /**
     * @param value Required. The parts of an OID path. The most significant parts of the path come first.
     * - - -
     */
    @JvmName("hgknltlkyarqksvn")
    public suspend fun objectIdPaths(`value`: List) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.objectIdPaths = mapped
    }

    /**
     * @param values Required. The parts of an OID path. The most significant parts of the path come first.
     * - - -
     */
    @JvmName("aihksjpinqxqpltp")
    public suspend fun objectIdPaths(vararg values: Int) {
        val toBeMapped = values.toList()
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.objectIdPaths = mapped
    }

    internal fun build(): CertificateTemplatePredefinedValuesAdditionalExtensionObjectIdArgs =
        CertificateTemplatePredefinedValuesAdditionalExtensionObjectIdArgs(
            objectIdPaths = objectIdPaths ?: throw PulumiNullFieldException("objectIdPaths"),
        )
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy