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

com.pulumi.googlenative.privateca.v1.kotlin.inputs.ObjectIdArgs.kt Maven / Gradle / Ivy

@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.googlenative.privateca.v1.kotlin.inputs

import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.googlenative.privateca.v1.inputs.ObjectIdArgs.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

/**
 * An ObjectId specifies an object identifier (OID). These provide context and describe types in ASN.1 messages.
 * @property objectIdPath The parts of an OID path. The most significant parts of the path come first.
 */
public data class ObjectIdArgs(
    public val objectIdPath: Output>,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.googlenative.privateca.v1.inputs.ObjectIdArgs =
        com.pulumi.googlenative.privateca.v1.inputs.ObjectIdArgs.builder()
            .objectIdPath(objectIdPath.applyValue({ args0 -> args0.map({ args0 -> args0 }) })).build()
}

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

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

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

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

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

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

    internal fun build(): ObjectIdArgs = ObjectIdArgs(
        objectIdPath = objectIdPath ?: throw PulumiNullFieldException("objectIdPath"),
    )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy