
commonMain.aws.sdk.kotlin.services.comprehend.model.DescribeFlywheelIterationRequest.kt Maven / Gradle / Ivy
// Code generated by smithy-kotlin-codegen. DO NOT EDIT!
package aws.sdk.kotlin.services.comprehend.model
public class DescribeFlywheelIterationRequest private constructor(builder: Builder) {
/**
*
*/
public val flywheelArn: kotlin.String? = builder.flywheelArn
/**
*
*/
public val flywheelIterationId: kotlin.String? = builder.flywheelIterationId
public companion object {
public operator fun invoke(block: Builder.() -> kotlin.Unit): aws.sdk.kotlin.services.comprehend.model.DescribeFlywheelIterationRequest = Builder().apply(block).build()
}
override fun toString(): kotlin.String = buildString {
append("DescribeFlywheelIterationRequest(")
append("flywheelArn=$flywheelArn,")
append("flywheelIterationId=$flywheelIterationId")
append(")")
}
override fun hashCode(): kotlin.Int {
var result = flywheelArn?.hashCode() ?: 0
result = 31 * result + (flywheelIterationId?.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 DescribeFlywheelIterationRequest
if (flywheelArn != other.flywheelArn) return false
if (flywheelIterationId != other.flywheelIterationId) return false
return true
}
public inline fun copy(block: Builder.() -> kotlin.Unit = {}): aws.sdk.kotlin.services.comprehend.model.DescribeFlywheelIterationRequest = Builder(this).apply(block).build()
public class Builder {
/**
*
*/
public var flywheelArn: kotlin.String? = null
/**
*
*/
public var flywheelIterationId: kotlin.String? = null
@PublishedApi
internal constructor()
@PublishedApi
internal constructor(x: aws.sdk.kotlin.services.comprehend.model.DescribeFlywheelIterationRequest) : this() {
this.flywheelArn = x.flywheelArn
this.flywheelIterationId = x.flywheelIterationId
}
@PublishedApi
internal fun build(): aws.sdk.kotlin.services.comprehend.model.DescribeFlywheelIterationRequest = DescribeFlywheelIterationRequest(this)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy