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

com.pulumi.awsnative.groundstation.kotlin.DataflowEndpointGroupArgs.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: 0.122.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.awsnative.groundstation.kotlin

import com.pulumi.awsnative.groundstation.DataflowEndpointGroupArgs.builder
import com.pulumi.awsnative.groundstation.kotlin.inputs.DataflowEndpointGroupEndpointDetailsArgs
import com.pulumi.awsnative.groundstation.kotlin.inputs.DataflowEndpointGroupEndpointDetailsArgsBuilder
import com.pulumi.awsnative.kotlin.inputs.TagArgs
import com.pulumi.awsnative.kotlin.inputs.TagArgsBuilder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import com.pulumi.kotlin.applySuspend
import kotlin.Int
import kotlin.Suppress
import kotlin.Unit
import kotlin.collections.List
import kotlin.jvm.JvmName

/**
 * AWS Ground Station DataflowEndpointGroup schema for CloudFormation
 * ## Example Usage
 * ### Example
 * No Java example available.
 * @property contactPostPassDurationSeconds Amount of time, in seconds, after a contact ends that the Ground Station Dataflow Endpoint Group will be in a POSTPASS state. A Ground Station Dataflow Endpoint Group State Change event will be emitted when the Dataflow Endpoint Group enters and exits the POSTPASS state.
 * @property contactPrePassDurationSeconds Amount of time, in seconds, before a contact starts that the Ground Station Dataflow Endpoint Group will be in a PREPASS state. A Ground Station Dataflow Endpoint Group State Change event will be emitted when the Dataflow Endpoint Group enters and exits the PREPASS state.
 * @property endpointDetails List of Endpoint Details, containing address and port for each endpoint.
 * @property tags Tags assigned to a resource.
 */
public data class DataflowEndpointGroupArgs(
    public val contactPostPassDurationSeconds: Output? = null,
    public val contactPrePassDurationSeconds: Output? = null,
    public val endpointDetails: Output>? = null,
    public val tags: Output>? = null,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.awsnative.groundstation.DataflowEndpointGroupArgs =
        com.pulumi.awsnative.groundstation.DataflowEndpointGroupArgs.builder()
            .contactPostPassDurationSeconds(contactPostPassDurationSeconds?.applyValue({ args0 -> args0 }))
            .contactPrePassDurationSeconds(contactPrePassDurationSeconds?.applyValue({ args0 -> args0 }))
            .endpointDetails(
                endpointDetails?.applyValue({ args0 ->
                    args0.map({ args0 ->
                        args0.let({ args0 ->
                            args0.toJava()
                        })
                    })
                }),
            )
            .tags(
                tags?.applyValue({ args0 ->
                    args0.map({ args0 ->
                        args0.let({ args0 ->
                            args0.toJava()
                        })
                    })
                }),
            ).build()
}

/**
 * Builder for [DataflowEndpointGroupArgs].
 */
@PulumiTagMarker
public class DataflowEndpointGroupArgsBuilder internal constructor() {
    private var contactPostPassDurationSeconds: Output? = null

    private var contactPrePassDurationSeconds: Output? = null

    private var endpointDetails: Output>? = null

    private var tags: Output>? = null

    /**
     * @param value Amount of time, in seconds, after a contact ends that the Ground Station Dataflow Endpoint Group will be in a POSTPASS state. A Ground Station Dataflow Endpoint Group State Change event will be emitted when the Dataflow Endpoint Group enters and exits the POSTPASS state.
     */
    @JvmName("jrvahfncijkvvgfx")
    public suspend fun contactPostPassDurationSeconds(`value`: Output) {
        this.contactPostPassDurationSeconds = value
    }

    /**
     * @param value Amount of time, in seconds, before a contact starts that the Ground Station Dataflow Endpoint Group will be in a PREPASS state. A Ground Station Dataflow Endpoint Group State Change event will be emitted when the Dataflow Endpoint Group enters and exits the PREPASS state.
     */
    @JvmName("ulurttloantqrbxp")
    public suspend fun contactPrePassDurationSeconds(`value`: Output) {
        this.contactPrePassDurationSeconds = value
    }

    /**
     * @param value List of Endpoint Details, containing address and port for each endpoint.
     */
    @JvmName("brfsoaumrsyrfuik")
    public suspend fun endpointDetails(`value`: Output>) {
        this.endpointDetails = value
    }

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

    /**
     * @param values List of Endpoint Details, containing address and port for each endpoint.
     */
    @JvmName("pmjevyvgpygohffx")
    public suspend fun endpointDetails(values: List>) {
        this.endpointDetails = Output.all(values)
    }

    /**
     * @param value Tags assigned to a resource.
     */
    @JvmName("afdqjytouqjeprhi")
    public suspend fun tags(`value`: Output>) {
        this.tags = value
    }

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

    /**
     * @param values Tags assigned to a resource.
     */
    @JvmName("ndfqpxhamyklxjpk")
    public suspend fun tags(values: List>) {
        this.tags = Output.all(values)
    }

    /**
     * @param value Amount of time, in seconds, after a contact ends that the Ground Station Dataflow Endpoint Group will be in a POSTPASS state. A Ground Station Dataflow Endpoint Group State Change event will be emitted when the Dataflow Endpoint Group enters and exits the POSTPASS state.
     */
    @JvmName("rxglaqvsmegyrfvd")
    public suspend fun contactPostPassDurationSeconds(`value`: Int?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.contactPostPassDurationSeconds = mapped
    }

    /**
     * @param value Amount of time, in seconds, before a contact starts that the Ground Station Dataflow Endpoint Group will be in a PREPASS state. A Ground Station Dataflow Endpoint Group State Change event will be emitted when the Dataflow Endpoint Group enters and exits the PREPASS state.
     */
    @JvmName("jhcnrtnylbwprfyk")
    public suspend fun contactPrePassDurationSeconds(`value`: Int?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.contactPrePassDurationSeconds = mapped
    }

    /**
     * @param value List of Endpoint Details, containing address and port for each endpoint.
     */
    @JvmName("qotrumjqafngsdnv")
    public suspend fun endpointDetails(`value`: List?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.endpointDetails = mapped
    }

    /**
     * @param argument List of Endpoint Details, containing address and port for each endpoint.
     */
    @JvmName("oekkplryiahfaptd")
    public suspend fun endpointDetails(argument: List Unit>) {
        val toBeMapped = argument.toList().map {
            DataflowEndpointGroupEndpointDetailsArgsBuilder().applySuspend { it() }.build()
        }
        val mapped = of(toBeMapped)
        this.endpointDetails = mapped
    }

    /**
     * @param argument List of Endpoint Details, containing address and port for each endpoint.
     */
    @JvmName("wrbsfalkmfdvksih")
    public suspend fun endpointDetails(vararg argument: suspend DataflowEndpointGroupEndpointDetailsArgsBuilder.() -> Unit) {
        val toBeMapped = argument.toList().map {
            DataflowEndpointGroupEndpointDetailsArgsBuilder().applySuspend { it() }.build()
        }
        val mapped = of(toBeMapped)
        this.endpointDetails = mapped
    }

    /**
     * @param argument List of Endpoint Details, containing address and port for each endpoint.
     */
    @JvmName("rnmraaihwfnmavgm")
    public suspend fun endpointDetails(argument: suspend DataflowEndpointGroupEndpointDetailsArgsBuilder.() -> Unit) {
        val toBeMapped = listOf(
            DataflowEndpointGroupEndpointDetailsArgsBuilder().applySuspend {
                argument()
            }.build(),
        )
        val mapped = of(toBeMapped)
        this.endpointDetails = mapped
    }

    /**
     * @param values List of Endpoint Details, containing address and port for each endpoint.
     */
    @JvmName("xnfoffrtsifrgcgn")
    public suspend fun endpointDetails(vararg values: DataflowEndpointGroupEndpointDetailsArgs) {
        val toBeMapped = values.toList()
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.endpointDetails = mapped
    }

    /**
     * @param value Tags assigned to a resource.
     */
    @JvmName("bgcgohpmrqhmkavk")
    public suspend fun tags(`value`: List?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.tags = mapped
    }

    /**
     * @param argument Tags assigned to a resource.
     */
    @JvmName("gvocsecmydwuokti")
    public suspend fun tags(argument: List Unit>) {
        val toBeMapped = argument.toList().map { TagArgsBuilder().applySuspend { it() }.build() }
        val mapped = of(toBeMapped)
        this.tags = mapped
    }

    /**
     * @param argument Tags assigned to a resource.
     */
    @JvmName("jobvqvfocyxllmlu")
    public suspend fun tags(vararg argument: suspend TagArgsBuilder.() -> Unit) {
        val toBeMapped = argument.toList().map { TagArgsBuilder().applySuspend { it() }.build() }
        val mapped = of(toBeMapped)
        this.tags = mapped
    }

    /**
     * @param argument Tags assigned to a resource.
     */
    @JvmName("wiptdbwvmsxtspba")
    public suspend fun tags(argument: suspend TagArgsBuilder.() -> Unit) {
        val toBeMapped = listOf(TagArgsBuilder().applySuspend { argument() }.build())
        val mapped = of(toBeMapped)
        this.tags = mapped
    }

    /**
     * @param values Tags assigned to a resource.
     */
    @JvmName("mnyacfigejoetrwf")
    public suspend fun tags(vararg values: TagArgs) {
        val toBeMapped = values.toList()
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.tags = mapped
    }

    internal fun build(): DataflowEndpointGroupArgs = DataflowEndpointGroupArgs(
        contactPostPassDurationSeconds = contactPostPassDurationSeconds,
        contactPrePassDurationSeconds = contactPrePassDurationSeconds,
        endpointDetails = endpointDetails,
        tags = tags,
    )
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy