
commonMain.aws.sdk.kotlin.services.medialive.model.ArchiveCdnSettings.kt Maven / Gradle / Ivy
// Code generated by smithy-kotlin-codegen. DO NOT EDIT!
package aws.sdk.kotlin.services.medialive.model
/**
* Archive Cdn Settings
*/
public class ArchiveCdnSettings private constructor(builder: Builder) {
/**
* Archive S3 Settings
*/
public val archiveS3Settings: aws.sdk.kotlin.services.medialive.model.ArchiveS3Settings? = builder.archiveS3Settings
public companion object {
public operator fun invoke(block: Builder.() -> kotlin.Unit): aws.sdk.kotlin.services.medialive.model.ArchiveCdnSettings = Builder().apply(block).build()
}
override fun toString(): kotlin.String = buildString {
append("ArchiveCdnSettings(")
append("archiveS3Settings=$archiveS3Settings")
append(")")
}
override fun hashCode(): kotlin.Int {
var result = archiveS3Settings?.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 ArchiveCdnSettings
if (archiveS3Settings != other.archiveS3Settings) return false
return true
}
public inline fun copy(block: Builder.() -> kotlin.Unit = {}): aws.sdk.kotlin.services.medialive.model.ArchiveCdnSettings = Builder(this).apply(block).build()
public class Builder {
/**
* Archive S3 Settings
*/
public var archiveS3Settings: aws.sdk.kotlin.services.medialive.model.ArchiveS3Settings? = null
@PublishedApi
internal constructor()
@PublishedApi
internal constructor(x: aws.sdk.kotlin.services.medialive.model.ArchiveCdnSettings) : this() {
this.archiveS3Settings = x.archiveS3Settings
}
@PublishedApi
internal fun build(): aws.sdk.kotlin.services.medialive.model.ArchiveCdnSettings = ArchiveCdnSettings(this)
/**
* construct an [aws.sdk.kotlin.services.medialive.model.ArchiveS3Settings] inside the given [block]
*/
public fun archiveS3Settings(block: aws.sdk.kotlin.services.medialive.model.ArchiveS3Settings.Builder.() -> kotlin.Unit) {
this.archiveS3Settings = aws.sdk.kotlin.services.medialive.model.ArchiveS3Settings.invoke(block)
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy