commonMain.aws.sdk.kotlin.services.databrew.model.BatchDeleteRecipeVersionResponse.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of databrew-jvm Show documentation
Show all versions of databrew-jvm Show documentation
The AWS Kotlin client for DataBrew
// Code generated by smithy-kotlin-codegen. DO NOT EDIT!
package aws.sdk.kotlin.services.databrew.model
public class BatchDeleteRecipeVersionResponse private constructor(builder: Builder) {
/**
* Errors, if any, that occurred while attempting to delete the recipe versions.
*/
public val errors: List? = builder.errors
/**
* The name of the recipe that was modified.
*/
public val name: kotlin.String? = builder.name
public companion object {
public operator fun invoke(block: Builder.() -> kotlin.Unit): aws.sdk.kotlin.services.databrew.model.BatchDeleteRecipeVersionResponse = Builder().apply(block).build()
}
override fun toString(): kotlin.String = buildString {
append("BatchDeleteRecipeVersionResponse(")
append("errors=$errors,")
append("name=$name)")
}
override fun hashCode(): kotlin.Int {
var result = errors?.hashCode() ?: 0
result = 31 * result + (name?.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 BatchDeleteRecipeVersionResponse
if (errors != other.errors) return false
if (name != other.name) return false
return true
}
public inline fun copy(block: Builder.() -> kotlin.Unit = {}): aws.sdk.kotlin.services.databrew.model.BatchDeleteRecipeVersionResponse = Builder(this).apply(block).build()
public class Builder {
/**
* Errors, if any, that occurred while attempting to delete the recipe versions.
*/
public var errors: List? = null
/**
* The name of the recipe that was modified.
*/
public var name: kotlin.String? = null
@PublishedApi
internal constructor()
@PublishedApi
internal constructor(x: aws.sdk.kotlin.services.databrew.model.BatchDeleteRecipeVersionResponse) : this() {
this.errors = x.errors
this.name = x.name
}
@PublishedApi
internal fun build(): aws.sdk.kotlin.services.databrew.model.BatchDeleteRecipeVersionResponse = BatchDeleteRecipeVersionResponse(this)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy