
commonMain.aws.sdk.kotlin.services.rekognition.model.DistributeDatasetEntriesRequest.kt Maven / Gradle / Ivy
// Code generated by smithy-kotlin-codegen. DO NOT EDIT!
package aws.sdk.kotlin.services.rekognition.model
public class DistributeDatasetEntriesRequest private constructor(builder: Builder) {
/**
* The ARNS for the training dataset and test dataset that you want to use. The datasets must belong to the same project. The test dataset must be empty.
*/
public val datasets: List? = builder.datasets
public companion object {
public operator fun invoke(block: Builder.() -> kotlin.Unit): aws.sdk.kotlin.services.rekognition.model.DistributeDatasetEntriesRequest = Builder().apply(block).build()
}
override fun toString(): kotlin.String = buildString {
append("DistributeDatasetEntriesRequest(")
append("datasets=$datasets")
append(")")
}
override fun hashCode(): kotlin.Int {
var result = datasets?.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 DistributeDatasetEntriesRequest
if (datasets != other.datasets) return false
return true
}
public inline fun copy(block: Builder.() -> kotlin.Unit = {}): aws.sdk.kotlin.services.rekognition.model.DistributeDatasetEntriesRequest = Builder(this).apply(block).build()
public class Builder {
/**
* The ARNS for the training dataset and test dataset that you want to use. The datasets must belong to the same project. The test dataset must be empty.
*/
public var datasets: List? = null
@PublishedApi
internal constructor()
@PublishedApi
internal constructor(x: aws.sdk.kotlin.services.rekognition.model.DistributeDatasetEntriesRequest) : this() {
this.datasets = x.datasets
}
@PublishedApi
internal fun build(): aws.sdk.kotlin.services.rekognition.model.DistributeDatasetEntriesRequest = DistributeDatasetEntriesRequest(this)
internal fun correctErrors(): Builder {
return this
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy