
commonMain.aws.sdk.kotlin.services.apptest.model.CompareDataSetsSummary.kt Maven / Gradle / Ivy
// Code generated by smithy-kotlin-codegen. DO NOT EDIT!
package aws.sdk.kotlin.services.apptest.model
import aws.smithy.kotlin.runtime.SdkDsl
/**
* Compares data sets summary.
*/
public class CompareDataSetsSummary private constructor(builder: Builder) {
/**
* The step input of the compare data sets summary.
*/
public val stepInput: aws.sdk.kotlin.services.apptest.model.CompareDataSetsStepInput? = builder.stepInput
/**
* The step output of the compare data sets summary.
*/
public val stepOutput: aws.sdk.kotlin.services.apptest.model.CompareDataSetsStepOutput? = builder.stepOutput
public companion object {
public operator fun invoke(block: Builder.() -> kotlin.Unit): aws.sdk.kotlin.services.apptest.model.CompareDataSetsSummary = Builder().apply(block).build()
}
override fun toString(): kotlin.String = buildString {
append("CompareDataSetsSummary(")
append("stepInput=$stepInput,")
append("stepOutput=$stepOutput")
append(")")
}
override fun hashCode(): kotlin.Int {
var result = stepInput?.hashCode() ?: 0
result = 31 * result + (stepOutput?.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 CompareDataSetsSummary
if (stepInput != other.stepInput) return false
if (stepOutput != other.stepOutput) return false
return true
}
public inline fun copy(block: Builder.() -> kotlin.Unit = {}): aws.sdk.kotlin.services.apptest.model.CompareDataSetsSummary = Builder(this).apply(block).build()
@SdkDsl
public class Builder {
/**
* The step input of the compare data sets summary.
*/
public var stepInput: aws.sdk.kotlin.services.apptest.model.CompareDataSetsStepInput? = null
/**
* The step output of the compare data sets summary.
*/
public var stepOutput: aws.sdk.kotlin.services.apptest.model.CompareDataSetsStepOutput? = null
@PublishedApi
internal constructor()
@PublishedApi
internal constructor(x: aws.sdk.kotlin.services.apptest.model.CompareDataSetsSummary) : this() {
this.stepInput = x.stepInput
this.stepOutput = x.stepOutput
}
@PublishedApi
internal fun build(): aws.sdk.kotlin.services.apptest.model.CompareDataSetsSummary = CompareDataSetsSummary(this)
/**
* construct an [aws.sdk.kotlin.services.apptest.model.CompareDataSetsStepInput] inside the given [block]
*/
public fun stepInput(block: aws.sdk.kotlin.services.apptest.model.CompareDataSetsStepInput.Builder.() -> kotlin.Unit) {
this.stepInput = aws.sdk.kotlin.services.apptest.model.CompareDataSetsStepInput.invoke(block)
}
/**
* construct an [aws.sdk.kotlin.services.apptest.model.CompareDataSetsStepOutput] inside the given [block]
*/
public fun stepOutput(block: aws.sdk.kotlin.services.apptest.model.CompareDataSetsStepOutput.Builder.() -> kotlin.Unit) {
this.stepOutput = aws.sdk.kotlin.services.apptest.model.CompareDataSetsStepOutput.invoke(block)
}
internal fun correctErrors(): Builder {
return this
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy