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

com.pulumi.gcp.vmwareengine.kotlin.inputs.PrivateCloudManagementClusterStretchedClusterConfigArgs.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.12.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.gcp.vmwareengine.kotlin.inputs

import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.gcp.vmwareengine.inputs.PrivateCloudManagementClusterStretchedClusterConfigArgs.builder
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.String
import kotlin.Suppress
import kotlin.jvm.JvmName

/**
 *
 * @property preferredLocation Zone that will remain operational when connection between the two zones is lost.
 * @property secondaryLocation Additional zone for a higher level of availability and load balancing.
 * - - -
 */
public data class PrivateCloudManagementClusterStretchedClusterConfigArgs(
    public val preferredLocation: Output? = null,
    public val secondaryLocation: Output? = null,
) :
    ConvertibleToJava {
    override fun toJava(): com.pulumi.gcp.vmwareengine.inputs.PrivateCloudManagementClusterStretchedClusterConfigArgs =
        com.pulumi.gcp.vmwareengine.inputs.PrivateCloudManagementClusterStretchedClusterConfigArgs.builder()
            .preferredLocation(preferredLocation?.applyValue({ args0 -> args0 }))
            .secondaryLocation(secondaryLocation?.applyValue({ args0 -> args0 })).build()
}

/**
 * Builder for [PrivateCloudManagementClusterStretchedClusterConfigArgs].
 */
@PulumiTagMarker
public class PrivateCloudManagementClusterStretchedClusterConfigArgsBuilder internal constructor() {
    private var preferredLocation: Output? = null

    private var secondaryLocation: Output? = null

    /**
     * @param value Zone that will remain operational when connection between the two zones is lost.
     */
    @JvmName("ohjxqcbcahvouaup")
    public suspend fun preferredLocation(`value`: Output) {
        this.preferredLocation = value
    }

    /**
     * @param value Additional zone for a higher level of availability and load balancing.
     * - - -
     */
    @JvmName("rqfbjnotruoxrkdw")
    public suspend fun secondaryLocation(`value`: Output) {
        this.secondaryLocation = value
    }

    /**
     * @param value Zone that will remain operational when connection between the two zones is lost.
     */
    @JvmName("ojdhpbjnxqphlpji")
    public suspend fun preferredLocation(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.preferredLocation = mapped
    }

    /**
     * @param value Additional zone for a higher level of availability and load balancing.
     * - - -
     */
    @JvmName("pbxkddoqsedppgey")
    public suspend fun secondaryLocation(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.secondaryLocation = mapped
    }

    internal fun build(): PrivateCloudManagementClusterStretchedClusterConfigArgs =
        PrivateCloudManagementClusterStretchedClusterConfigArgs(
            preferredLocation = preferredLocation,
            secondaryLocation = secondaryLocation,
        )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy