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

com.pulumi.azurenative.orbital.kotlin.inputs.ContactProfileLinkArgs.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.orbital.kotlin.inputs

import com.pulumi.azurenative.orbital.inputs.ContactProfileLinkArgs.builder
import com.pulumi.azurenative.orbital.kotlin.enums.Direction
import com.pulumi.azurenative.orbital.kotlin.enums.Polarization
import com.pulumi.core.Either
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 com.pulumi.kotlin.applySuspend
import kotlin.Double
import kotlin.String
import kotlin.Suppress
import kotlin.Unit
import kotlin.collections.List
import kotlin.jvm.JvmName

/**
 * Contact Profile Link.
 * @property channels Contact Profile Link Channel.
 * @property direction Direction (Uplink or Downlink).
 * @property eirpdBW Effective Isotropic Radiated Power (EIRP) in dBW. It is the required EIRP by the customer. Not used yet.
 * @property gainOverTemperature Gain to noise temperature in db/K. It is the required G/T by the customer. Not used yet.
 * @property name Link name.
 * @property polarization Polarization. e.g. (RHCP, LHCP).
 */
public data class ContactProfileLinkArgs(
    public val channels: Output>,
    public val direction: Output>,
    public val eirpdBW: Output? = null,
    public val gainOverTemperature: Output? = null,
    public val name: Output,
    public val polarization: Output>,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.azurenative.orbital.inputs.ContactProfileLinkArgs =
        com.pulumi.azurenative.orbital.inputs.ContactProfileLinkArgs.builder()
            .channels(
                channels.applyValue({ args0 ->
                    args0.map({ args0 ->
                        args0.let({ args0 ->
                            args0.toJava()
                        })
                    })
                }),
            )
            .direction(
                direction.applyValue({ args0 ->
                    args0.transform({ args0 -> args0 }, { args0 ->
                        args0.let({ args0 -> args0.toJava() })
                    })
                }),
            )
            .eirpdBW(eirpdBW?.applyValue({ args0 -> args0 }))
            .gainOverTemperature(gainOverTemperature?.applyValue({ args0 -> args0 }))
            .name(name.applyValue({ args0 -> args0 }))
            .polarization(
                polarization.applyValue({ args0 ->
                    args0.transform({ args0 -> args0 }, { args0 ->
                        args0.let({ args0 -> args0.toJava() })
                    })
                }),
            ).build()
}

/**
 * Builder for [ContactProfileLinkArgs].
 */
@PulumiTagMarker
public class ContactProfileLinkArgsBuilder internal constructor() {
    private var channels: Output>? = null

    private var direction: Output>? = null

    private var eirpdBW: Output? = null

    private var gainOverTemperature: Output? = null

    private var name: Output? = null

    private var polarization: Output>? = null

    /**
     * @param value Contact Profile Link Channel.
     */
    @JvmName("rnxvhxnubkfhnlqf")
    public suspend fun channels(`value`: Output>) {
        this.channels = value
    }

    @JvmName("gewttuyjhnxxsaim")
    public suspend fun channels(vararg values: Output) {
        this.channels = Output.all(values.asList())
    }

    /**
     * @param values Contact Profile Link Channel.
     */
    @JvmName("tntfkklttfqgyass")
    public suspend fun channels(values: List>) {
        this.channels = Output.all(values)
    }

    /**
     * @param value Direction (Uplink or Downlink).
     */
    @JvmName("ubmnnttypuedhmfw")
    public suspend fun direction(`value`: Output>) {
        this.direction = value
    }

    /**
     * @param value Effective Isotropic Radiated Power (EIRP) in dBW. It is the required EIRP by the customer. Not used yet.
     */
    @JvmName("npmisbdvtroipuod")
    public suspend fun eirpdBW(`value`: Output) {
        this.eirpdBW = value
    }

    /**
     * @param value Gain to noise temperature in db/K. It is the required G/T by the customer. Not used yet.
     */
    @JvmName("xgxeyhnwerdlatnc")
    public suspend fun gainOverTemperature(`value`: Output) {
        this.gainOverTemperature = value
    }

    /**
     * @param value Link name.
     */
    @JvmName("xkpdvlmabwlealbd")
    public suspend fun name(`value`: Output) {
        this.name = value
    }

    /**
     * @param value Polarization. e.g. (RHCP, LHCP).
     */
    @JvmName("ffvdrjlbijwchipn")
    public suspend fun polarization(`value`: Output>) {
        this.polarization = value
    }

