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

com.pulumi.azurenative.networkcloud.kotlin.inputs.EndpointDependencyArgs.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: 2.82.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.azurenative.networkcloud.kotlin.inputs

import com.pulumi.azurenative.networkcloud.inputs.EndpointDependencyArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiNullFieldException
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.Double
import kotlin.String
import kotlin.Suppress
import kotlin.jvm.JvmName

/**
 *
 * @property domainName The domain name of the dependency.
 * @property port The port of this endpoint.
 */
public data class EndpointDependencyArgs(
    public val domainName: Output,
    public val port: Output? = null,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.azurenative.networkcloud.inputs.EndpointDependencyArgs =
        com.pulumi.azurenative.networkcloud.inputs.EndpointDependencyArgs.builder()
            .domainName(domainName.applyValue({ args0 -> args0 }))
            .port(port?.applyValue({ args0 -> args0 })).build()
}

/**
 * Builder for [EndpointDependencyArgs].
 */
@PulumiTagMarker
public class EndpointDependencyArgsBuilder internal constructor() {
    private var domainName: Output? = null

    private var port: Output? = null

    /**
     * @param value The domain name of the dependency.
     */
    @JvmName("ewxhouwxmquolvaa")
    public suspend fun domainName(`value`: Output) {
        this.domainName = value
    }

    /**
     * @param value The port of this endpoint.
     */
    @JvmName("vwcjxsnopgekohky")
    public suspend fun port(`value`: Output) {
        this.port = value
    }

    /**
     * @param value The domain name of the dependency.
     */
    @JvmName("usxiwdyrrhcxgnxc")
    public suspend fun domainName(`value`: String) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.domainName = mapped
    }

    /**
     * @param value The port of this endpoint.
     */
    @JvmName("efwjdhwsebiwecpw")
    public suspend fun port(`value`: Double?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.port = mapped
    }

    internal fun build(): EndpointDependencyArgs = EndpointDependencyArgs(
        domainName = domainName ?: throw PulumiNullFieldException("domainName"),
        port = port,
    )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy