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

com.pulumi.gcp.apigee.kotlin.inputs.OrganizationPropertiesArgs.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.apigee.kotlin.inputs

import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.gcp.apigee.inputs.OrganizationPropertiesArgs.builder
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import com.pulumi.kotlin.applySuspend
import kotlin.Suppress
import kotlin.Unit
import kotlin.collections.List
import kotlin.jvm.JvmName

/**
 *
 * @property properties List of all properties in the object.
 * Structure is documented below.
 */
public data class OrganizationPropertiesArgs(
    public val properties: Output>? = null,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.gcp.apigee.inputs.OrganizationPropertiesArgs =
        com.pulumi.gcp.apigee.inputs.OrganizationPropertiesArgs.builder()
            .properties(
                properties?.applyValue({ args0 ->
                    args0.map({ args0 ->
                        args0.let({ args0 ->
                            args0.toJava()
                        })
                    })
                }),
            ).build()
}

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

    /**
     * @param value List of all properties in the object.
     * Structure is documented below.
     */
    @JvmName("pvilkntpktorbcww")
    public suspend fun properties(`value`: Output>) {
        this.properties = value
    }

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

    /**
     * @param values List of all properties in the object.
     * Structure is documented below.
     */
    @JvmName("npjkkyffaspfajlk")
    public suspend fun properties(values: List>) {
        this.properties = Output.all(values)
    }

    /**
     * @param value List of all properties in the object.
     * Structure is documented below.
     */
    @JvmName("jucgaqryhsntqvmd")
    public suspend fun properties(`value`: List?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.properties = mapped
    }

    /**
     * @param argument List of all properties in the object.
     * Structure is documented below.
     */
    @JvmName("kqbmllfhvrrojxnp")
    public suspend fun properties(argument: List Unit>) {
        val toBeMapped = argument.toList().map {
            OrganizationPropertiesPropertyArgsBuilder().applySuspend { it() }.build()
        }
        val mapped = of(toBeMapped)
        this.properties = mapped
    }

    /**
     * @param argument List of all properties in the object.
     * Structure is documented below.
     */
    @JvmName("cebhefeksyiqwtwn")
    public suspend fun properties(vararg argument: suspend OrganizationPropertiesPropertyArgsBuilder.() -> Unit) {
        val toBeMapped = argument.toList().map {
            OrganizationPropertiesPropertyArgsBuilder().applySuspend { it() }.build()
        }
        val mapped = of(toBeMapped)
        this.properties = mapped
    }

    /**
     * @param argument List of all properties in the object.
     * Structure is documented below.
     */
    @JvmName("tphnpuhxgonvhqtf")
    public suspend fun properties(argument: suspend OrganizationPropertiesPropertyArgsBuilder.() -> Unit) {
        val toBeMapped = listOf(
            OrganizationPropertiesPropertyArgsBuilder().applySuspend {
                argument()
            }.build(),
        )
        val mapped = of(toBeMapped)
        this.properties = mapped
    }

    /**
     * @param values List of all properties in the object.
     * Structure is documented below.
     */
    @JvmName("ihkjeepgqdeknqhy")
    public suspend fun properties(vararg values: OrganizationPropertiesPropertyArgs) {
        val toBeMapped = values.toList()
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.properties = mapped
    }

    internal fun build(): OrganizationPropertiesArgs = OrganizationPropertiesArgs(
        properties = properties,
    )
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy