
commonMain.aws.sdk.kotlin.services.mediaconvert.model.OutputGroupSettings.kt Maven / Gradle / Ivy
// Code generated by smithy-kotlin-codegen. DO NOT EDIT!
package aws.sdk.kotlin.services.mediaconvert.model
/**
* Output Group settings, including type
*/
public class OutputGroupSettings private constructor(builder: Builder) {
/**
* Settings related to your CMAF output package. For more information, see https://docs.aws.amazon.com/mediaconvert/latest/ug/outputs-file-ABR.html.
*/
public val cmafGroupSettings: aws.sdk.kotlin.services.mediaconvert.model.CmafGroupSettings? = builder.cmafGroupSettings
/**
* Settings related to your DASH output package. For more information, see https://docs.aws.amazon.com/mediaconvert/latest/ug/outputs-file-ABR.html.
*/
public val dashIsoGroupSettings: aws.sdk.kotlin.services.mediaconvert.model.DashIsoGroupSettings? = builder.dashIsoGroupSettings
/**
* Settings related to your File output group. MediaConvert uses this group of settings to generate a single standalone file, rather than a streaming package.
*/
public val fileGroupSettings: aws.sdk.kotlin.services.mediaconvert.model.FileGroupSettings? = builder.fileGroupSettings
/**
* Settings related to your HLS output package. For more information, see https://docs.aws.amazon.com/mediaconvert/latest/ug/outputs-file-ABR.html.
*/
public val hlsGroupSettings: aws.sdk.kotlin.services.mediaconvert.model.HlsGroupSettings? = builder.hlsGroupSettings
/**
* Settings related to your Microsoft Smooth Streaming output package. For more information, see https://docs.aws.amazon.com/mediaconvert/latest/ug/outputs-file-ABR.html.
*/
public val msSmoothGroupSettings: aws.sdk.kotlin.services.mediaconvert.model.MsSmoothGroupSettings? = builder.msSmoothGroupSettings
/**
* Type of output group (File group, Apple HLS, DASH ISO, Microsoft Smooth Streaming, CMAF)
*/
public val type: aws.sdk.kotlin.services.mediaconvert.model.OutputGroupType? = builder.type
public companion object {
public operator fun invoke(block: Builder.() -> kotlin.Unit): aws.sdk.kotlin.services.mediaconvert.model.OutputGroupSettings = Builder().apply(block).build()
}
override fun toString(): kotlin.String = buildString {
append("OutputGroupSettings(")
append("cmafGroupSettings=$cmafGroupSettings,")
append("dashIsoGroupSettings=$dashIsoGroupSettings,")
append("fileGroupSettings=$fileGroupSettings,")
append("hlsGroupSettings=$hlsGroupSettings,")
append("msSmoothGroupSettings=$msSmoothGroupSettings,")
append("type=$type")
append(")")
}
override fun hashCode(): kotlin.Int {
var result = cmafGroupSettings?.hashCode() ?: 0
result = 31 * result + (dashIsoGroupSettings?.hashCode() ?: 0)
result = 31 * result + (fileGroupSettings?.hashCode() ?: 0)
result = 31 * result + (hlsGroupSettings?.hashCode() ?: 0)
result = 31 * result + (msSmoothGroupSettings?.hashCode() ?: 0)
result = 31 * result + (type?.hashCode() ?: 0)
return result
}
override fun equals(other: kotlin.Any?): kotlin.Boolean {
if (this === other) return true
if (other == null || this::class != other::class) return false
other as OutputGroupSettings
if (cmafGroupSettings != other.cmafGroupSettings) return false
if (dashIsoGroupSettings != other.dashIsoGroupSettings) return false
if (fileGroupSettings != other.fileGroupSettings) return false
if (hlsGroupSettings != other.hlsGroupSettings) return false
if (msSmoothGroupSettings != other.msSmoothGroupSettings) return false
if (type != other.type) return false
return true
}
public inline fun copy(block: Builder.() -> kotlin.Unit = {}): aws.sdk.kotlin.services.mediaconvert.model.OutputGroupSettings = Builder(this).apply(block).build()
public class Builder {
/**
* Settings related to your CMAF output package. For more information, see https://docs.aws.amazon.com/mediaconvert/latest/ug/outputs-file-ABR.html.
*/
public var cmafGroupSettings: aws.sdk.kotlin.services.mediaconvert.model.CmafGroupSettings? = null
/**
* Settings related to your DASH output package. For more information, see https://docs.aws.amazon.com/mediaconvert/latest/ug/outputs-file-ABR.html.
*/
public var dashIsoGroupSettings: aws.sdk.kotlin.services.mediaconvert.model.DashIsoGroupSettings? = null
/**
* Settings related to your File output group. MediaConvert uses this group of settings to generate a single standalone file, rather than a streaming package.
*/
public var fileGroupSettings: aws.sdk.kotlin.services.mediaconvert.model.FileGroupSettings? = null
/**
* Settings related to your HLS output package. For more information, see https://docs.aws.amazon.com/mediaconvert/latest/ug/outputs-file-ABR.html.
*/
public var hlsGroupSettings: aws.sdk.kotlin.services.mediaconvert.model.HlsGroupSettings? = null
/**
* Settings related to your Microsoft Smooth Streaming output package. For more information, see https://docs.aws.amazon.com/mediaconvert/latest/ug/outputs-file-ABR.html.
*/
public var msSmoothGroupSettings: aws.sdk.kotlin.services.mediaconvert.model.MsSmoothGroupSettings? = null
/**
* Type of output group (File group, Apple HLS, DASH ISO, Microsoft Smooth Streaming, CMAF)
*/
public var type: aws.sdk.kotlin.services.mediaconvert.model.OutputGroupType? = null
@PublishedApi
internal constructor()
@PublishedApi
internal constructor(x: aws.sdk.kotlin.services.mediaconvert.model.OutputGroupSettings) : this() {
this.cmafGroupSettings = x.cmafGroupSettings
this.dashIsoGroupSettings = x.dashIsoGroupSettings
this.fileGroupSettings = x.fileGroupSettings
this.hlsGroupSettings = x.hlsGroupSettings
this.msSmoothGroupSettings = x.msSmoothGroupSettings
this.type = x.type
}
@PublishedApi
internal fun build(): aws.sdk.kotlin.services.mediaconvert.model.OutputGroupSettings = OutputGroupSettings(this)
/**
* construct an [aws.sdk.kotlin.services.mediaconvert.model.CmafGroupSettings] inside the given [block]
*/
public fun cmafGroupSettings(block: aws.sdk.kotlin.services.mediaconvert.model.CmafGroupSettings.Builder.() -> kotlin.Unit) {
this.cmafGroupSettings = aws.sdk.kotlin.services.mediaconvert.model.CmafGroupSettings.invoke(block)
}
/**
* construct an [aws.sdk.kotlin.services.mediaconvert.model.DashIsoGroupSettings] inside the given [block]
*/
public fun dashIsoGroupSettings(block: aws.sdk.kotlin.services.mediaconvert.model.DashIsoGroupSettings.Builder.() -> kotlin.Unit) {
this.dashIsoGroupSettings = aws.sdk.kotlin.services.mediaconvert.model.DashIsoGroupSettings.invoke(block)
}
/**
* construct an [aws.sdk.kotlin.services.mediaconvert.model.FileGroupSettings] inside the given [block]
*/
public fun fileGroupSettings(block: aws.sdk.kotlin.services.mediaconvert.model.FileGroupSettings.Builder.() -> kotlin.Unit) {
this.fileGroupSettings = aws.sdk.kotlin.services.mediaconvert.model.FileGroupSettings.invoke(block)
}
/**
* construct an [aws.sdk.kotlin.services.mediaconvert.model.HlsGroupSettings] inside the given [block]
*/
public fun hlsGroupSettings(block: aws.sdk.kotlin.services.mediaconvert.model.HlsGroupSettings.Builder.() -> kotlin.Unit) {
this.hlsGroupSettings = aws.sdk.kotlin.services.mediaconvert.model.HlsGroupSettings.invoke(block)
}
/**
* construct an [aws.sdk.kotlin.services.mediaconvert.model.MsSmoothGroupSettings] inside the given [block]
*/
public fun msSmoothGroupSettings(block: aws.sdk.kotlin.services.mediaconvert.model.MsSmoothGroupSettings.Builder.() -> kotlin.Unit) {
this.msSmoothGroupSettings = aws.sdk.kotlin.services.mediaconvert.model.MsSmoothGroupSettings.invoke(block)
}
internal fun correctErrors(): Builder {
return this
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy