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

com.pulumi.awsnative.apigateway.kotlin.inputs.DomainNameEndpointConfigurationArgs.kt Maven / Gradle / Ivy

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

package com.pulumi.awsnative.apigateway.kotlin.inputs

import com.pulumi.awsnative.apigateway.inputs.DomainNameEndpointConfigurationArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List
import kotlin.jvm.JvmName

/**
 *
 * @property types A list of endpoint types of an API (RestApi) or its custom domain name (DomainName). For an edge-optimized API and its custom domain name, the endpoint type is `"EDGE"` . For a regional API and its custom domain name, the endpoint type is `REGIONAL` . For a private API, the endpoint type is `PRIVATE` .
 */
public data class DomainNameEndpointConfigurationArgs(
    public val types: Output>? = null,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.awsnative.apigateway.inputs.DomainNameEndpointConfigurationArgs = com.pulumi.awsnative.apigateway.inputs.DomainNameEndpointConfigurationArgs.builder()
        .types(types?.applyValue({ args0 -> args0.map({ args0 -> args0 }) })).build()
}

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

    /**
     * @param value A list of endpoint types of an API (RestApi) or its custom domain name (DomainName). For an edge-optimized API and its custom domain name, the endpoint type is `"EDGE"` . For a regional API and its custom domain name, the endpoint type is `REGIONAL` . For a private API, the endpoint type is `PRIVATE` .
     */
    @JvmName("hukxskiirrrsiirv")
    public suspend fun types(`value`: Output>) {
        this.types = value
    }

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

    /**
     * @param values A list of endpoint types of an API (RestApi) or its custom domain name (DomainName). For an edge-optimized API and its custom domain name, the endpoint type is `"EDGE"` . For a regional API and its custom domain name, the endpoint type is `REGIONAL` . For a private API, the endpoint type is `PRIVATE` .
     */
    @JvmName("hcvtgwhujbmvyowd")
    public suspend fun types(values: List>) {
        this.types = Output.all(values)
    }

    /**
     * @param value A list of endpoint types of an API (RestApi) or its custom domain name (DomainName). For an edge-optimized API and its custom domain name, the endpoint type is `"EDGE"` . For a regional API and its custom domain name, the endpoint type is `REGIONAL` . For a private API, the endpoint type is `PRIVATE` .
     */
    @JvmName("ybjmytchxwfradwx")
    public suspend fun types(`value`: List?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.types = mapped
    }

    /**
     * @param values A list of endpoint types of an API (RestApi) or its custom domain name (DomainName). For an edge-optimized API and its custom domain name, the endpoint type is `"EDGE"` . For a regional API and its custom domain name, the endpoint type is `REGIONAL` . For a private API, the endpoint type is `PRIVATE` .
     */
    @JvmName("fgwnessmqpkaqyov")
    public suspend fun types(vararg values: String) {
        val toBeMapped = values.toList()
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.types = mapped
    }

    internal fun build(): DomainNameEndpointConfigurationArgs = DomainNameEndpointConfigurationArgs(
        types = types,
    )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy