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

com.pulumi.awsnative.medialive.kotlin.outputs.GetMultiplexResult.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: 1.24.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.awsnative.medialive.kotlin.outputs

import com.pulumi.awsnative.kotlin.outputs.Tag
import com.pulumi.awsnative.medialive.kotlin.enums.MultiplexState
import kotlin.Int
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List

/**
 *
 * @property arn The unique arn of the multiplex.
 * @property destinations A list of the multiplex output destinations.
 * @property id The unique id of the multiplex.
 * @property multiplexSettings Configuration for a multiplex event.
 * @property name Name of multiplex.
 * @property pipelinesRunningCount The number of currently healthy pipelines.
 * @property programCount The number of programs in the multiplex.
 * @property state The current state of the multiplex.
 * @property tags A collection of key-value pairs.
 */
public data class GetMultiplexResult(
    public val arn: String? = null,
    public val destinations: List? = null,
    public val id: String? = null,
    public val multiplexSettings: MultiplexSettings? = null,
    public val name: String? = null,
    public val pipelinesRunningCount: Int? = null,
    public val programCount: Int? = null,
    public val state: MultiplexState? = null,
    public val tags: List? = null,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.awsnative.medialive.outputs.GetMultiplexResult): GetMultiplexResult = GetMultiplexResult(
            arn = javaType.arn().map({ args0 -> args0 }).orElse(null),
            destinations = javaType.destinations().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.awsnative.medialive.kotlin.outputs.MultiplexOutputDestination.Companion.toKotlin(args0)
                })
            }),
            id = javaType.id().map({ args0 -> args0 }).orElse(null),
            multiplexSettings = javaType.multiplexSettings().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.awsnative.medialive.kotlin.outputs.MultiplexSettings.Companion.toKotlin(args0)
                })
            }).orElse(null),
            name = javaType.name().map({ args0 -> args0 }).orElse(null),
            pipelinesRunningCount = javaType.pipelinesRunningCount().map({ args0 -> args0 }).orElse(null),
            programCount = javaType.programCount().map({ args0 -> args0 }).orElse(null),
            state = javaType.state().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.awsnative.medialive.kotlin.enums.MultiplexState.Companion.toKotlin(args0)
                })
            }).orElse(null),
            tags = javaType.tags().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.awsnative.kotlin.outputs.Tag.Companion.toKotlin(args0)
                })
            }),
        )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy