com.pulumi.googlenative.compute.alpha.kotlin.inputs.FirewallPolicyAssociationArgs.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.googlenative.compute.alpha.kotlin.inputs
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.googlenative.compute.alpha.inputs.FirewallPolicyAssociationArgs.builder
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.Int
import kotlin.String
import kotlin.Suppress
import kotlin.jvm.JvmName
/**
*
* @property attachmentTarget The target that the firewall policy is attached to.
* @property name The name for an association.
* @property priority An integer indicating the priority of an association. The priority must be a positive value between 1 and 2147483647. Firewall Policies are evaluated from highest to lowest priority where 1 is the highest priority and 2147483647 is the lowest priority. The default value is `1000`. If two associations have the same priority then lexicographical order on association names is applied.
*/
public data class FirewallPolicyAssociationArgs(
public val attachmentTarget: Output? = null,
public val name: Output? = null,
public val priority: Output? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.googlenative.compute.alpha.inputs.FirewallPolicyAssociationArgs = com.pulumi.googlenative.compute.alpha.inputs.FirewallPolicyAssociationArgs.builder()
.attachmentTarget(attachmentTarget?.applyValue({ args0 -> args0 }))
.name(name?.applyValue({ args0 -> args0 }))
.priority(priority?.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [FirewallPolicyAssociationArgs].
*/
@PulumiTagMarker
public class FirewallPolicyAssociationArgsBuilder internal constructor() {
private var attachmentTarget: Output? = null
private var name: Output? = null
private var priority: Output? = null
/**
* @param value The target that the firewall policy is attached to.
*/
@JvmName("cnasppwjpjguejae")
public suspend fun attachmentTarget(`value`: Output) {
this.attachmentTarget = value
}
/**
* @param value The name for an association.
*/
@JvmName("ihlpivbcuncxinjy")
public suspend fun name(`value`: Output) {
this.name = value
}
/**
* @param value An integer indicating the priority of an association. The priority must be a positive value between 1 and 2147483647. Firewall Policies are evaluated from highest to lowest priority where 1 is the highest priority and 2147483647 is the lowest priority. The default value is `1000`. If two associations have the same priority then lexicographical order on association names is applied.
*/
@JvmName("bjoyuhejixuyoyyh")
public suspend fun priority(`value`: Output) {
this.priority = value
}
/**
* @param value The target that the firewall policy is attached to.
*/
@JvmName("hlotosmfcsefhksd")
public suspend fun attachmentTarget(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.attachmentTarget = mapped
}
/**
* @param value The name for an association.
*/
@JvmName("gdvxvduatqaeaqdt")
public suspend fun name(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.name = mapped
}
/**
* @param value An integer indicating the priority of an association. The priority must be a positive value between 1 and 2147483647. Firewall Policies are evaluated from highest to lowest priority where 1 is the highest priority and 2147483647 is the lowest priority. The default value is `1000`. If two associations have the same priority then lexicographical order on association names is applied.
*/
@JvmName("gfoajfmnlekilyus")
public suspend fun priority(`value`: Int?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.priority = mapped
}
internal fun build(): FirewallPolicyAssociationArgs = FirewallPolicyAssociationArgs(
attachmentTarget = attachmentTarget,
name = name,
priority = priority,
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy