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

com.pulumi.gcp.vmwareengine.kotlin.inputs.ExternalAccessRuleDestinationIpRangeArgs.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.ExternalAccessRuleDestinationIpRangeArgs.builder
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.String
import kotlin.Suppress
import kotlin.jvm.JvmName

/**
 *
 * @property externalAddress The name of an `ExternalAddress` resource.
 * - - -
 * @property ipAddressRange An IP address range in the CIDR format.
 */
public data class ExternalAccessRuleDestinationIpRangeArgs(
    public val externalAddress: Output? = null,
    public val ipAddressRange: Output? = null,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.gcp.vmwareengine.inputs.ExternalAccessRuleDestinationIpRangeArgs = com.pulumi.gcp.vmwareengine.inputs.ExternalAccessRuleDestinationIpRangeArgs.builder()
        .externalAddress(externalAddress?.applyValue({ args0 -> args0 }))
        .ipAddressRange(ipAddressRange?.applyValue({ args0 -> args0 })).build()
}

/**
 * Builder for [ExternalAccessRuleDestinationIpRangeArgs].
 */
@PulumiTagMarker
public class ExternalAccessRuleDestinationIpRangeArgsBuilder internal constructor() {
    private var externalAddress: Output? = null

    private var ipAddressRange: Output? = null

    /**
     * @param value The name of an `ExternalAddress` resource.
     * - - -
     */
    @JvmName("lqokdjuapvhydxkt")
    public suspend fun externalAddress(`value`: Output) {
        this.externalAddress = value
    }

    /**
     * @param value An IP address range in the CIDR format.
     */
    @JvmName("lavxnbeinrvbojbs")
    public suspend fun ipAddressRange(`value`: Output) {
        this.ipAddressRange = value
    }

    /**
     * @param value The name of an `ExternalAddress` resource.
     * - - -
     */
    @JvmName("eguteblglrfvfnos")
    public suspend fun externalAddress(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.externalAddress = mapped
    }

    /**
     * @param value An IP address range in the CIDR format.
     */
    @JvmName("eocerchpxdgfwfca")
    public suspend fun ipAddressRange(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.ipAddressRange = mapped
    }

    internal fun build(): ExternalAccessRuleDestinationIpRangeArgs =
        ExternalAccessRuleDestinationIpRangeArgs(
            externalAddress = externalAddress,
            ipAddressRange = ipAddressRange,
        )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy