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

com.pulumi.gcp.apphub.kotlin.inputs.ApplicationAttributesArgs.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.apphub.kotlin.inputs

import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.gcp.apphub.inputs.ApplicationAttributesArgs.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 businessOwners Optional. Business team that ensures user needs are met and value is delivered
 * Structure is documented below.
 * @property criticality Criticality of the Application, Service, or Workload
 * Structure is documented below.
 * @property developerOwners Optional. Developer team that owns development and coding.
 * Structure is documented below.
 * @property environment Environment of the Application, Service, or Workload
 * Structure is documented below.
 * @property operatorOwners Optional. Operator team that ensures runtime and operations.
 * Structure is documented below.
 */
public data class ApplicationAttributesArgs(
    public val businessOwners: Output>? = null,
    public val criticality: Output? = null,
    public val developerOwners: Output>? = null,
    public val environment: Output? = null,
    public val operatorOwners: Output>? = null,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.gcp.apphub.inputs.ApplicationAttributesArgs =
        com.pulumi.gcp.apphub.inputs.ApplicationAttributesArgs.builder()
            .businessOwners(
                businessOwners?.applyValue({ args0 ->
                    args0.map({ args0 ->
                        args0.let({ args0 ->
                            args0.toJava()
                        })
                    })
                }),
            )
            .criticality(criticality?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
            .developerOwners(
                developerOwners?.applyValue({ args0 ->
                    args0.map({ args0 ->
                        args0.let({ args0 ->
                            args0.toJava()
                        })
                    })
                }),
            )
            .environment(environment?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
            .operatorOwners(
                operatorOwners?.applyValue({ args0 ->
                    args0.map({ args0 ->
                        args0.let({ args0 ->
                            args0.toJava()
                        })
                    })
                }),
            ).build()
}

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

    private var criticality: Output? = null

    private var developerOwners: Output>? = null

    private var environment: Output? = null

    private var operatorOwners: Output>? = null

    /**
     * @param value Optional. Business team that ensures user needs are met and value is delivered
     * Structure is documented below.
     */
    @JvmName("cqubohfyhihlkkgp")
    public suspend fun businessOwners(`value`: Output>) {
        this.businessOwners = value
    }

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

    /**
     * @param values Optional. Business team that ensures user needs are met and value is delivered
     * Structure is documented below.
     */
    @JvmName("eeurmsudxrxetlma")
    public suspend fun businessOwners(values: List>) {
        this.businessOwners = Output.all(values)
    }

    /**
     * @param value Criticality of the Application, Service, or Workload
     * Structure is documented below.
     */
    @JvmName("kvemhwjlrytwfvmf")
    public suspend fun criticality(`value`: Output) {
        this.criticality = value
    }

    /**
     * @param value Optional. Developer team that owns development and coding.
     * Structure is documented below.
     */
    @JvmName("mewnohwhmiviuhrb")
    public suspend fun developerOwners(`value`: Output>) {
        this.developerOwners = value
    }

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

    /**
     * @param values Optional. Developer team that owns development and coding.
     * Structure is documented below.
     */
    @JvmName("noylkpaybxrbqwai")
    public suspend fun developerOwners(values: List>) {
        this.developerOwners = Output.all(values)
    }

    /**
     * @param value Environment of the Application, Service, or Workload
     * Structure is documented below.
     */
    @JvmName("dplglxphqnbnfyrp")
    public suspend fun environment(`value`: Output) {
        this.environment = value
    }

    /**
     * @param value Optional. Operator team that ensures runtime and operations.
     * Structure is documented below.
     */
    @JvmName("vkaourcyqdmjgqsd")
    public suspend fun operatorOwners(`value`: Output>) {
        this.operatorOwners = value
    }

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

    /**
     * @param values Optional. Operator team that ensures runtime and operations.
     * Structure is documented below.
     */
    @JvmName("dqdkfakhpulvmjgp")
    public suspend fun operatorOwners(values: List>) {
        this.operatorOwners = Output.all(values)
    }

    /**
     * @param value Optional. Business team that ensures user needs are met and value is delivered
     * Structure is documented below.
     */
    @JvmName("rposjfjvpohblvqe")
    public suspend fun businessOwners(`value`: List?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.businessOwners = mapped
    }

    /**
     * @param argument Optional. Business team that ensures user needs are met and value is delivered
     * Structure is documented below.
     */
    @JvmName("yjxogcoyynhaxknj")
    public suspend fun businessOwners(argument: List Unit>) {
        val toBeMapped = argument.toList().map {
            ApplicationAttributesBusinessOwnerArgsBuilder().applySuspend { it() }.build()
        }
        val mapped = of(toBeMapped)
        this.businessOwners = mapped
    }

    /**
     * @param argument Optional. Business team that ensures user needs are met and value is delivered
     * Structure is documented below.
     */
    @JvmName("uvqhokaiqfsximin")
    public suspend fun businessOwners(vararg argument: suspend ApplicationAttributesBusinessOwnerArgsBuilder.() -> Unit) {
        val toBeMapped = argument.toList().map {
            ApplicationAttributesBusinessOwnerArgsBuilder().applySuspend { it() }.build()
        }
        val mapped = of(toBeMapped)
        this.businessOwners = mapped
    }

    /**
     * @param argument Optional. Business team that ensures user needs are met and value is delivered
     * Structure is documented below.
     */
    @JvmName("ewcjjgpsegonoxcb")
    public suspend fun businessOwners(argument: suspend ApplicationAttributesBusinessOwnerArgsBuilder.() -> Unit) {
        val toBeMapped = listOf(
            ApplicationAttributesBusinessOwnerArgsBuilder().applySuspend {
                argument()
            }.build(),
        )
        val mapped = of(toBeMapped)
        this.businessOwners = mapped
    }

    /**
     * @param values Optional. Business team that ensures user needs are met and value is delivered
     * Structure is documented below.
     */
    @JvmName("vekxbjawmmylggat")
    public suspend fun businessOwners(vararg values: ApplicationAttributesBusinessOwnerArgs) {
        val toBeMapped = values.toList()
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.businessOwners = mapped
    }

    /**
     * @param value Criticality of the Application, Service, or Workload
     * Structure is documented below.
     */
    @JvmName("lexweudrehhlcvnq")
    public suspend fun criticality(`value`: ApplicationAttributesCriticalityArgs?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.criticality = mapped
    }

    /**
     * @param argument Criticality of the Application, Service, or Workload
     * Structure is documented below.
     */
    @JvmName("iarxdkpnmuqcujes")
    public suspend fun criticality(argument: suspend ApplicationAttributesCriticalityArgsBuilder.() -> Unit) {
        val toBeMapped = ApplicationAttributesCriticalityArgsBuilder().applySuspend {
            argument()
        }.build()
        val mapped = of(toBeMapped)
        this.criticality = mapped
    }

    /**
     * @param value Optional. Developer team that owns development and coding.
     * Structure is documented below.
     */
    @JvmName("kxhjtugpkyhvupyu")
    public suspend fun developerOwners(`value`: List?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.developerOwners = mapped
    }

    /**
     * @param argument Optional. Developer team that owns development and coding.
     * Structure is documented below.
     */
    @JvmName("hypmoddinsoskhfj")
    public suspend fun developerOwners(argument: List Unit>) {
        val toBeMapped = argument.toList().map {
            ApplicationAttributesDeveloperOwnerArgsBuilder().applySuspend { it() }.build()
        }
        val mapped = of(toBeMapped)
        this.developerOwners = mapped
    }

    /**
     * @param argument Optional. Developer team that owns development and coding.
     * Structure is documented below.
     */
    @JvmName("wierakawfakctvtl")
    public suspend fun developerOwners(vararg argument: suspend ApplicationAttributesDeveloperOwnerArgsBuilder.() -> Unit) {
        val toBeMapped = argument.toList().map {
            ApplicationAttributesDeveloperOwnerArgsBuilder().applySuspend { it() }.build()
        }
        val mapped = of(toBeMapped)
        this.developerOwners = mapped
    }

    /**
     * @param argument Optional. Developer team that owns development and coding.
     * Structure is documented below.
     */
    @JvmName("dmofjilxcjhpmdgj")
    public suspend fun developerOwners(argument: suspend ApplicationAttributesDeveloperOwnerArgsBuilder.() -> Unit) {
        val toBeMapped = listOf(
            ApplicationAttributesDeveloperOwnerArgsBuilder().applySuspend {
                argument()
            }.build(),
        )
        val mapped = of(toBeMapped)
        this.developerOwners = mapped
    }

    /**
     * @param values Optional. Developer team that owns development and coding.
     * Structure is documented below.
     */
    @JvmName("xluxtjplhwrvbrmv")
    public suspend fun developerOwners(vararg values: ApplicationAttributesDeveloperOwnerArgs) {
        val toBeMapped = values.toList()
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.developerOwners = mapped
    }

    /**
     * @param value Environment of the Application, Service, or Workload
     * Structure is documented below.
     */
    @JvmName("yfeuycsffrcdhayl")
    public suspend fun environment(`value`: ApplicationAttributesEnvironmentArgs?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.environment = mapped
    }

    /**
     * @param argument Environment of the Application, Service, or Workload
     * Structure is documented below.
     */
    @JvmName("elipisbhuocxfsif")
    public suspend fun environment(argument: suspend ApplicationAttributesEnvironmentArgsBuilder.() -> Unit) {
        val toBeMapped = ApplicationAttributesEnvironmentArgsBuilder().applySuspend {
            argument()
        }.build()
        val mapped = of(toBeMapped)
        this.environment = mapped
    }

    /**
     * @param value Optional. Operator team that ensures runtime and operations.
     * Structure is documented below.
     */
    @JvmName("sgtulmiqnddkfnub")
    public suspend fun operatorOwners(`value`: List?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.operatorOwners = mapped
    }

    /**
     * @param argument Optional. Operator team that ensures runtime and operations.
     * Structure is documented below.
     */
    @JvmName("uneorcbnennaskcv")
    public suspend fun operatorOwners(argument: List Unit>) {
        val toBeMapped = argument.toList().map {
            ApplicationAttributesOperatorOwnerArgsBuilder().applySuspend { it() }.build()
        }
        val mapped = of(toBeMapped)
        this.operatorOwners = mapped
    }

    /**
     * @param argument Optional. Operator team that ensures runtime and operations.
     * Structure is documented below.
     */
    @JvmName("bdgrdfqarjgoubok")
    public suspend fun operatorOwners(vararg argument: suspend ApplicationAttributesOperatorOwnerArgsBuilder.() -> Unit) {
        val toBeMapped = argument.toList().map {
            ApplicationAttributesOperatorOwnerArgsBuilder().applySuspend { it() }.build()
        }
        val mapped = of(toBeMapped)
        this.operatorOwners = mapped
    }

    /**
     * @param argument Optional. Operator team that ensures runtime and operations.
     * Structure is documented below.
     */
    @JvmName("owpybucbadqlargv")
    public suspend fun operatorOwners(argument: suspend ApplicationAttributesOperatorOwnerArgsBuilder.() -> Unit) {
        val toBeMapped = listOf(
            ApplicationAttributesOperatorOwnerArgsBuilder().applySuspend {
                argument()
            }.build(),
        )
        val mapped = of(toBeMapped)
        this.operatorOwners = mapped
    }

    /**
     * @param values Optional. Operator team that ensures runtime and operations.
     * Structure is documented below.
     */
    @JvmName("ecsumethnnxbuglb")
    public suspend fun operatorOwners(vararg values: ApplicationAttributesOperatorOwnerArgs) {
        val toBeMapped = values.toList()
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.operatorOwners = mapped
    }

    internal fun build(): ApplicationAttributesArgs = ApplicationAttributesArgs(
        businessOwners = businessOwners,
        criticality = criticality,
        developerOwners = developerOwners,
        environment = environment,
        operatorOwners = operatorOwners,
    )
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy