
com.pulumi.awsnative.mediatailor.kotlin.inputs.SourceLocationSegmentDeliveryConfigurationArgs.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.awsnative.mediatailor.kotlin.inputs
import com.pulumi.awsnative.mediatailor.inputs.SourceLocationSegmentDeliveryConfigurationArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.String
import kotlin.Suppress
import kotlin.jvm.JvmName
/**
* The segment delivery configuration settings.
* @property baseUrl The base URL of the host or path of the segment delivery server that you're using to serve segments. This is typically a content delivery network (CDN). The URL can be absolute or relative. To use an absolute URL include the protocol, such as https://example.com/some/path
. To use a relative URL specify the relative path, such as /some/path*
.
* @property name A unique identifier used to distinguish between multiple segment delivery configurations in a source location.
*/
public data class SourceLocationSegmentDeliveryConfigurationArgs(
public val baseUrl: Output? = null,
public val name: Output? = null,
) :
ConvertibleToJava {
override fun toJava(): com.pulumi.awsnative.mediatailor.inputs.SourceLocationSegmentDeliveryConfigurationArgs =
com.pulumi.awsnative.mediatailor.inputs.SourceLocationSegmentDeliveryConfigurationArgs.builder()
.baseUrl(baseUrl?.applyValue({ args0 -> args0 }))
.name(name?.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [SourceLocationSegmentDeliveryConfigurationArgs].
*/
@PulumiTagMarker
public class SourceLocationSegmentDeliveryConfigurationArgsBuilder internal constructor() {
private var baseUrl: Output? = null
private var name: Output? = null
/**
* @param value The base URL of the host or path of the segment delivery server that you're using to serve segments. This is typically a content delivery network (CDN). The URL can be absolute or relative. To use an absolute URL include the protocol, such as https://example.com/some/path
. To use a relative URL specify the relative path, such as /some/path*
.
*/
@JvmName("ijskxaselrakprkg")
public suspend fun baseUrl(`value`: Output) {
this.baseUrl = value
}
/**
* @param value A unique identifier used to distinguish between multiple segment delivery configurations in a source location.
*/
@JvmName("aojtgajemehmvqjk")
public suspend fun name(`value`: Output) {
this.name = value
}
/**
* @param value The base URL of the host or path of the segment delivery server that you're using to serve segments. This is typically a content delivery network (CDN). The URL can be absolute or relative. To use an absolute URL include the protocol, such as https://example.com/some/path
. To use a relative URL specify the relative path, such as /some/path*
.
*/
@JvmName("vukrxmuxuvcipvvs")
public suspend fun baseUrl(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.baseUrl = mapped
}
/**
* @param value A unique identifier used to distinguish between multiple segment delivery configurations in a source location.
*/
@JvmName("bfuxpoyqtdwwrwpg")
public suspend fun name(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.name = mapped
}
internal fun build(): SourceLocationSegmentDeliveryConfigurationArgs =
SourceLocationSegmentDeliveryConfigurationArgs(
baseUrl = baseUrl,
name = name,
)
}