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

com.pulumi.googlenative.apigee.v1.kotlin.inputs.GoogleCloudApigeeV1GraphQLOperationGroupArgs.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.

The newest version!
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

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

import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.googlenative.apigee.v1.inputs.GoogleCloudApigeeV1GraphQLOperationGroupArgs.builder
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiNullFieldException
import com.pulumi.kotlin.PulumiTagMarker
import com.pulumi.kotlin.applySuspend
import kotlin.String
import kotlin.Suppress
import kotlin.Unit
import kotlin.collections.List
import kotlin.jvm.JvmName

/**
 * List of graphQL operation configuration details associated with Apigee API proxies or remote services. Remote services are non-Apigee proxies, such as Istio-Envoy.
 * @property operationConfigType Flag that specifies whether the configuration is for Apigee API proxy or a remote service. Valid values include `proxy` or `remoteservice`. Defaults to `proxy`. Set to `proxy` when Apigee API proxies are associated with the API product. Set to `remoteservice` when non-Apigee proxies like Istio-Envoy are associated with the API product.
 * @property operationConfigs List of operation configurations for either Apigee API proxies or other remote services that are associated with this API product.
 */
public data class GoogleCloudApigeeV1GraphQLOperationGroupArgs(
    public val operationConfigType: Output? = null,
    public val operationConfigs: Output>,
) :
    ConvertibleToJava {
    override fun toJava(): com.pulumi.googlenative.apigee.v1.inputs.GoogleCloudApigeeV1GraphQLOperationGroupArgs =
        com.pulumi.googlenative.apigee.v1.inputs.GoogleCloudApigeeV1GraphQLOperationGroupArgs.builder()
            .operationConfigType(operationConfigType?.applyValue({ args0 -> args0 }))
            .operationConfigs(
                operationConfigs.applyValue({ args0 ->
                    args0.map({ args0 ->
                        args0.let({ args0 ->
                            args0.toJava()
                        })
                    })
                }),
            ).build()
}

/**
 * Builder for [GoogleCloudApigeeV1GraphQLOperationGroupArgs].
 */
@PulumiTagMarker
public class GoogleCloudApigeeV1GraphQLOperationGroupArgsBuilder internal constructor() {
    private var operationConfigType: Output? = null

    private var operationConfigs: Output>? = null

    /**
     * @param value Flag that specifies whether the configuration is for Apigee API proxy or a remote service. Valid values include `proxy` or `remoteservice`. Defaults to `proxy`. Set to `proxy` when Apigee API proxies are associated with the API product. Set to `remoteservice` when non-Apigee proxies like Istio-Envoy are associated with the API product.
     */
    @JvmName("twonswnhohobnvis")
    public suspend fun operationConfigType(`value`: Output) {
        this.operationConfigType = value
    }

    /**
     * @param value List of operation configurations for either Apigee API proxies or other remote services that are associated with this API product.
     */
    @JvmName("iwpolaovanorwtry")
    public suspend fun operationConfigs(`value`: Output>) {
        this.operationConfigs = value
    }

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

    /**
     * @param values List of operation configurations for either Apigee API proxies or other remote services that are associated with this API product.
     */
    @JvmName("vjimpifrqttlniqn")
    public suspend fun operationConfigs(values: List>) {
        this.operationConfigs = Output.all(values)
    }

    /**
     * @param value Flag that specifies whether the configuration is for Apigee API proxy or a remote service. Valid values include `proxy` or `remoteservice`. Defaults to `proxy`. Set to `proxy` when Apigee API proxies are associated with the API product. Set to `remoteservice` when non-Apigee proxies like Istio-Envoy are associated with the API product.
     */
    @JvmName("msdmqhtygjtgsusk")
    public suspend fun operationConfigType(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.operationConfigType = mapped
    }

    /**
     * @param value List of operation configurations for either Apigee API proxies or other remote services that are associated with this API product.
     */
    @JvmName("wnblelixsrantmcu")
    public suspend fun operationConfigs(`value`: List) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.operationConfigs = mapped
    }

    /**
     * @param argument List of operation configurations for either Apigee API proxies or other remote services that are associated with this API product.
     */
    @JvmName("kxdoguacftojarps")
    public suspend fun operationConfigs(argument: List Unit>) {
        val toBeMapped = argument.toList().map {
            GoogleCloudApigeeV1GraphQLOperationConfigArgsBuilder().applySuspend { it() }.build()
        }
        val mapped = of(toBeMapped)
        this.operationConfigs = mapped
    }

    /**
     * @param argument List of operation configurations for either Apigee API proxies or other remote services that are associated with this API product.
     */
    @JvmName("fxxdyhfxondkchrw")
    public suspend fun operationConfigs(vararg argument: suspend GoogleCloudApigeeV1GraphQLOperationConfigArgsBuilder.() -> Unit) {
        val toBeMapped = argument.toList().map {
            GoogleCloudApigeeV1GraphQLOperationConfigArgsBuilder().applySuspend { it() }.build()
        }
        val mapped = of(toBeMapped)
        this.operationConfigs = mapped
    }

    /**
     * @param argument List of operation configurations for either Apigee API proxies or other remote services that are associated with this API product.
     */
    @JvmName("bpsurcwokcvibxjj")
    public suspend fun operationConfigs(argument: suspend GoogleCloudApigeeV1GraphQLOperationConfigArgsBuilder.() -> Unit) {
        val toBeMapped = listOf(
            GoogleCloudApigeeV1GraphQLOperationConfigArgsBuilder().applySuspend {
                argument()
            }.build(),
        )
        val mapped = of(toBeMapped)
        this.operationConfigs = mapped
    }

    /**
     * @param values List of operation configurations for either Apigee API proxies or other remote services that are associated with this API product.
     */
    @JvmName("jcbmqxfdpgfvqovr")
    public suspend fun operationConfigs(vararg values: GoogleCloudApigeeV1GraphQLOperationConfigArgs) {
        val toBeMapped = values.toList()
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.operationConfigs = mapped
    }

    internal fun build(): GoogleCloudApigeeV1GraphQLOperationGroupArgs =
        GoogleCloudApigeeV1GraphQLOperationGroupArgs(
            operationConfigType = operationConfigType,
            operationConfigs = operationConfigs ?: throw PulumiNullFieldException("operationConfigs"),
        )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy