![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.awsnative.mediatailor.kotlin.outputs.GetSourceLocationResult.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.awsnative.mediatailor.kotlin.outputs
import com.pulumi.awsnative.kotlin.outputs.Tag
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List
/**
*
* @property accessConfiguration The access configuration for the source location.
* @property arn The ARN of the source location.
* @property defaultSegmentDeliveryConfiguration The default segment delivery configuration.
* @property httpConfiguration The HTTP configuration for the source location.
* @property segmentDeliveryConfigurations A list of the segment delivery configurations associated with this resource.
* @property tags The tags to assign to the source location.
*/
public data class GetSourceLocationResult(
public val accessConfiguration: SourceLocationAccessConfiguration? = null,
public val arn: String? = null,
public val defaultSegmentDeliveryConfiguration: SourceLocationDefaultSegmentDeliveryConfiguration? =
null,
public val httpConfiguration: SourceLocationHttpConfiguration? = null,
public val segmentDeliveryConfigurations: List? =
null,
public val tags: List? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.awsnative.mediatailor.outputs.GetSourceLocationResult): GetSourceLocationResult = GetSourceLocationResult(
accessConfiguration = javaType.accessConfiguration().map({ args0 ->
args0.let({ args0 ->
com.pulumi.awsnative.mediatailor.kotlin.outputs.SourceLocationAccessConfiguration.Companion.toKotlin(args0)
})
}).orElse(null),
arn = javaType.arn().map({ args0 -> args0 }).orElse(null),
defaultSegmentDeliveryConfiguration = javaType.defaultSegmentDeliveryConfiguration().map({ args0 ->
args0.let({ args0 ->
com.pulumi.awsnative.mediatailor.kotlin.outputs.SourceLocationDefaultSegmentDeliveryConfiguration.Companion.toKotlin(args0)
})
}).orElse(null),
httpConfiguration = javaType.httpConfiguration().map({ args0 ->
args0.let({ args0 ->
com.pulumi.awsnative.mediatailor.kotlin.outputs.SourceLocationHttpConfiguration.Companion.toKotlin(args0)
})
}).orElse(null),
segmentDeliveryConfigurations = javaType.segmentDeliveryConfigurations().map({ args0 ->
args0.let({ args0 ->
com.pulumi.awsnative.mediatailor.kotlin.outputs.SourceLocationSegmentDeliveryConfiguration.Companion.toKotlin(args0)
})
}),
tags = javaType.tags().map({ args0 ->
args0.let({ args0 ->
com.pulumi.awsnative.kotlin.outputs.Tag.Companion.toKotlin(args0)
})
}),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy