com.pulumi.azurenative.network.kotlin.inputs.ParameterArgs.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.azurenative.network.kotlin.inputs
import com.pulumi.azurenative.network.inputs.ParameterArgs.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
/**
* Parameters for an Action.
* @property asPath List of AS paths.
* @property community List of BGP communities.
* @property routePrefix List of route prefixes.
*/
public data class ParameterArgs(
public val asPath: Output>? = null,
public val community: Output>? = null,
public val routePrefix: Output>? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.azurenative.network.inputs.ParameterArgs =
com.pulumi.azurenative.network.inputs.ParameterArgs.builder()
.asPath(asPath?.applyValue({ args0 -> args0.map({ args0 -> args0 }) }))
.community(community?.applyValue({ args0 -> args0.map({ args0 -> args0 }) }))
.routePrefix(routePrefix?.applyValue({ args0 -> args0.map({ args0 -> args0 }) })).build()
}
/**
* Builder for [ParameterArgs].
*/
@PulumiTagMarker
public class ParameterArgsBuilder internal constructor() {
private var asPath: Output>? = null
private var community: Output>? = null
private var routePrefix: Output>? = null
/**
* @param value List of AS paths.
*/
@JvmName("aibeytjahuhwmkif")
public suspend fun asPath(`value`: Output>) {
this.asPath = value
}
@JvmName("mstpsmgvaaubdntg")
public suspend fun asPath(vararg values: Output) {
this.asPath = Output.all(values.asList())
}
/**
* @param values List of AS paths.
*/
@JvmName("dinvmhmoliuamqje")
public suspend fun asPath(values: List