commonMain.aws.sdk.kotlin.services.mediapackagevod.model.DescribePackagingGroupResponse.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of mediapackagevod-jvm Show documentation
Show all versions of mediapackagevod-jvm Show documentation
The AWS SDK for Kotlin client for MediaPackage Vod
// Code generated by smithy-kotlin-codegen. DO NOT EDIT!
package aws.sdk.kotlin.services.mediapackagevod.model
public class DescribePackagingGroupResponse private constructor(builder: Builder) {
/**
* The approximate asset count of the PackagingGroup.
*/
public val approximateAssetCount: kotlin.Int? = builder.approximateAssetCount
/**
* The ARN of the PackagingGroup.
*/
public val arn: kotlin.String? = builder.arn
/**
* CDN Authorization credentials
*/
public val authorization: aws.sdk.kotlin.services.mediapackagevod.model.Authorization? = builder.authorization
/**
* The time the PackagingGroup was created.
*/
public val createdAt: kotlin.String? = builder.createdAt
/**
* The fully qualified domain name for Assets in the PackagingGroup.
*/
public val domainName: kotlin.String? = builder.domainName
/**
* Configure egress access logging.
*/
public val egressAccessLogs: aws.sdk.kotlin.services.mediapackagevod.model.EgressAccessLogs? = builder.egressAccessLogs
/**
* The ID of the PackagingGroup.
*/
public val id: kotlin.String? = builder.id
/**
* A collection of tags associated with a resource
*/
public val tags: Map? = builder.tags
public companion object {
public operator fun invoke(block: Builder.() -> kotlin.Unit): aws.sdk.kotlin.services.mediapackagevod.model.DescribePackagingGroupResponse = Builder().apply(block).build()
}
override fun toString(): kotlin.String = buildString {
append("DescribePackagingGroupResponse(")
append("approximateAssetCount=$approximateAssetCount,")
append("arn=$arn,")
append("authorization=$authorization,")
append("createdAt=$createdAt,")
append("domainName=$domainName,")
append("egressAccessLogs=$egressAccessLogs,")
append("id=$id,")
append("tags=$tags")
append(")")
}
override fun hashCode(): kotlin.Int {
var result = approximateAssetCount ?: 0
result = 31 * result + (arn?.hashCode() ?: 0)
result = 31 * result + (authorization?.hashCode() ?: 0)
result = 31 * result + (createdAt?.hashCode() ?: 0)
result = 31 * result + (domainName?.hashCode() ?: 0)
result = 31 * result + (egressAccessLogs?.hashCode() ?: 0)
result = 31 * result + (id?.hashCode() ?: 0)
result = 31 * result + (tags?.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 DescribePackagingGroupResponse
if (approximateAssetCount != other.approximateAssetCount) return false
if (arn != other.arn) return false
if (authorization != other.authorization) return false
if (createdAt != other.createdAt) return false
if (domainName != other.domainName) return false
if (egressAccessLogs != other.egressAccessLogs) return false
if (id != other.id) return false
if (tags != other.tags) return false
return true
}
public inline fun copy(block: Builder.() -> kotlin.Unit = {}): aws.sdk.kotlin.services.mediapackagevod.model.DescribePackagingGroupResponse = Builder(this).apply(block).build()
public class Builder {
/**
* The approximate asset count of the PackagingGroup.
*/
public var approximateAssetCount: kotlin.Int? = null
/**
* The ARN of the PackagingGroup.
*/
public var arn: kotlin.String? = null
/**
* CDN Authorization credentials
*/
public var authorization: aws.sdk.kotlin.services.mediapackagevod.model.Authorization? = null
/**
* The time the PackagingGroup was created.
*/
public var createdAt: kotlin.String? = null
/**
* The fully qualified domain name for Assets in the PackagingGroup.
*/
public var domainName: kotlin.String? = null
/**
* Configure egress access logging.
*/
public var egressAccessLogs: aws.sdk.kotlin.services.mediapackagevod.model.EgressAccessLogs? = null
/**
* The ID of the PackagingGroup.
*/
public var id: kotlin.String? = null
/**
* A collection of tags associated with a resource
*/
public var tags: Map? = null
@PublishedApi
internal constructor()
@PublishedApi
internal constructor(x: aws.sdk.kotlin.services.mediapackagevod.model.DescribePackagingGroupResponse) : this() {
this.approximateAssetCount = x.approximateAssetCount
this.arn = x.arn
this.authorization = x.authorization
this.createdAt = x.createdAt
this.domainName = x.domainName
this.egressAccessLogs = x.egressAccessLogs
this.id = x.id
this.tags = x.tags
}
@PublishedApi
internal fun build(): aws.sdk.kotlin.services.mediapackagevod.model.DescribePackagingGroupResponse = DescribePackagingGroupResponse(this)
/**
* construct an [aws.sdk.kotlin.services.mediapackagevod.model.Authorization] inside the given [block]
*/
public fun authorization(block: aws.sdk.kotlin.services.mediapackagevod.model.Authorization.Builder.() -> kotlin.Unit) {
this.authorization = aws.sdk.kotlin.services.mediapackagevod.model.Authorization.invoke(block)
}
/**
* construct an [aws.sdk.kotlin.services.mediapackagevod.model.EgressAccessLogs] inside the given [block]
*/
public fun egressAccessLogs(block: aws.sdk.kotlin.services.mediapackagevod.model.EgressAccessLogs.Builder.() -> kotlin.Unit) {
this.egressAccessLogs = aws.sdk.kotlin.services.mediapackagevod.model.EgressAccessLogs.invoke(block)
}
internal fun correctErrors(): Builder {
return this
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy