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

com.pulumi.azure.appconfiguration.kotlin.inputs.ConfigurationStoreReplicaArgs.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: 6.15.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.azure.appconfiguration.kotlin.inputs

import com.pulumi.azure.appconfiguration.inputs.ConfigurationStoreReplicaArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiNullFieldException
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.String
import kotlin.Suppress
import kotlin.jvm.JvmName

/**
 *
 * @property endpoint The URL of the App Configuration Replica.
 * @property id The ID of the Access Key.
 * @property location Specifies the supported Azure location where the replica exists.
 * @property name Specifies the name of the replica.
 */
public data class ConfigurationStoreReplicaArgs(
    public val endpoint: Output? = null,
    public val id: Output? = null,
    public val location: Output,
    public val name: Output,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.azure.appconfiguration.inputs.ConfigurationStoreReplicaArgs =
        com.pulumi.azure.appconfiguration.inputs.ConfigurationStoreReplicaArgs.builder()
            .endpoint(endpoint?.applyValue({ args0 -> args0 }))
            .id(id?.applyValue({ args0 -> args0 }))
            .location(location.applyValue({ args0 -> args0 }))
            .name(name.applyValue({ args0 -> args0 })).build()
}

/**
 * Builder for [ConfigurationStoreReplicaArgs].
 */
@PulumiTagMarker
public class ConfigurationStoreReplicaArgsBuilder internal constructor() {
    private var endpoint: Output? = null

    private var id: Output? = null

    private var location: Output? = null

    private var name: Output? = null

    /**
     * @param value The URL of the App Configuration Replica.
     */
    @JvmName("nipfyykrrnsausrq")
    public suspend fun endpoint(`value`: Output) {
        this.endpoint = value
    }

    /**
     * @param value The ID of the Access Key.
     */
    @JvmName("rurfklinupwtkmfp")
    public suspend fun id(`value`: Output) {
        this.id = value
    }

    /**
     * @param value Specifies the supported Azure location where the replica exists.
     */
    @JvmName("atmwhhakjvewmxhr")
    public suspend fun location(`value`: Output) {
        this.location = value
    }

    /**
     * @param value Specifies the name of the replica.
     */
    @JvmName("ayybhffpshoevywy")
    public suspend fun name(`value`: Output) {
        this.name = value
    }

    /**
     * @param value The URL of the App Configuration Replica.
     */
    @JvmName("lbjteriwmfsaeevq")
    public suspend fun endpoint(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.endpoint = mapped
    }

    /**
     * @param value The ID of the Access Key.
     */
    @JvmName("cgmjboyyotdkehet")
    public suspend fun id(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.id = mapped
    }

    /**
     * @param value Specifies the supported Azure location where the replica exists.
     */
    @JvmName("bpehtrdiuromgfwk")
    public suspend fun location(`value`: String) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.location = mapped
    }

    /**
     * @param value Specifies the name of the replica.
     */
    @JvmName("vpsapcchaieuenwv")
    public suspend fun name(`value`: String) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.name = mapped
    }

    internal fun build(): ConfigurationStoreReplicaArgs = ConfigurationStoreReplicaArgs(
        endpoint = endpoint,
        id = id,
        location = location ?: throw PulumiNullFieldException("location"),
        name = name ?: throw PulumiNullFieldException("name"),
    )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy