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.13.1.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("jqnqkulsyeyjrhjv")
    public suspend fun businessOwners(`value`: Output>) {
        this.businessOwners = value
    }

    @JvmName("btohmuliecvncles")
    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("sscjadxuajyfysrb")
    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("pbxeewdmkxxlneen")
    public suspend fun criticality(`value`: Output) {
        this.criticality = value
    }

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

    @JvmName("ecfpvpcsefkxegtb")
    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("qwajyadiulgfjjyi")
    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("mekjweqqcvhkgbfl")
    public suspend fun environment(`value`: Output) {
        this.environment = value
    }

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

    @JvmName("uhxkhvraximvgoiw")
    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("puwdytfwotpafoso")
    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("yjojcsnutyklbwlw")
    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("jhgqcimljdklxsjp")
    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("pvxtussyofvssteb")
    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("nfsfwihxkwgkwhxa")
    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("ljfqotdenqoesvcg")
    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("usxxecclnrvvqcys")
    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("gnaodgrijjobagth")
    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("vmrqrefoqeiqmepb")
    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("wiknlgoojsaclqng")
    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("dkciysjyjmuggvdv")
    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("eoifagmbcieumwhf")
    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("isgelimqjcrcgybi")
    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("dtvayirbpvubhtio")
    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("dydmxtsfttohtgts")
    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("gydqqvqwggphpkpl")
    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("efykmjkvftwflify")
    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("givwmoivlyeqanol")
    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("xjhthnyadvshobxf")
    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("svrkedotdesjlriw")
    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 - 2025 Weber Informatics LLC | Privacy Policy