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

com.pulumi.awsnative.networkmanager.kotlin.CustomerGatewayAssociationArgs.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: 1.24.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.awsnative.networkmanager.kotlin

import com.pulumi.awsnative.networkmanager.CustomerGatewayAssociationArgs.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.jvm.JvmName

/**
 * The AWS::NetworkManager::CustomerGatewayAssociation type associates a customer gateway with a device and optionally, with a link.
 * @property customerGatewayArn The Amazon Resource Name (ARN) of the customer gateway.
 * @property deviceId The ID of the device
 * @property globalNetworkId The ID of the global network.
 * @property linkId The ID of the link
 */
public data class CustomerGatewayAssociationArgs(
    public val customerGatewayArn: Output? = null,
    public val deviceId: Output? = null,
    public val globalNetworkId: Output? = null,
    public val linkId: Output? = null,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.awsnative.networkmanager.CustomerGatewayAssociationArgs =
        com.pulumi.awsnative.networkmanager.CustomerGatewayAssociationArgs.builder()
            .customerGatewayArn(customerGatewayArn?.applyValue({ args0 -> args0 }))
            .deviceId(deviceId?.applyValue({ args0 -> args0 }))
            .globalNetworkId(globalNetworkId?.applyValue({ args0 -> args0 }))
            .linkId(linkId?.applyValue({ args0 -> args0 })).build()
}

/**
 * Builder for [CustomerGatewayAssociationArgs].
 */
@PulumiTagMarker
public class CustomerGatewayAssociationArgsBuilder internal constructor() {
    private var customerGatewayArn: Output? = null

    private var deviceId: Output? = null

    private var globalNetworkId: Output? = null

    private var linkId: Output? = null

    /**
     * @param value The Amazon Resource Name (ARN) of the customer gateway.
     */
    @JvmName("mkwtvjlgxojshxga")
    public suspend fun customerGatewayArn(`value`: Output) {
        this.customerGatewayArn = value
    }

    /**
     * @param value The ID of the device
     */
    @JvmName("taomymbuxxhwlcjc")
    public suspend fun deviceId(`value`: Output) {
        this.deviceId = value
    }

    /**
     * @param value The ID of the global network.
     */
    @JvmName("jmircosqajwypdql")
    public suspend fun globalNetworkId(`value`: Output) {
        this.globalNetworkId = value
    }

    /**
     * @param value The ID of the link
     */
    @JvmName("ioksulnvoevtjsqe")
    public suspend fun linkId(`value`: Output) {
        this.linkId = value
    }

    /**
     * @param value The Amazon Resource Name (ARN) of the customer gateway.
     */
    @JvmName("vhqjvobjvanlprbm")
    public suspend fun customerGatewayArn(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.customerGatewayArn = mapped
    }

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

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

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

    internal fun build(): CustomerGatewayAssociationArgs = CustomerGatewayAssociationArgs(
        customerGatewayArn = customerGatewayArn,
        deviceId = deviceId,
        globalNetworkId = globalNetworkId,
        linkId = linkId,
    )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy