
com.pulumi.awsnative.mediapackagev2.kotlin.outputs.GetOriginEndpointResult.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-aws-native-kotlin Show documentation
Show all versions of pulumi-aws-native-kotlin Show documentation
Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.awsnative.mediapackagev2.kotlin.outputs
import com.pulumi.awsnative.kotlin.outputs.Tag
import com.pulumi.awsnative.mediapackagev2.kotlin.enums.OriginEndpointContainerType
import kotlin.Int
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List
/**
*
* @property arn The Amazon Resource Name (ARN) associated with the resource.
* @property containerType The container type associated with the origin endpoint configuration.
* @property createdAt The date and time the origin endpoint was created.
* @property dashManifestUrls
* @property dashManifests A DASH manifest configuration.
* @property description Enter any descriptive text that helps you to identify the origin endpoint.
* @property forceEndpointErrorConfiguration
* @property hlsManifestUrls
* @property hlsManifests An HTTP live streaming (HLS) manifest configuration.
* @property lowLatencyHlsManifestUrls
* @property lowLatencyHlsManifests A low-latency HLS manifest configuration.
* @property modifiedAt The date and time the origin endpoint was modified.
* @property segment The segment associated with the origin endpoint.
* @property startoverWindowSeconds The size of the window (in seconds) to create a window of the live stream that's available for on-demand viewing. Viewers can start-over or catch-up on content that falls within the window. The maximum startover window is 1,209,600 seconds (14 days).
* @property tags The tags associated with the origin endpoint.
*/
public data class GetOriginEndpointResult(
public val arn: String? = null,
public val containerType: OriginEndpointContainerType? = null,
public val createdAt: String? = null,
public val dashManifestUrls: List? = null,
public val dashManifests: List? = null,
public val description: String? = null,
public val forceEndpointErrorConfiguration: OriginEndpointForceEndpointErrorConfiguration? = null,
public val hlsManifestUrls: List? = null,
public val hlsManifests: List? = null,
public val lowLatencyHlsManifestUrls: List? = null,
public val lowLatencyHlsManifests: List? = null,
public val modifiedAt: String? = null,
public val segment: OriginEndpointSegment? = null,
public val startoverWindowSeconds: Int? = null,
public val tags: List? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.awsnative.mediapackagev2.outputs.GetOriginEndpointResult): GetOriginEndpointResult = GetOriginEndpointResult(
arn = javaType.arn().map({ args0 -> args0 }).orElse(null),
containerType = javaType.containerType().map({ args0 ->
args0.let({ args0 ->
com.pulumi.awsnative.mediapackagev2.kotlin.enums.OriginEndpointContainerType.Companion.toKotlin(args0)
})
}).orElse(null),
createdAt = javaType.createdAt().map({ args0 -> args0 }).orElse(null),
dashManifestUrls = javaType.dashManifestUrls().map({ args0 -> args0 }),
dashManifests = javaType.dashManifests().map({ args0 ->
args0.let({ args0 ->
com.pulumi.awsnative.mediapackagev2.kotlin.outputs.OriginEndpointDashManifestConfiguration.Companion.toKotlin(args0)
})
}),
description = javaType.description().map({ args0 -> args0 }).orElse(null),
forceEndpointErrorConfiguration = javaType.forceEndpointErrorConfiguration().map({ args0 ->
args0.let({ args0 ->
com.pulumi.awsnative.mediapackagev2.kotlin.outputs.OriginEndpointForceEndpointErrorConfiguration.Companion.toKotlin(args0)
})
}).orElse(null),
hlsManifestUrls = javaType.hlsManifestUrls().map({ args0 -> args0 }),
hlsManifests = javaType.hlsManifests().map({ args0 ->
args0.let({ args0 ->
com.pulumi.awsnative.mediapackagev2.kotlin.outputs.OriginEndpointHlsManifestConfiguration.Companion.toKotlin(args0)
})
}),
lowLatencyHlsManifestUrls = javaType.lowLatencyHlsManifestUrls().map({ args0 -> args0 }),
lowLatencyHlsManifests = javaType.lowLatencyHlsManifests().map({ args0 ->
args0.let({ args0 ->
com.pulumi.awsnative.mediapackagev2.kotlin.outputs.OriginEndpointLowLatencyHlsManifestConfiguration.Companion.toKotlin(args0)
})
}),
modifiedAt = javaType.modifiedAt().map({ args0 -> args0 }).orElse(null),
segment = javaType.segment().map({ args0 ->
args0.let({ args0 ->
com.pulumi.awsnative.mediapackagev2.kotlin.outputs.OriginEndpointSegment.Companion.toKotlin(args0)
})
}).orElse(null),
startoverWindowSeconds = javaType.startoverWindowSeconds().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