    /**
     * @param value Contact Profile Link Channel.
     */
    @JvmName("kcwpuxjwobiqbrrd")
    public suspend fun channels(`value`: List) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.channels = mapped
    }

    /**
     * @param argument Contact Profile Link Channel.
     */
    @JvmName("rpwaqxxdmfpasdfg")
    public suspend fun channels(argument: List Unit>) {
        val toBeMapped = argument.toList().map {
            ContactProfileLinkChannelArgsBuilder().applySuspend {
                it()
            }.build()
        }
        val mapped = of(toBeMapped)
        this.channels = mapped
    }

    /**
     * @param argument Contact Profile Link Channel.
     */
    @JvmName("wsxeitxcotyxgixq")
    public suspend fun channels(vararg argument: suspend ContactProfileLinkChannelArgsBuilder.() -> Unit) {
        val toBeMapped = argument.toList().map {
            ContactProfileLinkChannelArgsBuilder().applySuspend {
                it()
            }.build()
        }
        val mapped = of(toBeMapped)
        this.channels = mapped
    }

    /**
     * @param argument Contact Profile Link Channel.
     */
    @JvmName("cpxmciwgqoumebpn")
    public suspend fun channels(argument: suspend ContactProfileLinkChannelArgsBuilder.() -> Unit) {
        val toBeMapped = listOf(
            ContactProfileLinkChannelArgsBuilder().applySuspend {
                argument()
            }.build(),
        )
        val mapped = of(toBeMapped)
        this.channels = mapped
    }

    /**
     * @param values Contact Profile Link Channel.
     */
    @JvmName("hrpntaipnogtpkww")
    public suspend fun channels(vararg values: ContactProfileLinkChannelArgs) {
        val toBeMapped = values.toList()
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.channels = mapped
    }

    /**
     * @param value Direction (Uplink or Downlink).
     */
    @JvmName("ymlrtptgjubiwmmi")
    public suspend fun direction(`value`: Either) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.direction = mapped
    }

    /**
     * @param value Direction (Uplink or Downlink).
     */
    @JvmName("hnxsusywhvfrehao")
    public fun direction(`value`: String) {
        val toBeMapped = Either.ofLeft(value)
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.direction = mapped
    }

    /**
     * @param value Direction (Uplink or Downlink).
     */
    @JvmName("usyfrbjkuxkjhukn")
    public fun direction(`value`: Direction) {
        val toBeMapped = Either.ofRight(value)
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.direction = mapped
    }

    /**
     * @param value Effective Isotropic Radiated Power (EIRP) in dBW. It is the required EIRP by the customer. Not used yet.
     */
    @JvmName("ritjloxaicbjvqre")
    public suspend fun eirpdBW(`value`: Double?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.eirpdBW = mapped
    }

    /**
     * @param value Gain to noise temperature in db/K. It is the required G/T by the customer. Not used yet.
     */
    @JvmName("whsrbmprpnbksuep")
    public suspend fun gainOverTemperature(`value`: Double?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.gainOverTemperature = mapped
    }

    /**
     * @param value Link name.
     */
    @JvmName("bbitwbtjgylrgkfo")
    public suspend fun name(`value`: String) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.name = mapped
    }

    /**
     * @param value Polarization. e.g. (RHCP, LHCP).
     */
    @JvmName("cxeivyiqvcdwpstu")
    public suspend fun polarization(`value`: Either) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.polarization = mapped
    }

    /**
     * @param value Polarization. e.g. (RHCP, LHCP).
     */
    @JvmName("ynueponjocsymsbs")
    public fun polarization(`value`: String) {
        val toBeMapped = Either.ofLeft(value)
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.polarization = mapped
    }

    /**
     * @param value Polarization. e.g. (RHCP, LHCP).
     */
    @JvmName("otehylthcmcthmii")
    public fun polarization(`value`: Polarization) {
        val toBeMapped = Either.ofRight(value)
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.polarization = mapped
    }

    internal fun build(): ContactProfileLinkArgs = ContactProfileLinkArgs(
        channels = channels ?: throw PulumiNullFieldException("channels"),
        direction = direction ?: throw PulumiNullFieldException("direction"),
        eirpdBW = eirpdBW,
        gainOverTemperature = gainOverTemperature,
        name = name ?: throw PulumiNullFieldException("name"),
        polarization = polarization ?: throw PulumiNullFieldException("polarization"),
    )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy