
commonMain.aws.sdk.kotlin.services.chimesdkmessaging.model.ChannelFlow.kt Maven / Gradle / Ivy
// Code generated by smithy-kotlin-codegen. DO NOT EDIT!
package aws.sdk.kotlin.services.chimesdkmessaging.model
import aws.smithy.kotlin.runtime.time.Instant
/**
* The details of a channel flow.
*/
public class ChannelFlow private constructor(builder: Builder) {
/**
* The ARN of the channel flow.
*/
public val channelFlowArn: kotlin.String? = builder.channelFlowArn
/**
* The time at which the channel flow was created.
*/
public val createdTimestamp: aws.smithy.kotlin.runtime.time.Instant? = builder.createdTimestamp
/**
* The time at which a channel flow was updated.
*/
public val lastUpdatedTimestamp: aws.smithy.kotlin.runtime.time.Instant? = builder.lastUpdatedTimestamp
/**
* 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.ChannelFlow = Builder().apply(block).build()
}
override fun toString(): kotlin.String = buildString {
append("ChannelFlow(")
append("channelFlowArn=$channelFlowArn,")
append("createdTimestamp=$createdTimestamp,")
append("lastUpdatedTimestamp=$lastUpdatedTimestamp,")
append("name=*** Sensitive Data Redacted ***,")
append("processors=$processors")
append(")")
}
override fun hashCode(): kotlin.Int {
var result = channelFlowArn?.hashCode() ?: 0
result = 31 * result + (createdTimestamp?.hashCode() ?: 0)
result = 31 * result + (lastUpdatedTimestamp?.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 ChannelFlow
if (channelFlowArn != other.channelFlowArn) return false
if (createdTimestamp != other.createdTimestamp) return false
if (lastUpdatedTimestamp != other.lastUpdatedTimestamp) 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.ChannelFlow = Builder(this).apply(block).build()
public class Builder {
/**
* The ARN of the channel flow.
*/
public var channelFlowArn: kotlin.String? = null
/**
* The time at which the channel flow was created.
*/
public var createdTimestamp: aws.smithy.kotlin.runtime.time.Instant? = null
/**
* The time at which a channel flow was updated.
*/
public var lastUpdatedTimestamp: aws.smithy.kotlin.runtime.time.Instant? = 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.ChannelFlow) : this() {
this.channelFlowArn = x.channelFlowArn
this.createdTimestamp = x.createdTimestamp
this.lastUpdatedTimestamp = x.lastUpdatedTimestamp
this.name = x.name
this.processors = x.processors
}
@PublishedApi
internal fun build(): aws.sdk.kotlin.services.chimesdkmessaging.model.ChannelFlow = ChannelFlow(this)
internal fun correctErrors(): Builder {
return this
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy