![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.awsnative.mediatailor.kotlin.SourceLocationArgs.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.awsnative.mediatailor.kotlin
import com.pulumi.awsnative.kotlin.inputs.TagArgs
import com.pulumi.awsnative.kotlin.inputs.TagArgsBuilder
import com.pulumi.awsnative.mediatailor.SourceLocationArgs.builder
import com.pulumi.awsnative.mediatailor.kotlin.inputs.SourceLocationAccessConfigurationArgs
import com.pulumi.awsnative.mediatailor.kotlin.inputs.SourceLocationAccessConfigurationArgsBuilder
import com.pulumi.awsnative.mediatailor.kotlin.inputs.SourceLocationDefaultSegmentDeliveryConfigurationArgs
import com.pulumi.awsnative.mediatailor.kotlin.inputs.SourceLocationDefaultSegmentDeliveryConfigurationArgsBuilder
import com.pulumi.awsnative.mediatailor.kotlin.inputs.SourceLocationHttpConfigurationArgs
import com.pulumi.awsnative.mediatailor.kotlin.inputs.SourceLocationHttpConfigurationArgsBuilder
import com.pulumi.awsnative.mediatailor.kotlin.inputs.SourceLocationSegmentDeliveryConfigurationArgs
import com.pulumi.awsnative.mediatailor.kotlin.inputs.SourceLocationSegmentDeliveryConfigurationArgsBuilder
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.String
import kotlin.Suppress
import kotlin.Unit
import kotlin.collections.List
import kotlin.jvm.JvmName
/**
* Definition of AWS::MediaTailor::SourceLocation Resource Type
* @property accessConfiguration The access configuration for 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 sourceLocationName The name of the source location.
* @property tags The tags to assign to the source location.
*/
public data class SourceLocationArgs(
public val accessConfiguration: Output? = null,
public val defaultSegmentDeliveryConfiguration: Output? = null,
public val httpConfiguration: Output? = null,
public val segmentDeliveryConfigurations: Output>? = null,
public val sourceLocationName: Output? = null,
public val tags: Output>? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.awsnative.mediatailor.SourceLocationArgs =
com.pulumi.awsnative.mediatailor.SourceLocationArgs.builder()
.accessConfiguration(
accessConfiguration?.applyValue({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
}),
)
.defaultSegmentDeliveryConfiguration(
defaultSegmentDeliveryConfiguration?.applyValue({ args0 ->
args0.let({ args0 -> args0.toJava() })
}),
)
.httpConfiguration(httpConfiguration?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
.segmentDeliveryConfigurations(
segmentDeliveryConfigurations?.applyValue({ args0 ->
args0.map({ args0 -> args0.let({ args0 -> args0.toJava() }) })
}),
)
.sourceLocationName(sourceLocationName?.applyValue({ args0 -> args0 }))
.tags(
tags?.applyValue({ args0 ->
args0.map({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
})
}),
).build()
}
/**
* Builder for [SourceLocationArgs].
*/
@PulumiTagMarker
public class SourceLocationArgsBuilder internal constructor() {
private var accessConfiguration: Output? = null
private var defaultSegmentDeliveryConfiguration:
Output? = null
private var httpConfiguration: Output? = null
private var segmentDeliveryConfigurations:
Output>? = null
private var sourceLocationName: Output? = null
private var tags: Output>? = null
/**
* @param value The access configuration for the source location.
*/
@JvmName("xvfaahjujoahqsol")
public suspend fun accessConfiguration(`value`: Output) {
this.accessConfiguration = value
}
/**
* @param value The default segment delivery configuration.
*/
@JvmName("xicllwipkeavhdbx")
public suspend fun defaultSegmentDeliveryConfiguration(`value`: Output) {
this.defaultSegmentDeliveryConfiguration = value
}
/**
* @param value The HTTP configuration for the source location.
*/
@JvmName("abeogomewnfdmqpu")
public suspend fun httpConfiguration(`value`: Output) {
this.httpConfiguration = value
}
/**
* @param value A list of the segment delivery configurations associated with this resource.
*/
@JvmName("mpethkdhfxohaupp")
public suspend fun segmentDeliveryConfigurations(`value`: Output>) {
this.segmentDeliveryConfigurations = value
}
@JvmName("hptlncjieyrcrtqb")
public suspend fun segmentDeliveryConfigurations(vararg values: Output) {
this.segmentDeliveryConfigurations = Output.all(values.asList())
}
/**
* @param values A list of the segment delivery configurations associated with this resource.
*/
@JvmName("loutgdopvibwdnuh")
public suspend fun segmentDeliveryConfigurations(values: List
© 2015 - 2025 Weber Informatics LLC | Privacy Policy