
commonMain.aws.sdk.kotlin.services.chimesdkmessaging.model.UpdateChannelFlowRequest.kt Maven / Gradle / Ivy
// Code generated by smithy-kotlin-codegen. DO NOT EDIT!
package aws.sdk.kotlin.services.chimesdkmessaging.model
public class UpdateChannelFlowRequest private constructor(builder: Builder) {
/**
* The ARN of the channel flow.
*/
public val channelFlowArn: kotlin.String? = builder.channelFlowArn
/**
* The name of the channel flow.
*/
public val name: kotlin.String? = builder.name
/**
* Information about the processor Lambda functions
*/
public val processors: List? = builder.processors
public companion object {
public operator fun invoke(block: Builder.() -> kotlin.Unit): aws.sdk.kotlin.services.chimesdkmessaging.model.UpdateChannelFlowRequest = Builder().apply(block).build()
}
override fun toString(): kotlin.String = buildString {
append("UpdateChannelFlowRequest(")
append("channelFlowArn=$channelFlowArn,")
append("name=*** Sensitive Data Redacted ***,")
append("processors=$processors")
append(")")
}
override fun hashCode(): kotlin.Int {
var result = channelFlowArn?.hashCode() ?: 0
result = 31 * result + (name?.hashCode() ?: 0)
result = 31 * result + (processors?.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 UpdateChannelFlowRequest
if (channelFlowArn != other.channelFlowArn) return false
if (name != other.name) return false
if (processors != other.processors) return false
return true
}
public inline fun copy(block: Builder.() -> kotlin.Unit = {}): aws.sdk.kotlin.services.chimesdkmessaging.model.UpdateChannelFlowRequest = Builder(this).apply(block).build()
public class Builder {
/**
* The ARN of the channel flow.
*/
public var channelFlowArn: kotlin.String? = null
/**
* The name of the channel flow.
*/
public var name: kotlin.String? = null
/**
* Information about the processor Lambda functions
*/
public var processors: List? = null
@PublishedApi
internal constructor()
@PublishedApi
internal constructor(x: aws.sdk.kotlin.services.chimesdkmessaging.model.UpdateChannelFlowRequest) : this() {
this.channelFlowArn = x.channelFlowArn
this.name = x.name
this.processors = x.processors
}
@PublishedApi
internal fun build(): aws.sdk.kotlin.services.chimesdkmessaging.model.UpdateChannelFlowRequest = UpdateChannelFlowRequest(this)
internal fun correctErrors(): Builder {
return this
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy