
commonMain.aws.sdk.kotlin.services.connect.model.AssociateRoutingProfileQueuesRequest.kt Maven / Gradle / Ivy
// Code generated by smithy-kotlin-codegen. DO NOT EDIT!
package aws.sdk.kotlin.services.connect.model
public class AssociateRoutingProfileQueuesRequest private constructor(builder: Builder) {
/**
* The identifier of the Amazon Connect instance. You can [find the instance ID](https://docs.aws.amazon.com/connect/latest/adminguide/find-instance-arn.html) in the Amazon Resource Name (ARN) of the instance.
*/
public val instanceId: kotlin.String? = requireNotNull(builder.instanceId) { "A non-null value must be provided for instanceId" }
/**
* The queues to associate with this routing profile.
*/
public val queueConfigs: List? = builder.queueConfigs
/**
* The identifier of the routing profile.
*/
public val routingProfileId: kotlin.String? = requireNotNull(builder.routingProfileId) { "A non-null value must be provided for routingProfileId" }
public companion object {
public operator fun invoke(block: Builder.() -> kotlin.Unit): aws.sdk.kotlin.services.connect.model.AssociateRoutingProfileQueuesRequest = Builder().apply(block).build()
}
override fun toString(): kotlin.String = buildString {
append("AssociateRoutingProfileQueuesRequest(")
append("instanceId=$instanceId,")
append("queueConfigs=$queueConfigs,")
append("routingProfileId=$routingProfileId")
append(")")
}
override fun hashCode(): kotlin.Int {
var result = instanceId?.hashCode() ?: 0
result = 31 * result + (queueConfigs?.hashCode() ?: 0)
result = 31 * result + (routingProfileId?.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 AssociateRoutingProfileQueuesRequest
if (instanceId != other.instanceId) return false
if (queueConfigs != other.queueConfigs) return false
if (routingProfileId != other.routingProfileId) return false
return true
}
public inline fun copy(block: Builder.() -> kotlin.Unit = {}): aws.sdk.kotlin.services.connect.model.AssociateRoutingProfileQueuesRequest = Builder(this).apply(block).build()
public class Builder {
/**
* The identifier of the Amazon Connect instance. You can [find the instance ID](https://docs.aws.amazon.com/connect/latest/adminguide/find-instance-arn.html) in the Amazon Resource Name (ARN) of the instance.
*/
public var instanceId: kotlin.String? = null
/**
* The queues to associate with this routing profile.
*/
public var queueConfigs: List? = null
/**
* The identifier of the routing profile.
*/
public var routingProfileId: kotlin.String? = null
@PublishedApi
internal constructor()
@PublishedApi
internal constructor(x: aws.sdk.kotlin.services.connect.model.AssociateRoutingProfileQueuesRequest) : this() {
this.instanceId = x.instanceId
this.queueConfigs = x.queueConfigs
this.routingProfileId = x.routingProfileId
}
@PublishedApi
internal fun build(): aws.sdk.kotlin.services.connect.model.AssociateRoutingProfileQueuesRequest = AssociateRoutingProfileQueuesRequest(this)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy