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

com.pulumi.googlenative.compute.v1.kotlin.inputs.FirewallPolicyAssociationArgs.kt Maven / Gradle / Ivy

@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.googlenative.compute.v1.kotlin.inputs

import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.googlenative.compute.v1.inputs.FirewallPolicyAssociationArgs.builder
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
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.
 */
public data class FirewallPolicyAssociationArgs(
    public val attachmentTarget: Output? = null,
    public val name: Output? = null,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.googlenative.compute.v1.inputs.FirewallPolicyAssociationArgs =
        com.pulumi.googlenative.compute.v1.inputs.FirewallPolicyAssociationArgs.builder()
            .attachmentTarget(attachmentTarget?.applyValue({ args0 -> args0 }))
            .name(name?.applyValue({ args0 -> args0 })).build()
}

/**
 * Builder for [FirewallPolicyAssociationArgs].
 */
@PulumiTagMarker
public class FirewallPolicyAssociationArgsBuilder internal constructor() {
    private var attachmentTarget: Output? = null

    private var name: Output? = null

    /**
     * @param value The target that the firewall policy is attached to.
     */
    @JvmName("msfpexoqmcwregkc")
    public suspend fun attachmentTarget(`value`: Output) {
        this.attachmentTarget = value
    }

    /**
     * @param value The name for an association.
     */
    @JvmName("fwpwiyvqedcqrade")
    public suspend fun name(`value`: Output) {
        this.name = value
    }

    /**
     * @param value The target that the firewall policy is attached to.
     */
    @JvmName("qvvtonqslsrcqivv")
    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("vbnweerlfkbpfyhw")
    public suspend fun name(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.name = mapped
    }

    internal fun build(): FirewallPolicyAssociationArgs = FirewallPolicyAssociationArgs(
        attachmentTarget = attachmentTarget,
        name = name,
    )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy