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

com.pulumi.awsnative.groundstation.kotlin.DataflowEndpointGroupArgs.kt Maven / Gradle / Ivy

@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("hhesqlalujsuagrt")
    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("hxiqbpcwqajxblny")
    public suspend fun contactPrePassDurationSeconds(`value`: Output) {
        this.contactPrePassDurationSeconds = value
    }

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

    @JvmName("lvucivtcqsdhmnag")
    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("wshqujafsiincxjw")
    public suspend fun endpointDetails(values: List>) {
        this.endpointDetails = Output.all(values)
    }

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

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

    /**
     * @param values Tags assigned to a resource.
     */
    @JvmName("wgmuoacnlogdkawf")
    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("deyphykviqbkibcb")
    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("ympfxjjopnpifwkv")
    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("bigareqxgydywsxv")
    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("boinnwumkptfgeea")
    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("ressicpvsugceepf")
    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("yrbprdscmopddeil")
    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("msrouhyokqpskdeo")
    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("pgscneafxjfmsfjp")
    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("glkpailacuqicqpj")
    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("pcmxvtsmdcqmrkuc")
    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("vjrjopnfgrxymgct")
    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("baigvxdoekjedebx")
    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 - 2025 Weber Informatics LLC | Privacy Policy