
commonMain.aws.sdk.kotlin.services.mediaconvert.model.GetQueueResponse.kt Maven / Gradle / Ivy
// Code generated by smithy-kotlin-codegen. DO NOT EDIT!
package aws.sdk.kotlin.services.mediaconvert.model
public class GetQueueResponse private constructor(builder: Builder) {
/**
* You can use queues to manage the resources that are available to your AWS account for running multiple transcoding jobs at the same time. If you don't specify a queue, the service sends all jobs through the default queue. For more information, see https://docs.aws.amazon.com/mediaconvert/latest/ug/working-with-queues.html.
*/
public val queue: aws.sdk.kotlin.services.mediaconvert.model.Queue? = builder.queue
public companion object {
public operator fun invoke(block: Builder.() -> kotlin.Unit): aws.sdk.kotlin.services.mediaconvert.model.GetQueueResponse = Builder().apply(block).build()
}
override fun toString(): kotlin.String = buildString {
append("GetQueueResponse(")
append("queue=$queue")
append(")")
}
override fun hashCode(): kotlin.Int {
var result = queue?.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 GetQueueResponse
if (queue != other.queue) return false
return true
}
public inline fun copy(block: Builder.() -> kotlin.Unit = {}): aws.sdk.kotlin.services.mediaconvert.model.GetQueueResponse = Builder(this).apply(block).build()
public class Builder {
/**
* You can use queues to manage the resources that are available to your AWS account for running multiple transcoding jobs at the same time. If you don't specify a queue, the service sends all jobs through the default queue. For more information, see https://docs.aws.amazon.com/mediaconvert/latest/ug/working-with-queues.html.
*/
public var queue: aws.sdk.kotlin.services.mediaconvert.model.Queue? = null
@PublishedApi
internal constructor()
@PublishedApi
internal constructor(x: aws.sdk.kotlin.services.mediaconvert.model.GetQueueResponse) : this() {
this.queue = x.queue
}
@PublishedApi
internal fun build(): aws.sdk.kotlin.services.mediaconvert.model.GetQueueResponse = GetQueueResponse(this)
/**
* construct an [aws.sdk.kotlin.services.mediaconvert.model.Queue] inside the given [block]
*/
public fun queue(block: aws.sdk.kotlin.services.mediaconvert.model.Queue.Builder.() -> kotlin.Unit) {
this.queue = aws.sdk.kotlin.services.mediaconvert.model.Queue.invoke(block)
}
internal fun correctErrors(): Builder {
return this
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy