![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.awsnative.mediapackagev2.kotlin.outputs.GetChannelResult.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.awsnative.mediapackagev2.kotlin.outputs
import com.pulumi.awsnative.kotlin.outputs.Tag
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List
/**
*
* @property arn The Amazon Resource Name (ARN) associated with the resource.
* @property createdAt The date and time the channel was created.
* @property description Enter any descriptive text that helps you to identify the channel.
* @property ingestEndpointUrls
* @property ingestEndpoints The list of ingest endpoints.
* @property modifiedAt The date and time the channel was modified.
* @property tags The tags associated with the channel.
*/
public data class GetChannelResult(
public val arn: String? = null,
public val createdAt: String? = null,
public val description: String? = null,
public val ingestEndpointUrls: List? = null,
public val ingestEndpoints: List? = null,
public val modifiedAt: String? = null,
public val tags: List? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.awsnative.mediapackagev2.outputs.GetChannelResult): GetChannelResult = GetChannelResult(
arn = javaType.arn().map({ args0 -> args0 }).orElse(null),
createdAt = javaType.createdAt().map({ args0 -> args0 }).orElse(null),
description = javaType.description().map({ args0 -> args0 }).orElse(null),
ingestEndpointUrls = javaType.ingestEndpointUrls().map({ args0 -> args0 }),
ingestEndpoints = javaType.ingestEndpoints().map({ args0 ->
args0.let({ args0 ->
com.pulumi.awsnative.mediapackagev2.kotlin.outputs.ChannelIngestEndpoint.Companion.toKotlin(args0)
})
}),
modifiedAt = javaType.modifiedAt().map({ args0 -> 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