
commonMain.aws.sdk.kotlin.services.migrationhub.model.ProgressUpdateStreamSummary.kt Maven / Gradle / Ivy
// Code generated by smithy-kotlin-codegen. DO NOT EDIT!
package aws.sdk.kotlin.services.migrationhub.model
import aws.smithy.kotlin.runtime.SdkDsl
/**
* Summary of the AWS resource used for access control that is implicitly linked to your AWS account.
*/
public class ProgressUpdateStreamSummary private constructor(builder: Builder) {
/**
* The name of the ProgressUpdateStream. *Do not store personal data in this field.*
*/
public val progressUpdateStreamName: kotlin.String? = builder.progressUpdateStreamName
public companion object {
public operator fun invoke(block: Builder.() -> kotlin.Unit): aws.sdk.kotlin.services.migrationhub.model.ProgressUpdateStreamSummary = Builder().apply(block).build()
}
override fun toString(): kotlin.String = buildString {
append("ProgressUpdateStreamSummary(")
append("progressUpdateStreamName=$progressUpdateStreamName")
append(")")
}
override fun hashCode(): kotlin.Int {
var result = progressUpdateStreamName?.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 ProgressUpdateStreamSummary
if (progressUpdateStreamName != other.progressUpdateStreamName) return false
return true
}
public inline fun copy(block: Builder.() -> kotlin.Unit = {}): aws.sdk.kotlin.services.migrationhub.model.ProgressUpdateStreamSummary = Builder(this).apply(block).build()
@SdkDsl
public class Builder {
/**
* The name of the ProgressUpdateStream. *Do not store personal data in this field.*
*/
public var progressUpdateStreamName: kotlin.String? = null
@PublishedApi
internal constructor()
@PublishedApi
internal constructor(x: aws.sdk.kotlin.services.migrationhub.model.ProgressUpdateStreamSummary) : this() {
this.progressUpdateStreamName = x.progressUpdateStreamName
}
@PublishedApi
internal fun build(): aws.sdk.kotlin.services.migrationhub.model.ProgressUpdateStreamSummary = ProgressUpdateStreamSummary(this)
internal fun correctErrors(): Builder {
return this
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy