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

com.pulumi.gcp.dns.kotlin.inputs.ResponsePolicyNetworkArgs.kt Maven / Gradle / Ivy

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

package com.pulumi.gcp.dns.kotlin.inputs

import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.gcp.dns.inputs.ResponsePolicyNetworkArgs.builder
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiNullFieldException
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.String
import kotlin.Suppress
import kotlin.jvm.JvmName

/**
 *
 * @property networkUrl The fully qualified URL of the VPC network to bind to.
 * This should be formatted like
 * `https://www.googleapis.com/compute/v1/projects/{project}/global/networks/{network}`
 */
public data class ResponsePolicyNetworkArgs(
    public val networkUrl: Output,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.gcp.dns.inputs.ResponsePolicyNetworkArgs =
        com.pulumi.gcp.dns.inputs.ResponsePolicyNetworkArgs.builder()
            .networkUrl(networkUrl.applyValue({ args0 -> args0 })).build()
}

/**
 * Builder for [ResponsePolicyNetworkArgs].
 */
@PulumiTagMarker
public class ResponsePolicyNetworkArgsBuilder internal constructor() {
    private var networkUrl: Output? = null

    /**
     * @param value The fully qualified URL of the VPC network to bind to.
     * This should be formatted like
     * `https://www.googleapis.com/compute/v1/projects/{project}/global/networks/{network}`
     */
    @JvmName("mfskvxcoostifpfx")
    public suspend fun networkUrl(`value`: Output) {
        this.networkUrl = value
    }

    /**
     * @param value The fully qualified URL of the VPC network to bind to.
     * This should be formatted like
     * `https://www.googleapis.com/compute/v1/projects/{project}/global/networks/{network}`
     */
    @JvmName("ajkmysdtylavtfwv")
    public suspend fun networkUrl(`value`: String) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.networkUrl = mapped
    }

    internal fun build(): ResponsePolicyNetworkArgs = ResponsePolicyNetworkArgs(
        networkUrl = networkUrl ?: throw PulumiNullFieldException("networkUrl"),
    )
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy